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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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