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

Parent issue has child issue

The ParentIssueHasChildIssue relationship represents the link between a parent Jira issue and a child Jira issue within the Teamwork Graph. It allows you to:

  • Retrieve child issues for a specific parent issue
  • Find the parent issue of a child issue
  • Traverse and analyze issue-hierarchy relationships

Category

CategoryCanonical

Types

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

Cypher

Forward Query

GraphQL
1
2
query ParentIssueHasChildIssue_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 {ari: $id})-[:parent_issue_has_child_issue]->(issue_1:JiraIssue) RETURN issue_1",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query ParentIssueHasChildIssue_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)-[:parent_issue_has_child_issue]->(issue_1:JiraIssue {ari: $id}) RETURN issue",
  "params": {
    "id": "$id"
  }
}

Rate this page: