Last updated Jul 16, 2025

Space

The Space object type represents a workspace or space object. atlassian:space should be used to ingest space-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:space
  ├─ key (string) [Required]
  ├─ spaceType (string) [Required]
  ├─ subtype (string) [Required]
  ├─ icon.url (string) [Optional]
  ├─ icon.width (integer) [Required]
  ├─ icon.height (integer) [Required]
  ├─ icon.isDefault (boolean) [Required]
  └─ labels (List<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.

Space properties

PropertyTypeRequiredDescription
keystringYes

A unique key identifier for the space. Max length: 255 characters.

spaceTypestringYes

The type of space. Max length: 255 characters.

subtypestringYes

The subtype of the space.

Allowed values:

  • space
  • project
  • business
  • software
  • service_desk
iconIconNo

Icon information for the space.

icon.urlstringNo

The URL of the space icon.

icon.widthintegerYes

The width of the space icon in pixels.

icon.heightintegerYes

The height of the space icon in pixels.

icon.isDefaultbooleanYes

Whether the icon is the default space icon.

labelsList<string>No

Labels or tags associated with the space.

Example payload

1
2
{
  "objects" : [ {
    "id" : "siteId/spaceId1",
    "updateSequenceNumber" : 1,
    "displayName" : "My space",
    "description" : "The space contains work",
    "url" : "https://www.example-space.com/share/spaceId1",
    "lastUpdatedAt" : "2024-07-09T14:27:37.000Z",
    "permissions" : [ {
      "action" : "read",
      "accessControls" : [ {
        "principals" : [ {
          "type" : "EVERYONE"
        } ]
      } ]
    } ],
    "atlassian:space" : {
      "key" : "spaceKey1",
      "spaceType" : "personal",
      "subtype" : "space",
      "icon" : {
        "url" : "https://www.icon.com/1",
        "height" : 3,
        "width" : 3,
        "isDefault" : true
      },
      "labels" : [ "label1", "label2" ]
    }
  } ],
  "operationType" : "NORMAL"
}

Rate this page: