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
Relationship types
Last updated Nov 25, 2025

Jira space has Jira work item

The JiraSpaceHasJiraWorkItem relationship represents the link between a Jira project and its associated Jira issues within the Teamwork Graph. It allows you to:

  • Retrieve issues for a specific project
  • Find the parent project for a given Jira issue
  • Traverse and analyze project-issue relationships

Relationship type: Canonical

From object typesTo object types
Jira Project - ati:cloud:jira:projectJira Issue - ati:cloud:jira:issue

Cypher

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.

Forward query

GraphQL
1
2
query JiraSpaceHasJiraWorkItem_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on JiraIssue {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (project:JiraProject {ari: $id})-[:jira_space_has_jira_work_item]->(issue:JiraIssue) RETURN issue",
  "params": {
    "id": "$id"
  }
}

Inverse query

GraphQL
1
2
query JiraSpaceHasJiraWorkItem_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on JiraProject {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params
1
2
{
  "cypherQuery": "MATCH (project:JiraProject)-[:jira_space_has_jira_work_item]->(issue:JiraIssue {ari: $id}) RETURN project",
  "params": {
    "id": "$id"
  }
}

Metadata

To Metadata

NameTypeProperties
assigneeAriAri (Message)
statusAriAri (Message)
issueAriAri (Message)
creatorAriAri (Message)
reporterAriAri (Message)
issueTypeAriAri (Message)
fixVersionIdsLongrepeated

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: