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 build

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

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 Build - ati:cloud:jira:build
External Build - ati:cloud:graph:build

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 JiraWorkItemLinksExternalBuild_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on ExternalBuildInfo {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (issue:JiraIssue {ari: $id})-[:jira_work_item_links_external_build]->(build:GraphBuild) RETURN build",
  "params": {
    "id": "$id"
  }
}

Inverse query

GraphQL
1
2
query JiraWorkItemLinksExternalBuild_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_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 the relationship.

To Metadata

Nested Types

TestInfo

NameTypeProperties
totalNumberLong
numberPassedLong
numberFailedLong
numberSkippedLong

BuildState

NameInternal NameIndex
not-setBUILD_STATE_NOT_SET0
pendingBUILD_STATE_PENDING10
in_progressBUILD_STATE_IN_PROGRESS20
successfulBUILD_STATE_SUCCESSFUL30
failedBUILD_STATE_FAILED40
cancelledBUILD_STATE_CANCELLED50
unknownBUILD_STATE_UNKNOWN60

Rate this page: