Can someone advise if the following scenario is configurable ?
If the issue is a certain type (Bug) and the status is a certain type (resolved) then only allow the ticket to be closed if a certain field (fix version) is populated.
I've tried various tweaks to screens and custom fields but have so far been unable to do this.
Any help would be greatly appreciated.
Yes, this is possible, you need to go into the workflow, identify the transition resolved -> closed, and in that transition select the conditions tab and put in a condition that allows you to execute the transition only if fix versions field is set.
You can do this by selecting the option value field and inside it putting in the condition Fix versions(s) != null;
and yes since you need this condition only for bug, you need to define a workflow scheme which has this conditioned workflow associated with bug issue type.
Hope this helps
I only have the followingconditions available :
Code Committed Condition
No Open Reviews Condition
Only Assignee Condition
Only Reporter Condition
Sub-Task Blocking Condition
Unreviewed Code Condition
User Is In Group
User Is In Group Custom Field
User Is In Project Role
There is no option to enter a condition such as "fix version !=null".
Am I missing something ?
Use a Conditioned validator from Conditioned Workflow Functions for JIRA. This will only allow the transition to proceed if it is NOT the case that issue type is Bug and fix versions is blank. The following assumes both issue type and fix versions are on the transition screen, otherwise you need to use substitution variables from the original issue. This gives them a chance to add the fix version to allow the transition to proceed.
Conditioned validator Conditions: Condition value: %transition_issuetype%#%transition_fixVersions%#, Regex pattern: Bug#\s*#, Exact, Negative Message: A Bug must have a fix version
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs