The Teamwork Graph API is coming soon. The object and relationship types documented here are indicative of what will be available in the Graph via the Teamwork Graph API. Please note that relationships, objects, their properties, and functionality may change before and during the Early Access Program.
Interested in early access? Express your interest in joining the EAP
The JiraWorkItemLinksExternalBuild relationship represents the link between a Jira issue and an external build within the Teamwork Graph. It allows you to:
Relationship type: Canonical
The TTL (Time To Live) specifies the retention period for relationship data, determining how far back in time the relationship remains queryable.
| From object types | To object types |
|---|---|
Jira Issue - ati:cloud:jira:issue | External Build - ati:cloud:jira:build |
External Build - ati:cloud:graph:build |
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 2query JiraWorkItemLinksExternalBuild_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) { cypherQuery(query: $cypherQuery, params: $params) { edges { node { columns { value { ... on CypherQueryResultNode { id data { __typename ... on ExternalBuildInfo { id } } } } } } } } }
1 2{ "cypherQuery": "MATCH (issue:JiraIssue {ari: $id})-[:jira_work_item_links_external_build]->(build:GraphBuild) RETURN build", "params": { "id": "$id" } }
1 2query JiraWorkItemLinksExternalBuild_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) { cypherQuery(query: $cypherQuery, params: $params) { edges { node { columns { value { ... on CypherQueryResultNode { id data { __typename ... on JiraIssue { id } } } } } } } } }
1 2{ "cypherQuery": "MATCH (issue:JiraIssue)-[:jira_work_item_links_external_build]->(build:GraphBuild {ari: $id}) RETURN issue", "params": { "id": "$id" } }
This relationship is not indexed, you will not be able to filter by this metadata when querying the relationship.
| Name | Type | Properties |
|---|---|---|
state | BuildState (Enum) | |
testInfo | TestInfo (Message) |
| Name | Type | Properties |
|---|---|---|
totalNumber | Long | |
numberPassed | Long | |
numberFailed | Long | |
numberSkipped | Long |
| Name | Internal Name | Index |
|---|---|---|
not-set | BUILD_STATE_NOT_SET | 0 |
pending | BUILD_STATE_PENDING | 10 |
in_progress | BUILD_STATE_IN_PROGRESS | 20 |
successful | BUILD_STATE_SUCCESSFUL | 30 |
failed | BUILD_STATE_FAILED | 40 |
cancelled | BUILD_STATE_CANCELLED | 50 |
unknown | BUILD_STATE_UNKNOWN | 60 |
Rate this page: