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

Issue has changed priority

The IssueHasChangedPriority relationship represents the link between a Jira issue and a Jira issue priority within the Teamwork Graph. It allows you to:

  • Track priority changes for specific Jira issues
  • Traverse and analyze issue priority change events

Category

CategoryActivity

TTL

30 days

The TTL (Time To Live) specifies the retention period for relationship data, determining how far back in time the relationship remains queryable.

Types

From Object TypesTo Object Types
Jira Issue - ati:cloud:jira:issueJira Issue Priority - ati:cloud:jira:priority

Cypher

Forward Query

GraphQL
1
2
query IssueHasChangedPriority_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on JiraPriority {
                  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 (issue:JiraIssue {ari: $id})-[:issue_has_changed_priority]->(priority:JiraIssuePriority) RETURN priority",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query IssueHasChangedPriority_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on JiraIssue {
                  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 (issue:JiraIssue)-[:issue_has_changed_priority]->(priority:JiraIssuePriority {ari: $id}) RETURN issue",
  "params": {
    "id": "$id"
  }
}

Metadata

This relationship is not indexed, you will not be able to filter by this metadata when querying the relationship.

Relationship Metadata

Nested Types

Ari

When filtering by ARI in GraphQL, it will behave as a String rather than a message as shown below.

NameTypeProperties
valueString

Rate this page: