Specific script runner query: Show me multiple levels of linked issues

Hi - I've had a look around the answers section and haven't been able to find an answer to this particular question.

To give a bit of context; the way this particular project is setup is as follows:

  1. All customer requests are logged as an issue type of "New Request"
  2. Once the request has gone through analysis, it is broken down into epics / stories accordingly, with the top level request relating to the subsequent epic(s), and the stories linking to the epic(s).
  3. Therefore general hierarchy = New Request > Epic(s) > Story(ies)

Is it possible to construct the following query?

I want to be able to see all issues of New Request, and for each New Request see a list of linked Epic / Story IDs (and if possible their status)

 

1 answer

0 votes

You need linkedIssuesOf . Once you have the first query working you can use that as input into the second. You will also need to OR it with the first query, so you get both the issues and their linked issues.

You will end up with a big ugly query but by saving intermediate filters and using linkedIssueOf("filter = foo") you can decompose it.

Ordering them so that the linked items appear with the issue they are linked from is more tricky.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,043 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot