JetBrains / JetBrains/YouTrackSharp
Create WorkItem with Author
- Dominant language
- C#
- Stars
- 143
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
When I try to create WorkItem with Author field I get an exception
> Response status code does not indicate success: 403 (Forbidden).
I think it is because method CreateWorkItemForIssue in YouTrackSharp.TimeTracking.TimeTrackingService call
> rest/issue/{issueId}/timetracking/workitem
And in documentation api youtrack I see for this call that is has no author
> https://www.jetbrains.com/help/youtrack/standalone/Create-New-Work-Item.html
I think it must be a call with author, described in
> https://www.jetbrains.com/help/youtrack/standalone/Import-Workitems.html
but I can't find it in YouTrackSharp
Contributor guide
Research direction
Inspect CreateWorkItemForIssue in YouTrackSharp.TimeTracking.TimeTrackingService and compare its rest/issue/{issueId}/timetracking/workitem request with the YouTrack work-item import API documentation linked in the issue. Determine how an author is represented and verify that creating a WorkItem with an author no longer produces the reported 403 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100