The Teamwork Graph API is available through Forge's Preview release phase.
Preview features are available to all users and receive the same level of support as generally available features. Schemas, fields, and behavior may still change before general availability (GA), and breaking changes are subject to a minimum 1-month deprecation notice, announced in the Teamwork Graph changelog.
To review the current limitations, see Limitations and considerations.
To share feedback or report an issue, visit the Atlassian developer community.
Links pull requests to their containing repositories, enabling tracking and querying of code review activities within repository contexts. This relationship provides essential connectivity for development workflow visualization, code review analytics, and repository activity monitoring across integrated development tools.
Relationship type: Canonical
| From object types | To object types |
|---|---|
External repository - ati:cloud:jira:repository, ati:cloud:graph:repository | External pull request - ati:cloud:jira:pull-request, ati:cloud:graph:pull-request |
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 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19query ExternalRepositoryHasExternalPullRequest_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) { cypherQuery(query: $cypherQuery, params: $params) { edges { node { columns { value { ... on CypherQueryResultNode { id data { __typename } } } } } } } }
1 2 3 4 5 6 7{ "cypherQuery": "MATCH (repository:ExternalRepository {ari: $id})-[:external_repository_has_external_pull_request]->(request:ExternalPullRequest) RETURN request", "params": { "id": "$id" } }
Rate this page: