Hi,
I'd like to switch a list of the selections in 'Resolution' field depending on the IssueType.
Also, I want to change the default value in each IssueType if possible.
Is there any way to do this?
Thanks,
hiro
Actually, the best way to do this is to include/exclude resolutions on workflows and have different workflows for different issue types.
See Workflow Properties for the property details.
I have never used javascript on descriptions, just on Default values of custom fields. And it works. But Resolution haven t got default value to enter javascript. So this I think it would be better use a groovy script on Behaviours.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use Javascript in the description of resolution field which will check for Issue type and based on that set the resolution
javascript examples here https://confluence.atlassian.com/display/JIRACOM/Using+JavaScript+to+Set+Custom+Field+Values
You can also use the behaviours plugin and write a groovy script which will set the resolution field based on issue type .
Behaviours example here https://studio.plugins.atlassian.com/wiki/display/JBHV/JIRA+Behaviours+Plugin#JIRABehavioursPlugin-Setonefieldbasedonanotherfieldwithinformationprovidedbytheserver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for the prompt reply.
However, I couldn't find a place to specify the JavaScript in Resolution field.
The Resolution field is not a custom field. I guess that's the reason.
Am I misunderstanding?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can enter the javascript in the description of the resolution field . I have tried javascript on Jira fields earlier.
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.