OBJECTIVE:
Force developers to select appropriate resolution during transition to Resolved state
STEPS:
1. Add new condition to the workflow transition
2. Select "Value Field - Allows to execute a transition if the given value of a field is equal to a constant value, or simply set."
3. Set condition as follows:
The field Resolution will have to be not equal to value 'NONE'. Compared as String.
I can still move issues to Resolved state with Resolution = NONE
JIRA Workflow Toolbox solves the problem.
To achieve intedended objective - you should instead add Validator (not conditiion) "Fields Required" and use Resolution field.
"NONE" basically means Resolution field is not filled. That's why your solution doesn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andris, thanks for the reply.
The problem is that Resolution field must have a default value, it cannot be an empty string. So if no action is taken during transition to change resolution, resolution will be left at default , therefore "Fields Required" validator will always be satisfied. But the objective of forcing people to change resolution from default to appropriate one will not be.
I manually created NONE (string) as a default resolution.
In my opinion this is a bug in JIRA Suite Utilities plug-in, but they don't offer support other than posting questions on this board.
I am using other means to solve this.
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.