Last updated Jan 14, 2025

Dashboard

The Dashboard object type represents a dashboard object. atlassian:dashboard should be used to ingest dashboard-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 (User) [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      └─ externalId (string) [Optional]
  └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ lastUpdatedBy (User) [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      └─ externalId (string) [Optional]
  └─ owners (List<User>) [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      └─ externalId (string) [Optional]
  └─ 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 (string)
            └─ id (string)
  └─ associations [] [Optional]
      ├─ associationType (string)
      └─ values []
      
  atlassian:dashboard
  ├─ description (string) [Optional]
  ├─ elements (List<DashboardElement>) [Optional]
      ├─ name (string) [Required]
      └─ innerComponents (List<string>) [Optional]
  ├─ pages (List<DashboardPage>) [Optional]
      └─ name (string) [Required]
  └─ workspaceName (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.

Dashboard properties

PropertyTypeRequiredDescription
descriptionstringNo

The description of the dashboard.

elementsList<DashboardElement>No

List of dashboard elements contained within the dashboard.

elements.namestringYes

The name of the dashboard element.

elements.innerComponentsList<string>No

List of inner components within the dashboard element.

pagesList<DashboardPage>No

List of dashboard pages.

pages.namestringYes

The name of the dashboard page.

workspaceNamestringNo

The name of the workspace containing the dashboard.

Example payload

1
2
{
  "objects" : [ {
    "id" : "siteId/dashboardId1",
    "updateSequenceNumber" : 1,
    "displayName" : "My Dashboard",
    "description" : "A comprehensive analytics dashboard",
    "url" : "https://www.atlassian.com/share/dashboardId1",
    "lastUpdatedAt" : "2024-07-09T14:27:37.000Z",
    "createdBy" : {
      "accountId" : "accountId",
      "ari" : "ari:cloud:identity::third-party-user/abc/123"
    },
    "createdAt" : "2024-04-16T09:31:32+00:00",
    "lastUpdatedBy" : {
      "accountId" : "accountId",
      "ari" : "ari:cloud:identity::third-party-user/abc/123"
    },
    "owners" : [ {
      "accountId" : "accountId",
      "ari" : "ari:cloud:identity::third-party-user/abc/123"
    } ],
    "thumbnail" : {
      "externalUrl" : "https://example.com/thumbnail/dashboard.png"
    },
    "permissions" : [ {
      "action" : "read",
      "accessControls" : [ {
        "principals" : [ {
          "type" : "EVERYONE"
        } ]
      } ]
    } ],
    "atlassian:dashboard" : {
      "description" : "Dashboard providing key performance metrics and analytics",
      "elements" : [ {
        "name" : "Performance Chart",
        "innerComponents" : [ "line-chart", "legend", "tooltip" ]
      }, {
        "name" : "Status Widget",
        "innerComponents" : [ "status-indicator", "counter" ]
      } ],
      "pages" : [ {
        "name" : "Overview"
      }, {
        "name" : "Analytics"
      }, {
        "name" : "Reports"
      } ],
      "workspaceName" : "Analytics Workspace"
    }
  } ]
}

Rate this page: