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
Last updated Oct 29, 2025

Issue associated deployment

The IssueAssociatedDeployment 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

From object typeTo object type
Jira issue - ati:cloud:jira:issueExternal deployment - ati:cloud:jira:deployment

Cypher

We recommend using parameterized Cypher queries rather than placing parameters directly in the query string. This helps improve performance.

Forward query

GraphQL
1
2
query IssueAssociatedDeployment_CypherQuery($cypherQuery: String!, $params: JSON!) {
 graphStore @optIn(to: ["GraphStore", "GraphStoreCypherQueryV2"]) {
  cypherQueryV2(query: $cypherQuery, params: $params) {
   edges {
    node {
     columns {
      key
      value {. on GraphStoreCypherQueryV2NodeList {
        nodes {
         data {. on DeploymentSummary {
           id
          }. on ExternalDeployment {
           id
          }
         }
        }
       }. on GraphStoreCypherQueryV2AriNode {
        data {. on DeploymentSummary {
          id
         }. on ExternalDeployment {
          id
         }
        }
       }. on GraphStoreCypherQueryV2BooleanObject {
        bool_val: value
       }. on GraphStoreCypherQueryV2IntObject {
        int_val: value
       }. on GraphStoreCypherQueryV2FloatObject {
        float_val: value
       }. on GraphStoreCypherQueryV2StringObject {
        str_val: value
       }
      }
     }
    }
   }
  }
 }
}
Params
1
2
{
 "cypherQuery": "MATCH (issue:JiraIssue {ari: $id})-[:issue_associated_deployment]->(deployment:GraphDeployment) RETURN deployment",
 "params": {
  "id": "$id"
 }
}

Inverse query

GraphQL
1
2
query IssueAssociatedDeployment_CypherQuery($cypherQuery: String!, $params: JSON!) {
 graphStore @optIn(to: ["GraphStore", "GraphStoreCypherQueryV2"]) {
  cypherQueryV2(query: $cypherQuery, params: $params) {
   edges {
    node {
     columns {
      key
      value {. on GraphStoreCypherQueryV2NodeList {
        nodes {
         data {. on JiraIssue {
           id
          }
         }
        }
       }. on GraphStoreCypherQueryV2AriNode {
        data {. on JiraIssue {
          id
         }
        }
       }. on GraphStoreCypherQueryV2BooleanObject {
        bool_val: value
       }. on GraphStoreCypherQueryV2IntObject {
        int_val: value
       }. on GraphStoreCypherQueryV2FloatObject {
        float_val: value
       }. on GraphStoreCypherQueryV2StringObject {
        str_val: value
       }
      }
     }
    }
   }
  }
 }
}
Params
1
2
{
 "cypherQuery": "MATCH (issue:JiraIssue)-[:issue_associated_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: