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

Accepted Answer
0 votes

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
Community showcase
Posted Friday in Europe

Venue Needed! 23rd October

Hey Everyone! Unfortunately, the venue that was hosting us on the 23rd has pulled out so we're looking for a new venue.    If anyone would have a room free that we could use on the ev...

44 views 1 0
View post

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