YouTrack Standalone 7.0 Help

Delete Existing Work Item

DELETE /rest/issue/{issue}/timetracking/workitem/{workitemID}

Delete existing work item from specific issue.

DELETE /rest/issue/{issue}/timetracking/workitem/{workitemID}

Parameters:

NameTypeDescription
issueissue idIssue id to attach files to
workitemIDstringUnique ID of the existing workitem to edit.

Sample

Request

DELETE http://localhost:8081/rest/issue/HBR-63/timetracking/workitem/101-2 Cookie: $Version=0; JSESSIONID=i3p6eke3gf1o1s3zqdlz31ozf; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Vary: Accept-Encoding Content-Type: application/xml; charset=UTF-8 Cache-Control: no-cache, no-store, no-transform, must-revalidate Content-Length: 0 Server: Jetty(8.1.7.v20120910)
Last modified: 2 February 2017