Hi,
Is there an API available through which we can fetch parent / child link details.
My intention is to get insights on linked issues.
Hi @Mayur Gaikwad/Tech PMO ,
Please refer to the below doc.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-link-types/#api-rest-api-3-issuelinktype-issuelinktypeid-get
As always, there's multiple ways to do this. My personal favorite is using Jira Expressions, as you can get a lot of information in a single call.
For example, to get all subtasks you could just send this expression to the endpoint:
issue.subtasks
The fun starts when you combine Jira Expressions with JQL, for example to get the percentage of issues with subtasks within a given JQL query, you would send the JQL along with this expression:
(issues.filter(i => i.subtasks != []).length / issues.length) * 100
If you just want to dip your toe in and play around with Jira Expressions, we have a free app called Expression Tester that makes playing with expression easy from within the Jira UI. It's what I use most of the time.
Anyway, hope that helps!
Best regards, Oliver from Polymetis Apps
It looks like you're new here. Sign in or register to get started.