REST API - get relationships between Jira Issues

Deleted user March 5, 2021

We have a structure for Jira Issues that usually follows this pattern:

  • Initiative
    • Epic
      • Stories
      • Tasks
      • Bugs

As part of our Jira Software Premium subscription, Epics have a field called Parent Link used to connect them to Initiatives. But Stories and Tasks use a different field called Epic Link.

Is there a REST API call that can give me the entire tree? I only want the keys and the relationships between Jira Issues and no other data.

1 answer

1 accepted

0 votes
Answer accepted
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2021

Hello Nate. No, you can't get the whole 'tree' you described, as the Issues are only directly related to the Epics, but are indirectly related to the subsequent Initiative.

You'd have to get all the Epics that were related to a specific Initiative, then iterate through those Epics and get the related Issues.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events