search order by number of linked JIRAs

Hello, I have two projects: project's X bugfixes are linked to project Y's customer issues. I want to create a filter that would give me a list of X stories ordered (DESC) by a number of linked Y stories.

For now I am ordering by update date:

issueFunction in linkedIssuesOf("resolution = 'Bug in Product'", "solved by") AND project = "X" AND status != closed ORDER BY updatedDate DESC

How to modify this search to include aggregation by number of linked Y issues? something like: "ORDER BY numberOfLinkedIssues DESC"

Do you think JQL Tricks might help here? If so, I'd recommend installing it in my organisation since we need this badly.

Thanks,

Andy Tokarski

 

2 answers

This widget could not be displayed.

You won't be able to order by number of linked issues because that is not an attribute on the issue (links are but not the number of linked issues). You can do that only if you capture the number of linked issues in a scripted field or calculated field.

This widget could not be displayed.

I thought JQL Tricks might improve it. We'll implement your suggestion most probably then. Thanks! Andy

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

526 views 3 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