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

Team owns component

The TeamOwnsComponent relationship represents the link between a Teams team and a Compass component within the Teamwork Graph. It allows you to:

  • Retrieve components owned by a specific team
  • Find which team owns a component
  • Traverse and analyze team-component relationships

Category

CategoryCanonical

Types

From Object TypesTo Object Types
Teams Team - ati:cloud:teams:teamCompass Component - ati:cloud:compass:component
Identity Team - ati:cloud:identity:team

Cypher

Forward Query

GraphQL
1
2
query TeamOwnsComponent_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on CompassComponent {
                  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 (team:TeamsTeam {ari: $id})-[:team_owns_component]->(component:CompassComponent) RETURN component",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query TeamOwnsComponent_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on TeamV2 {
                  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 (team:TeamsTeam)-[:team_owns_component]->(component:CompassComponent {ari: $id}) RETURN team",
  "params": {
    "id": "$id"
  }
}

Rate this page: