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 Nov 11, 2025

Issue associated branch

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

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

Category

CategoryCanonical

Types

From Object TypesTo Object Types
Jira Issue - ati:cloud:jira:issueExternal Branch - ati:cloud:jira:branch
External Branch - ati:cloud:graph:branch

Cypher

Forward Query

GraphQL
1
2
query IssueAssociatedBranch_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on ExternalBranch {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

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.

1
2
{
  "cypherQuery": "MATCH (issue:JiraIssue {ari: $id})-[:issue_associated_branch]->(branch:GraphBranch) RETURN branch",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query IssueAssociatedBranch_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on JiraIssue {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

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.

1
2
{
  "cypherQuery": "MATCH (issue:JiraIssue)-[:issue_associated_branch]->(branch:GraphBranch {ari: $id}) RETURN issue",
  "params": {
    "id": "$id"
  }
}

Rate this page: