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

Bryan Trummer Community Champion Dec 03, 2013

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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

94 views 0 3
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