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 build

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

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

Relationship type: Canonical

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

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 IssueAssociatedBuild_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 ExternalBuildInfo {
           id
          }
         }
        }
       }. on GraphStoreCypherQueryV2AriNode {
        data {. on ExternalBuildInfo {
          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_build]->(build:GraphBuild) RETURN build",
 "params": {
  "id": "$id"
 }
}

Inverse query

GraphQL
1
2
query IssueAssociatedBuild_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_build]->(build:GraphBuild {ari: $id}) RETURN issue",
 "params": {
  "id": "$id"
 }
}

Metadata

This relationship is not indexed. You will not be able to filter by this metadata when querying this relationship.

To metadata

BuildState

NameInternal NameIndexDescription
not-setBUILD_STATE_NOT_SET0No build state has been set.
pendingBUILD_STATE_PENDING10Build is queued and waiting to start.
in_progressBUILD_STATE_IN_PROGRESS20Build is currently running.
successfulBUILD_STATE_SUCCESSFUL30Build completed successfully without errors.
failedBUILD_STATE_FAILED40Build failed due to errors or test failures.
cancelledBUILD_STATE_CANCELLED50Build was cancelled before completion.
unknownBUILD_STATE_UNKNOWN60Build state cannot be determined.

TestInfo

NameTypeDescription
totalNumberLongTotal number of tests executed in this build.
numberPassedLongNumber of tests that passed successfully.
numberFailedLongNumber of tests that failed during execution.
numberSkippedLongNumber of tests that were skipped during execution.

Rate this page: