we set in the workflow, that when someone wants to set an issue on "Resolved" or "Done", a Resolution and the "Fix Version/s" are required.
When a developer chooses the resolution "Won't fix", the validator should skip checking the Fix Version.
I don't know how to set this up: a conditioned validator...
Thank you for your ideas!
You could also modify the workflow to allow to different transitions at this point - one which checks for both a resolution and a fix version (call it "mark as fixed" for example) and one which only checks for a resolution (call it "mark as wont fix").
You could probably even set a post function on the latter option which sets the resolution as "won't fix" automatically
I changed the workflow so that you can choose between "Resolve Issue" or "Won't fix".
The problem is that when resolving issue, the resolution list still includes the "Won't fix" resolution. I don't know how to adapt the resolution list for that particular screen. I don't see a way of making different schemes/lists for the "Resolution" Field-Values. We have these Resolutions: Fixed, Won't fix, Duplicate, Incomplete, Cannot Reproduce.
Thank you so much for your help!
I believe it is possible to exclude specific resolutions from a workflow step/transition with the
You might find some more helpful information on that here :
you'll need to also supply the resolution ID to exclude - thats the number on the end of the URL when you edit the resolution i.e :
Hope that helps
Have a look through https://developer.atlassian.com/display/JIRADEV/JIRA+Developer+Documentation and look for "workflow" modules
You might also want to think about using the script-runner plugin, which will save you having to write all the structure of a standard plugin, as you can put the code straight into that instead.
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