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

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,304 views 12 19
Read article

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