---
schema: rendered-html/v1
title: "Operations with Specific IssueWorkItem | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html
generated_at: 2026-06-11T15:07:06.447067+00:00
---

Feedback

Thanks for your feedback!

Was this page helpful?

YesNo

Developer Portal for YouTrack and Hub

- Developer Portal
- Apps
- MCP Tools
- YouTrack Workflows
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Get Started with REST API
- REST API Reference
- Entities
- Resources
- Activity Items
- Issue Activities Page
- Build Bundles
- Enum Bundles
- Owned Bundles
- State Bundles
- User Bundles
- Version Bundles
- Custom Fields
- Field Types
- Backup Files
- Database Backup Settings
- Global Settings
- Organizations
- Projects
- Telemetry data
- Global Time Tracking Settings
- Agiles
- Articles
- Assigned Roles
- Commands
- Command Suggestions
- User Groups
- Issue Link Types
- Issue Tag
- Issues
- Operations with Specific Issue
- Sub-resources
- Issue Activity Items
- Activity Cursor Page
- Issue Attachments
- Issue Comments
- Issue Custom Fields
- Issue Links
- Issue Project
- Issue Sprints
- Tags
- Issue Time Tracking
- [Operations with Specific IssueTimeTracking](jetbrains__com__help__youtrack__devportal__operations-api-issues-issueid-timetracking.md)
- Sub-resources
- Issue Work Items
- [Operations with Specific IssueWorkItem](operations-api-issues-issueID-timeTracking-workItems.html)
- Issue VCS Changes and Pull Requests
- Issue Count
- Permissions
- Roles
- Saved Queries
- Search Suggestions
- Tags
- Users
- My User Profile
- Issue Work Items
- REST API Use Cases
- REST API Troubleshooting
- Color Indices List
- Hub REST API

1. YouTrack REST API
2. REST API Reference
3. Resources
4. Issues
5. [Sub-resources](#0)
6. Issue Time Tracking
7. [Sub-resources](#0)
8. Issue Work Items
9. [Operations with Specific IssueWorkItem](#0)

# Operations with Specific IssueWorkItem﻿

Last modified: 23 May 2025

This resource lets you work with work items in the specific issue.

| Resource | ``` /api/issues/{issueID}/timeTracking/workItems/{itemID} ``` |
| --- | --- |
| Returned entity | IssueWorkItem. For the description of the entity attributes, see [Supported Fields](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#IssueWorkItem-supported-fields) section. |
| Supported methods | - `GET`: [Read a Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#get-IssueWorkItem-method). - `POST`: [Update a Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#update-IssueWorkItem-method). - `DELETE`: [Delete a Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#delete-IssueWorkItem-method). |

## IssueWorkItem attributes﻿

Represents a work item in an issue.

### Related Resources﻿

Below you can find the list of resources that let you work with this entity.

- Work Items
- Work Items in an Issue

Extends BaseWorkItem

### Attributes﻿

This table describes attributes of the `IssueWorkItem` entity.


| --- | --- | --- |
| id | String | The ID of the issue work item. `Read-only`. |
| author | User | The user to whom the work is attributed in the work item. `Can be null`. |
| creator | User | The user who added the work item to the issue. `Read-only`. `Can be null`. |
| text | String | The work item description. `Can be null`. |
| textPreview | String | Parsed preview of the description. `Read-only`. |
| type | WorkItemType | The work item type. `Can be null`. |
| created | Long | The timestamp in milliseconds indicating the moment when the work item was created. Stored as a unix timestamp at UTC. |
| updated | Long | The timestamp in milliseconds indicating the last update of the work item. Stored as a unix timestamp at UTC. `Can be null`. |
| duration | DurationValue | The duration of the work item. |
| date | Long | The timestamp in milliseconds indicating the date and time of the work item. Stored as a Unix timestamp in UTC. The time part is set to midnight for the current date. |
| issue | Issue | Stores attributes of the issue to which the work item is attached. `Read-only`. |
| attributes | Array of WorkItemAttributes | The list of attributes of the work item. `Read-only`. |

## Read a Specific IssueWorkItem﻿

Get the specific work item of the issue.

### Required permissions﻿

Requires access to the issue work item is added to and Read Work Item permission.

### Request syntax﻿

GET /api/issues/{issueID}/timeTracking/workItems/{itemID}?{fields}

| {itemID} | Database ID of the work item. |
| --- | --- |

### Request parameters﻿

| Parameter | Type | Description |
| --- | --- | --- |
| fields | String | A list of IssueWorkItem attributes that should be returned in the response. If no field is specified, only the `entityID` is returned. |

### Sample﻿

#### Sample request﻿

https://example.youtrack.cloud/api/issues/2-35/timeTracking/workItems/115-7?fields=author(id,name),creator(id,name),date,duration(id,minutes,presentation),id,name,type(id,name)

#### Sample response body﻿

{
  "date": 1538956800000,
  "duration": {
    "id": "120",
    "minutes": 120,
    "presentation": "2h",
    "$type": "DurationValue"
  },
  "type": {
    "name": "Testing",
    "id": "65-1",
    "$type": "WorkItemType"
  },
  "creator": {
    "name": "John Doe",
    "id": "1-2",
    "$type": "User"
  },
  "author": {
    "name": "Jane Doe",
    "id": "1-3",
    "$type": "User"
  },
  "id": "115-7",
  "$type": "IssueWorkItem"
}

## Update a Specific IssueWorkItem﻿

Update the specific work item of the issue.

### Required permissions﻿

Requires Update Work Item permission if work item was created by the user and Update Not Own Work Item otherwise.

### Request syntax﻿

POST /api/issues/{issueID}/timeTracking/workItems/{itemID}?{fields}&{muteUpdateNotifications}

| {itemID} | Database ID of the work item. |
| --- | --- |

### Request parameters﻿

| Parameter | Type | Description |
| --- | --- | --- |
| fields | String | A list of IssueWorkItem attributes that should be returned in the response. If no field is specified, only the `entityID` is returned. |
| muteUpdateNotifications | Boolean | Set this parameter to `true` if no notifications should be sent on changes made by this request. This doesn't mute notifications sent by any workflow rules. Using this parameter requires Apply Commands Silently permission in all projects affected by the request. Available since 2021.3. |

### Sample﻿

#### Sample request﻿

https://example.youtrack.cloud/api/issues/2-35/timeTracking/workItems/124-222?fields=author(id,name),creator(id,name),date,duration(id,minutes,presentation),id,name,text,type(id,name)

#### Sample request body﻿

{
  "duration": {
    "minutes": 150
  },
  "type": {
    "id": "65-2"
  }
}

#### Sample response body﻿

{
  "duration": {
    "presentation": "2h 30m",
    "minutes": 150,
    "id": "150",
    "$type": "DurationValue"
  },
  "date": 1538956800000,
  "type": {
    "name": "Testing",
    "id": "65-2",
    "$type": "WorkItemType"
  },
  "text": "I keep on testing *samples*.",
  "author": {
    "name": "Minnie Terry",
    "id": "24-0",
    "$type": "User"
  },
  "creator": {
    "name": "Minnie Terry",
    "id": "24-0",
    "$type": "User"
  },
  "id": "124-222",
  "$type": "IssueWorkItem"
}

## Delete a Specific IssueWorkItem﻿

Delete the specific work item in the issue.

### Required permissions﻿

Requires Update Work Item permission if work item was created by the user and Update Not Own Work Item otherwise.

### Request syntax﻿

DELETE /api/issues/{issueID}/timeTracking/workItems/{itemID}

| {itemID} | Database ID of the work item. |
| --- | --- |

### Request parameters﻿

| Parameter | Type | Description |
| --- | --- | --- |
| fields | String | A list of IssueWorkItem attributes that should be returned in the response. If no field is specified, only the `entityID` is returned. |

### Sample﻿

#### Sample request﻿

https://example.youtrack.cloud/api/issues/2-35/timeTracking/workItems/115-7

- [Operations with Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html)
- [IssueWorkItem attributes](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#IssueWorkItem-supported-fields)
- [Read a Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#get-IssueWorkItem-method)
- [Update a Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#update-IssueWorkItem-method)
- [Delete a Specific IssueWorkItem](/help/youtrack/devportal/operations-api-issues-issueID-timeTracking-workItems.html#delete-IssueWorkItem-method)

Issue Work ItemsIssue VCS Changes and Pull Requests

- Privacy & Security
- Terms Of Use
- Trademarks
- Legal

Copyright © 2000–2026 JetBrains s.r.o.
