An Atlassian Resource Identifier (ARI) is a globally unique identifier for objects across Atlassian. ARIs are used throughout the Teamwork Graph API to identify specific objects when querying relationships and traversing the graph.
An ARI is similar to a URL—it's a standardized way to uniquely identify any resource in the Atlassian ecosystem. Just as a URL can point to any web resource, an ARI can point to any Atlassian resource: a Jira work item, a Confluence page, a user account, or any other object.
ARIs ensure that when you reference an object in your queries, you're referring to exactly the right object, even when similar objects exist across different sites or products.
ARIs follow a consistent pattern across all Atlassian resources:
1 2ari:cloud:{app}:{siteId}:{objectType}/{objectId}
| Component | Description |
|---|---|
ari | The scheme identifier. Always ari for Atlassian Resource Identifiers. |
cloud | The environment. Indicates this resource exists in Atlassian Cloud (as opposed to Server or Data Center). |
{app} | The Atlassian product or service that owns this resource (e.g., jira, confluence, townsquare, identity). |
{siteId} | The cloud site identifier (also called cloud ID) that uniquely identifies your Atlassian instance. Some resources like users use a double colon (::) instead of a site ID. |
{objectType} | The type of resource (e.g., issue, page, project, user). |
{objectId} | The unique identifier for the specific resource within that object type. |
Here are some examples of ARIs for different object types:
Jira work item:
1 2ari:cloud:jira:a436116f-02ce-4520-8fbb-7301462a1674:issue/8843576
Jira space (project):
1 2ari:cloud:jira:a436116f-02ce-4520-8fbb-7301462a1674:project/30867
Atlassian project:
1 2ari:cloud:townsquare:a436116f-02ce-4520-8fbb-7301462a1674:project/ATLAS-103368
User:
1 2ari:cloud:identity::user/5fb4febcfacfd60076a1c699
Team:
1 2ari:cloud:identity::team/19441f6d-f53e-4e35-a89f-265a30db4e68
Notice that user and team ARIs use identity as the app and have a double colon (::) instead of a site ID, since user accounts and teams exist across all Atlassian sites.
Your site ID, also called the cloud ID, uniquely identifies your Atlassian instance. Most ARIs require a site ID to identify which instance the resource belongs to.
To find your site ID:
Make a GET request to the following endpoint, replacing yourinstancename with your Atlassian site's name:
1 2https://yourinstancename.atlassian.net/_edge/tenant_info
In the JSON response, find the cloudId field. This is your site ID.
Example response:
1 2{ "cloudId": "a436116f-02ce-4520-8fbb-7301462a1674", "tenantId": "a436116f-02ce-4520-8fbb-7301462a1674", "realm": "prod" }
In this example, the site ID is a436116f-02ce-4520-8fbb-7301462a1674.
Your site ID is the same across all Atlassian products in your instance. Once you find it, you can use it to construct ARIs for any Jira, Confluence, or other Atlassian resources in that instance.
When querying the Teamwork Graph API, you'll use ARIs in several ways:
Use an ARI to retrieve a specific object:
1 2query GetNode($nodeId: ID!) { node(id: $nodeId) { id ... on JiraWorkItem { key summary } } }
With variables:
1 2{ "nodeId": "ari:cloud:jira:a436116f-02ce-4520-8fbb-7301462a1674:issue/8843576" }
Use ARIs in relationship filters to narrow down results. For example, filtering work items by a specific assignee:
1 2relationships( filter: { fromNode: { JiraIssue: { assigneeAri: "ari:cloud:identity::user/5fb4febcfacfd60076a1c699" } } } )
When traversing relationships, ARIs identify the starting point and connected objects:
1 2MATCH (user:UserAccount {ari: 'ari:cloud:identity::user/5fb4febcfacfd60076a1c699'}) -[:UserAssignedIssue]->(issue:JiraIssue) RETURN user, issue
Each object type has its own ARI pattern and method for finding the necessary IDs. See the following reference pages for object-specific details:
While each object type has its own specific pattern, here are some common patterns you'll see:
Jira resources typically follow this pattern:
1 2ari:cloud:jira:{siteId}:{objectType}/{objectId}
Examples:
ari:cloud:jira:{siteId}:issue/{issueId}ari:cloud:jira:{siteId}:project/{projectId}Atlassian-wide resources (like Atlas projects) typically use the townsquare namespace:
1 2ari:cloud:townsquare:{siteId}:{objectType}/{objectId}
User accounts and identity-related resources use the identity namespace and omit the site ID:
1 2ari:cloud:identity::{objectType}/{objectId}
Examples:
ari:cloud:identity::user/{userId}ari:cloud:identity::team/{teamId}Rate this page: