YouTrack Server
 
2019.2
Get YouTrack Standalone
You are viewing the documentation for an earlier version of YouTrack Server. View this page in the current documentation

Create New Work Item

Last modified: 17 December 2019

POST /rest/issue/{issue}/timetracking/workitem

Create a new work item for a particular issue.

Parameters:

In the request code, provide the following parameters for a new work item (a work item is designated with <workItem> tag):

  1. <date> — date of the new work item in Unix Epoch time format

  2. <duration> — duration of the new work item, in minutes

  3. <description> — activity description

  4. <worktype> — work item type

The time part of the <date> parameter is replaced with the timestamp for midnight in the time zone of the current user.

For a sample code please see below.

Sample

Request

Response