# IssueWorkItem

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](resource-api-workItems.html)

* [Work Items in an Issue](resource-api-issues-issueID-timeTracking-workItems.html)

Extends [BaseWorkItem](api-entity-BaseWorkItem.html)

## Attributes

This table describes attributes of the `IssueWorkItem` entity.

* To receive an attribute in the response from the server, specify it explicitly in the `fields` request parameter.

* To update an attribute, provide it in the body of a POST request.

|  Field  |  Type  |  Description  |
| --- | --- | --- |
|  id  |  String  |  The ID of the issue work item. `Read-only`.  |
|  author  |  [User](api-entity-User.html)  |  The user to whom the work is attributed in the work item. `Can be null`.  |
|  creator  |  [User](api-entity-User.html)  |  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](api-entity-WorkItemType.html)  |  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](api-entity-DurationValue.html)  |  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](api-entity-Issue.html)  |  Stores attributes of the issue to which the work item is attached. `Read-only`.  |
|  attributes  |  [Array of WorkItemAttributes](api-entity-WorkItemAttribute.html)  |  The list of attributes of the work item. `Read-only`.  |

