I'm a product manager, so I want to be able to collect data on my issues in Jira and automatically see a calculated priority value of this issue:
I would like to be able to:
STORE global values for Metric and WeigthMetric
CALCULATE a score based on the global values selected for each issue
CHANGE global values as needed
Anyone ever tried that? Anyone a clue if Jira can pull this off?
Yep, the bit of work I did yesterday was upgrading something similar from JIRA 6 to JIRA 7. It was a set of scripted fields provided by Script Runner (there are some other add-ons that can provide similar calculated fields, and the option of writing your own fields too).
One difficulty comes up in that there is no easy storage in the off-the-shelf system for "Metrics and WeightMetric should be global values" - we got around that with a script-runnner button that popped a screen where we could store values. The other probllem with scripted fields is that when you do change a global value, you have to re-index the project to make the numbers re-calculate.
Thanks. I definitely would like to reduce changing global values to a minimum and run tests offline first on the right balancing.
Where is the script-runner button storing the values? Directly there in the button? And then you reference those values in the calculated field?
Do you have some code examples? I'm not afraid of finding someone to do the heavy lifting, if I can get to some reasonable auto-calculation of priorities.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG