so i have a custom field called support complexity which requires a numeric value from 1-5, this is based on the issue type selected for that specific ticket, if issue type selected is bug then the support complexity custom field must display a 2, and so goes for all the other issue types, multiple issue types will have the same complexity value. Please help?
There are two approaches to that requirement:
- using a post-function on the Create transition to set the "Support complexity" field upon issue creation from the issue type. This can be done with many third-party apps, such as JMWE, JSU, ScriptRunner, etc.
- using a calculated custom field to dynamically calculate the value of the "Support complexity" field based on the issue type. In that case, if the issue type changes, the complexity will be automatically updated. You can achieve that with several third-party apps, such as JMCF, ScriptRunner, etc.
Hi David
thanks for getting back to me, so ive been trying to use Script runner, my coding skills arnt the best, any chance you could assist with sample code,
further to this, tickets are created automatically, a user from ourside goes into each ticket to select the issue type based on info provided. it is only at this point that issue type is selected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.