The Work Item object type represents a task, issue, or any other work entity typically associated with project management or task tracking. atlassian:work-item should be used to ingest work item-specific fields.
Additional required fields for Work-Item:
displayName - Requireddescription - RequiredOther overrides:
containerKey - When provided, must be type atlassian:space1 2objects {} ├─ schemaVersion (string) [Required] ├─ id (string) [Required] ├─ updateSequenceNumber (long) [Required] ├─ displayName (string) [Required] ├─ description (string) [Required] ├─ url (string) [Required] ├─ createdAt (Instant (ISO8601 / RFC3339)) [Required] └─ createdBy (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required] └─ lastUpdatedBy (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ owners (List<userReference>) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] └─ thumbnail [Optional] └─ externalUrl (string) └─ parentKey (EntityKey) [Optional] ├─ type (string) [Required] └─ value (jsonNode) [Required] └─ containerKey (EntityKey) [Optional] ├─ type (string) [Required] └─ value (jsonNode) [Required] └─ permissions [] [Required] └─ accessControls └─ principals └─ type └─ associations [] [Optional] ├─ associationType (string) └─ values [] atlassian:work-item ├─ dueDate (string) [Optional] ├─ assignee (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] ├─ workItemProject (WorkItemProject) [Optional] ├─ id (string) [Required] └─ name (string) [Required] ├─ collaborators (List<userReference>) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Required] ├─ exceedsMaxCollaborators (boolean) [Optional] ├─ status (string) [Required] ├─ subtype (string) [Required] ├─ attachments (List<Attachment>) [Optional] ├─ url (string) [Optional] ├─ thumbnailUrl (string) [Optional] ├─ title (string) [Optional] ├─ mimeType (string) [Optional] ├─ byteSize (integer) [Optional] └─ fileType (string) [Optional] └─ team (string) [Optional]
| Property | Type | Required | Description |
|---|---|---|---|
schemaVersion |
| Yes | The schema version of the object. |
id |
| Yes | The ID of the object in the source system. |
updateSequenceNumber | long | Yes | A sequence number to compare when writing to the database. Objects are written following
a last write wins strategy, therefore an object with a greater UpdateSequenceNumber
is considered a more recently updated object. |
displayName | string | Yes | The display name of the object. |
description | string | Yes | The description of the object. |
url | string | Yes | The URL from the provider which the object is accessible from. |
createdAt | string | Yes |
The date the object was created. Format: Instant (ISO8601 / RFC3339) |
createdBy | userReference | No |
A reference to the user that created the object. See userReference to learn more. |
lastUpdatedAt | string | Yes |
The date the object was last updated. Format: Instant (ISO8601 / RFC3339) |
lastUpdatedBy | userReference | No |
A reference to the user that last updated the object. See userReference to learn more. |
owners | list<userReference> | No | List of references of users that own the object. |
thumbnail | thumbnail | No |
The thumbnail of the object. See Thumbnail to learn more. |
parentKey | entityKey | No |
The ID of the parent object. If null, it is a standalone object. See Entity key to learn more. |
permissions | list<Permissions> | Yes |
The permissions configuration of the object. See Permissions to learn more. |
associations | association | No |
List of objects associated with the object. Generally used to link an external object to a Atlassian object. See Association to learn more. |
| Property | Type | Required | Description |
|---|---|---|---|
dueDate | string | No |
The due date of the work item. Format: Instant (ISO8601 / RFC3339) |
assignee | userReference | No |
The assignee of the work item. See userReference. |
workItemProject | WorkItemProject | No | The project associated with the work item. |
workItemProject.id | string | Yes | The unique identifier for the project. |
workItemProject.name | string | Yes | The name of the project. |
collaborators | List<userReference> | No |
The collaborators who have commented on or edited the work item. See userReference. |
exceedsMaxCollaborators | boolean | No | Whether the collaborators list exceeds the allowed amount. |
status | string | Yes | The status of the work item. |
subtype | string | Yes |
The subtype of the work item. Allowed values: |
attachments | List<Attachment> | No | The attachments of the work item. |
attachments.url | string | No |
The attachment URL. Format: Valid URL |
attachments.thumbnailUrl | string | No |
The attachment thumbnail URL. Format: Valid URL |
attachments.title | string | No |
The attachment title. Validation: max-length: 255 |
attachments.mimeType | string | No |
The attachment file MIME type. Format: Valid MIME Type |
attachments.byteSize | integer | No |
The attachment file size in bytes. Format: int64 |
attachments.fileType | string | No |
The attachment file type. Allowed values: |
team | string | No | The team name assigned to the work item. |
1 2{ "objects" : [ { "schemaVersion" : "2.0", "id" : "work-item-1", "updateSequenceNumber" : 1, "displayName" : "Work Item Name", "description" : "Fix login issue", "url" : "https://work-item.example.com/item/1", "createdAt" : "2024-04-16T09:31:32+00:00", "createdBy" : { "externalId" : "external-id-1", "email" : "user1@example.com" }, "lastUpdatedAt" : "2024-04-16T09:31:32+00:00", "lastUpdatedBy" : { "externalId" : "external-id-1", "email" : "user1@example.com" }, "permissions" : [ { "accessControls" : [ { "principals" : [ { "type" : "ATLASSIAN_WORKSPACE" } ] } ] } ], "atlassian:work-item" : { "dueDate" : "2024-05-01T12:00:00+00:00", "assignee" : { "externalId" : "external-id-1", "email" : "user1@example.com" }, "workItemProject" : { "id" : "project-1", "name" : "Project A" }, "collaborators" : [ { "externalId" : "external-id-1", "email" : "user1@example.com" } ], "exceedsMaxCollaborators" : false, "status" : "In Progress", "subtype" : "work_item", "attachments" : [ { "url" : "https://example.com/files/attachment1.png", "mimeType" : "image/png", "byteSize" : 204800, "fileType" : "image" } ], "team" : "Engineering Team" } } ] }
Rate this page: