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
Last updated Nov 11, 2025

Atlas project has owner

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

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

Category

CategoryCanonical

Types

From Object TypesTo Object Types
Townsquare Project - ati:cloud:townsquare:projectIdentity User - ati:cloud:identity:user

Cypher

Forward Query

GraphQL
1
2
query AtlasProjectHasOwner_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

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.

1
2
{
  "cypherQuery": "MATCH (project:TownsquareProject {ari: $id})-[:atlas_project_has_owner]->(user:IdentityUser) RETURN user",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query AtlasProjectHasOwner_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on TownsquareProject {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

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.

1
2
{
  "cypherQuery": "MATCH (project:TownsquareProject)-[:atlas_project_has_owner]->(user:IdentityUser {ari: $id}) RETURN project",
  "params": {
    "id": "$id"
  }
}

Rate this page: