Last updated Jul 16, 2025

Work item

The Work item object type represents a work item object. atlassian:work-item should be used to ingest work item-specific fields.

Payload structure

1
2
  objects {}
  ├─ schemaVersion (string) [Required]
  ├─ id (string) [Required]
  ├─ updateSequenceNumber (long) [Required]
  ├─ displayName (string) [Required]
  ├─ description (string) [Optional]
  ├─ url (string) [Required]
  ├─ createdAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ createdBy [] [Optional]
      ├─ accountId (string)
      └─ ari (string)
  └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ lastUpdatedBy [] [Required]
      ├─accountId (string)
      └─ ari
  └─ permissions 
      └─ accessControls
         └─ principals
            └─type
  └─ associations [] [Optional]
      ├─ associationType (string)
      └─ values []
      
  atlassian:work-item
  ├─ dueDate (string) [Optional]
  ├─ assignee [] [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      ├─ externalId (string) [Optional]
      ├─ ari (string) [Optional]
      ├─ name (string) [Optional]
      ├─ userName (string) [Optional]
      ├─ avatar (string) [Optional]
      └─ url (string) [Optional]
  ├─ workItemProject (WorkItemProject) [Optional]
      ├─ id (string) [Required]
      ├─ name (string) [Required]
  ├─ collaborators (List<UserReference>) [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      ├─ externalId (string) [Optional]
      ├─ ari (string) [Optional]
      ├─ name (string) [Optional]
      ├─ userName (string) [Optional]
      ├─ avatar (string) [Optional]
      └─ url (string) [Optional]
  ├─ exceedsMaxCollaborators (boolean) [Optional]
  ├─ status (string) [Optional]
  ├─ subtype (string) [Optional]
  ├─ attachments (List<Attachment>) [Optional]
      ├─ url (string) [Required]
      ├─ thumbnailUrl (string) [Optional]
      ├─ title (string) [Required]
      ├─ mimeType (string) [Optional]
      └─ byteSize (integer) [Optional]
  └─ team (string) [Optional]

Common properties

PropertyTypeRequiredDescription
schemaVersion

string

YesThe schema version of the object.
id

string

YesThe ID of the object in the source system.
updateSequenceNumberlongYesA 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.
displayNamestringYesThe display name of the object.
descriptionstringNoThe description of the object.
urlstringYesThe URL from the provider which the object is accessible from.
createdAtstringYes

The date the object was created.

Format: Instant (ISO8601 / RFC3339)

createdByuserNo

The user that created the object.

See User to learn more.

lastUpdatedAtstringYes

The date the object was last updated.

Format: Instant (ISO8601 / RFC3339)

lastUpdatedByuserNo

The user that last updated the object.

See User to learn more.

ownerslist<User>NoList of users that own the object.
thumbnailthumbnailNo

The thumbnail of the object.

See Thumbnail to learn more.

parentKeyentityKeyNo

The ID of the parent object. If null, it is a standalone object.

See Entity key to learn more.

containerKeyentityKeyNo

The container identifier that this object belongs to.

See Entity key to learn more.

permissionslist<Permissions>Yes

The permissions configuration of the object.

See Permissions to learn more.

associationsassociationNo

List of objects associated with the object. Generally used to link an external object to a Atlassian object.

See Association to learn more.

Work item properties

PropertyTypeRequiredDescription
dueDatestringNo

The due date for the work item.

Format: Instant (ISO8601 / RFC3339)

assigneeUserReferenceNo

The person assigned to work on this item.

workItemProjectWorkItemProjectNo

The project associated with this work item.

workItemProject.idstringYes

The unique identifier of the project.

workItemProject.namestringYes

The name of the project.

collaboratorsList<UserReference>No

List of collaborators working on this item.

collaborators.accountIdstringNo

The account ID of the collaborator.

collaborators.emailstringNo

The email address of the collaborator.

collaborators.externalIdstringNo

The external ID of the collaborator.

collaborators.aristringNo

The Atlassian Resource Identifier (ARI) of the collaborator.

collaborators.namestringNo

The name of the collaborator.

collaborators.userNamestringNo

The username of the collaborator.

collaborators.avatarstringNo

The avatar URL of the collaborator.

collaborators.urlstringNo

The URL of the collaborator.

exceedsMaxCollaboratorsbooleanNo

Whether the number of collaborators exceeds the maximum limit.

statusstringNo

The current status of the work item.

subtypestringNo

The subtype of the work item.

Allowed values:

  • task
  • default_task
  • work_item
  • epic
  • bug
  • story
  • milestone
  • section
  • approval
  • problem
  • question
  • incident
  • issue
  • other
attachmentsList<Attachment>No

List of attachments for the work item.

attachments.urlstringYes

The URL to access the attached file.

attachments.thumbnailUrlstringNo

The URL for the thumbnail of the attachment.

attachments.titlestringYes

The title or name of the attachment.

attachments.mimeTypestringNo

The MIME type of the attachment.

attachments.byteSizeintegerNo

The size of the attachment in bytes.

teamstringNo

The team associated with the work item.

Example payload

1
2
{
  "objects" : [ {
    "id" : "work-item-1",
    "updateSequenceNumber" : 1,
    "description" : "Fix login issue",
    "url" : "https://work-item.example.com/item/1",
    "displayName" : "Work Item Name",
    "createdAt" : "2024-04-16T09:31:32+00:00",
    "createdBy" : {
      "email" : "e-mail@user1.com",
      "externalId" : "external-id-1",
      "name" : "John Smith",
      "avatar" : "https://work-item.example.com/avatar/31"
    },
    "lastUpdatedAt" : "2024-04-16T09:31:32+00:00",
    "lastUpdatedBy" : {
      "email" : "e-mail@user1.com",
      "externalId" : "external-id-1",
      "name" : "John Smith",
      "avatar" : "https://work-item.example.com/avatar/31"
    },
    "permissions" : [ {
      "action" : "read",
      "accessControls" : [ {
        "principals" : [ {
          "type" : "EVERYONE"
        } ]
      } ]
    } ],
    "containerKey" : {
      "type" : "atlassian:space",
      "value" : {
        "entityId" : "CFG3W7TKJ"
      }
    },
    "atlassian:work-item" : {
      "dueDate" : "2024-05-01T12:00:00+00:00",
      "assignee" : {
        "email" : "e-mail@user1.com",
        "externalId" : "external-id-1",
        "name" : "John Smith",
        "avatar" : "https://work-item.example.com/avatar/31"
      },
      "project" : {
        "id" : "project-1",
        "name" : "Project A"
      },
      "collaborators" : [ {
        "email" : "e-mail@user1.com",
        "externalId" : "external-id-1",
        "name" : "John Smith",
        "avatar" : "https://work-item.example.com/avatar/31"
      } ],
      "exceedsMaxCollaborators" : false,
      "status" : "In Progress",
      "subtype" : "work_item",
      "attachments" : [ {
        "url" : "https://example.com/files/attachment1.png",
        "mimeType" : "image/png",
        "byteSize" : 204800
      } ],
      "team" : "Engineering Team"
    }
  } ],
  "operationType" : "NORMAL"
}

Rate this page: