JetBrains Space Help

Time Tracking

Create item

post /api/http/time-tracking/items

Create work item.

Required permissions: Update issues, Manage own spent time, Manage any spent time

Request arguments

object with fields:

  • subject: TimeTrackingSubjectIdentifier ( Required )

  • userId: ProfileIdentifier ( Required )

  • date: string (format: full-date) ( Required )

  • duration: integer (format: int32) ( Required )

    Work item duration in minutes, should be greater than 0

  • description: string ( Nullable and Optional , defaults to null)

Get all items

get /api/http/time-tracking/items

Get items for subject

Required permissions: View spent time

Request arguments

subject: string in one of the formats

(Query) ( Required )

$skip: string (Query) ( Nullable and Optional , defaults to null)

$top: integer (format: int32) (Query) ( Nullable and Optional , defaults to 100)

Response

object with fields:

  • next: string ( Required )

  • totalCount: integer (format: int32) ( Nullable and Optional , defaults to null)

  • data: array of TimeTrackingItem ( Required )

Update item

patch /api/http/time-tracking/items/{itemId}

Update a single work item.

Required permissions: Manage own spent time, Manage any spent time

Request arguments

itemId: string (Path) ( Required )

object with fields:

  • userId: ProfileIdentifier ( Nullable and Optional , defaults to null)

  • date: string (format: full-date) ( Nullable and Optional , defaults to null)

  • duration: integer (format: int32) ( Nullable and Optional , defaults to null)

    Work item duration in minutes

  • description: string ( Nullable and Optional , defaults to null)

Response

No arguments

Delete item

delete /api/http/time-tracking/items/{itemId}

Delete single work item

Required permissions: Manage own spent time, Manage any spent time

Request arguments

itemId: string (Path) ( Required )

Response

No arguments

Last modified: 06 September 2023