I want to get a quick feel of how important an issue is. To do this, I need to count how many other tickets link to the potentially important tickets.
One view into the data I want is a simple table with the columns KEY and LINKED_TO_COUNT. Then, I'd be able to sort on LINKED_TO_COUNT to find the most important (linked to) issues on top.
We currently have ScriptRunner if that helps, but not an extra dashboarding addon. I do not see an way to do this with built in dashboard gadgets as the "Group By" fields are randomly limited per gadget. I also have no idea if ScriptRunner can do counting/statistics itself, outside of a dashboard.
I solved this in a completely unscalable way, and I'm hoping there's a much easier way I missed:
Finally, at this point the link counts exist in the tickets and you can dashboard it or simply sort by the "Links In/Out" columns in a table.
I highly suggest ignoring Jira searching and dashboarding altogether and using something like Splunk to do the dashboarding. It's much more flexible and takes much less effort once you know the SPL.
So far, I've tried creating scripted fields with ScriptRunner to count of links via the cloud API. However... these scripted fields cannot be used by dashboard (or dashboard addons it seems).
I may have to resort to a ScriptedListener from ScriptRunner to update a custom field on Link Create and Link Delete.
Ouch.
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.