We have a custom field that will be populated with a value from 1 – 35.
(Side note: This custom field was created using a 3rd party add-on called “Jira Misc Custom field”. Specially, it’s called a “Calculated Number Field” )
We would like to use script runner to read the value in this custom field and automatically choose a priority in the built-in Jira priority field based on this criteria:
1 – 9 = Low
10 – 16 = Moderate
17 – 25 = High
26 - 35 = Highest
Any help with script ideas is greatly appreciated.
Darren,
Script runner provides behaviors that we use to change field requiredness and populate default value.
We are doing this couple of different ways so it depends on what you want.
1) We use Live Fields feature by Power scripts to instantly show the dependent field value update in the form when users selects the value.
2) You can also setup a add Post Function to update Priority based on the value selected.
Hope this helps.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.