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.
New apps should use curated queries or
persisted Cypher queries. Raw cypherQuery
is unavailable to new apps; existing apps should follow
Migrate from raw Cypher queries.
To review the current limitations, see Limitations and considerations.
To share feedback or report an issue, visit the Atlassian developer community.
Represents the link between an Atlassian user and a PR comment
Relationship type: Canonical
| From object types | To object types |
|---|---|
Atlassian user - ati:cloud:identity:user | External comment - ati:cloud:graph:comment |
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 19 20 21 22query AtlassianUserCreatedExternalComment_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) { cypherQuery(query: $cypherQuery, params: $params) { edges { node { columns { value { ... on CypherQueryResultNode { id data { __typename ... on ExternalComment { id } } } } } } } } }
1 2 3 4 5 6 7{ "cypherQuery": "MATCH (user:AtlassianUser {ari: $id})-[:atlassian_user_created_external_comment]->(comment:ExternalComment) RETURN comment", "params": { "id": "$id" } }
Rate this page: