Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Relationship types
Last updated Nov 25, 2025

Jira work item links external deployment

The JiraWorkItemLinksExternalDeployment relationship represents the link between a Jira issue and an external deployment within the Teamwork Graph. It allows you to:

  • Retrieve external deployments associated with a specific Jira issue
  • Find which Jira issues are associated with an external deployment
  • Traverse and analyze issue-deployment relationships

Relationship type: Canonical

TTL

365 days

The TTL (Time To Live) specifies the retention period for relationship data, determining how far back in time the relationship remains queryable.

From object typesTo object types
Jira Issue - ati:cloud:jira:issueExternal Deployment - ati:cloud:jira:deployment
External Deployment - ati:cloud:graph:deployment

Cypher

Note

We recommend sending parameterized Cypher queries as below instead of embedding the parameters directly in the query string. This approach will help ensure better performance.

Forward query

GraphQL
1
2
query JiraWorkItemLinksExternalDeployment_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on DeploymentSummary {
                  id
                }
                ... on ExternalDeployment {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (issue:JiraIssue {ari: $id})-[:jira_work_item_links_external_deployment]->(deployment:GraphDeployment) RETURN deployment",
  "params": {
    "id": "$id"
  }
}

Inverse query

GraphQL
1
2
query JiraWorkItemLinksExternalDeployment_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on JiraIssue {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (issue:JiraIssue)-[:jira_work_item_links_external_deployment]->(deployment:GraphDeployment {ari: $id}) RETURN issue",
  "params": {
    "id": "$id"
  }
}

Metadata

To Metadata

Nested Types

Author

Ari

When filtering by ARI in GraphQL, it will behave as a String rather than a message as shown below.

NameTypeProperties
valueString

DeploymentState

NameInternal NameIndex
not-setDEPLOYMENT_STATE_NOT_SET0
pendingDEPLOYMENT_STATE_PENDING10
in_progressDEPLOYMENT_STATE_IN_PROGRESS20
successfulDEPLOYMENT_STATE_SUCCESSFUL30
failedDEPLOYMENT_STATE_FAILED40
cancelledDEPLOYMENT_STATE_CANCELLED50
rolled_backDEPLOYMENT_STATE_ROLLED_BACK60
unknownDEPLOYMENT_STATE_UNKNOWN70

EnvironmentType

NameInternal NameIndex
not-setENVIRONMENT_TYPE_NOT_SET0
unmappedENVIRONMENT_TYPE_UNMAPPED10
developmentENVIRONMENT_TYPE_DEVELOPMENT20
testingENVIRONMENT_TYPE_TESTING30
stagingENVIRONMENT_TYPE_STAGING40
productionENVIRONMENT_TYPE_PRODUCTION50

Rate this page: