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

Service associated team

The ServiceAssociatedTeam relationship represents the link between an external service and an Opsgenie team within the Teamwork Graph. It allows you to:

  • Retrieve teams associated with a specific service
  • Find which services are associated with a team
  • Traverse and analyze service-team relationships

Category

CategoryCanonical

Types

From Object TypesTo Object Types
External Service - ati:cloud:graph:serviceOpsgenie Team - ati:cloud:opsgenie:team

Cypher

Forward Query

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

Inverse Query

GraphQL
1
2
query ServiceAssociatedTeam_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on DevOpsService {
                  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 (service:GraphService)-[:service_associated_team]->(team:OpsgenieTeam {ari: $id}) RETURN service",
  "params": {
    "id": "$id"
  }
}

Rate this page: