JIRA Filter that Displays main ticket with other linked ticket or subtasks in order

I am trying to create a filter that displays our main customer ticket, it then lists any linked tickets which would be the development ticket and any subtasks. I have not been able to really get any query to work so far. I have an example of how it should be ordered. Any help is appreciated.

ES0001-403 Risk Hold Flag

WDE360-43 Risk Hold Flag dev work in

WDE360-44 Add Funds Risk Flag to database Merchant Record

WDE360-45 Add Funds Risk Flag to the Merchant Boarding Process

WDE360-46 Update the Merchant Details Screen to Display the New Flag

1 answer

Bryan,

You could do that by using Groovy Script Runner. Install the plugin and enable the JQL functions (should be done automatically after installation). You can query tickets with linked issues as:

project = XXX and ((issueFunction in hasSubtasks() and issueFunction in hasLinks("Is Related to")) or issueFunction in subtasksOf("")) ORDER BY Key,type

What this query does is listing the parent issues with links and subtasks and by ordering key and type lists them below. You can add more filters by filtering them by labels etc.

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 ...

2,825 views 12 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