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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.