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

Atlassian user owns Atlassian goal

The AtlassianUserOwnsAtlassianGoal relationship represents the link between a Townsquare goal and an Identity user within the Teamwork Graph. It allows you to:

  • Retrieve owners of a specific Atlas goal
  • Find which Atlas goal a user owns
  • Traverse and analyze goal-ownership relationships

Relationship type: Canonical

From object typesTo object types
Identity User - ati:cloud:identity:userTownsquare Goal - ati:cloud:townsquare:goal

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.

Inverse query

GraphQL
1
2
query AtlassianUserOwnsAtlassianGoal_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on TownsquareGoal {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (goal:TownsquareGoal)-[:atlassian_user_owns_atlassian_goal]->(user:IdentityUser {ari: $id}) RETURN goal",
  "params": {
    "id": "$id"
  }
}

Forward query

GraphQL
1
2
query AtlassianUserOwnsAtlassianGoal_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on AtlassianAccountUser {
                  id
                }
                ... on CustomerUser {
                  id
                }
                ... on AppUser {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (goal:TownsquareGoal {ari: $id})-[:atlassian_user_owns_atlassian_goal]->(user:IdentityUser) RETURN user",
  "params": {
    "id": "$id"
  }
}

Rate this page: