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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm looking at something similar using our primary add-on, Automation for Jira
https://blog.codebarrel.io/calculated-customfields-and-math-expressions-5eacad80e4e8
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It requires some effort. You'd at minimum need a script either running on your own service or via a scripting plugin installed in JIRA.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.