How many links does an issue have?

I would like to be able to display and sort by the number of links an issue has. Is there a way to do this? We would like to use this as a proxy for a priority. The more related issues (links) an issue has, the higher priority it is.

3 answers

1 accepted

0 vote

I don't think you can do this in off-the-shelf Jira.

I wrote a plugin to solve this ages ago which simply did the count as a "derived field". You could sort, search as numeric (e.g. more than 20 links) and so-on.

I'm afraid that even if I dug it up and published it, you couldn't use it in OnDemand because they don't allow plugins yet. There are some things you can do with JQL I believe, but they won't display or sort.

OnOndemand you can use the REST API to get an issue list and count the links (inward and outward), sort them and update the priority field by executing a remote script. All those things are supported by the remote API.

Was a solution found for this? I am trying to do this with the Misc Custom Fields plug-in where I have a calculated number field based on the number of linked tickets, but I am having issues with the formula counting the links. If anyone has done this, please let me know.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

67 views 0 11
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