YouTrack Standalone 2017.1 Help

Edit Existing Work Item

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

Edit existing work item for a particular issue.

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


Name Type Description
issue issue id Issue id for which you'd like to edit a work item.
workitemID string Unique ID of the existing work item to edit.

In the request code you can edit provide the following parameters of a work item (within <workItem> tag):

  1. <date> — date and time of the new work item in Unix Epoch time format
  2. <duration> — duration of the new work item, in minutes
  3. <description> — activity description



PUT http://localhost:8081/rest/issue/HBR-63/timetracking/workitem/101-1 Cookie: $Version=0; JSESSIONID=i3p6eke3gf1o1s3zqdlz31ozf; $Path=/;; $Path=/ <workItem> <date>1353316956611</date> <duration>230</duration> <description>first work item edited</description> </workItem>


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: 18 April 2017