Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create transition workflow with custom field having multiple options.

Nisipeanu Traian Horst August 22, 2023

Hello,

 

We need to implement a workflow transition, like- (from implementation- code review, code review- beta testing, beta testing-test), but transition should only be possible when a custom field - multiple option checkboxes has some of the boxes checked. The custom field is the same between all transitions, only other checkboxes are marked between them.

Is this possible?

 

Thanks,

Traian Horst Nisipeanu

 

1 answer

1 accepted

3 votes
Answer accepted
Rilwan Ahmed
Community Champion
August 22, 2023

Hi @Nisipeanu Traian Horst ,

You can make use of Workflow validator "Field Required" 

You can make use of field required validator in your workflow. Until all required fields are not filled, it will not allow user to change the status. 

i.e. Open the workflow  --> Edit and click on required transition.
Add validator --> Field Required Validator
In the next screen, select the fields required and publish the workflow.

Nisipeanu Traian Horst August 22, 2023

Hello @Rilwan Ahmed ,

 

I want to be able to select which options of the custom field are marked, as I have multiple options:

a,b,c,d,e,f

I want to make the transition possible only if a,b,c and d are marked on the custom field. For the following transition, I want to add option e marked, and so on.

Do you think this is possible?

 

Thank you for your fast reply.

Traian

Rilwan Ahmed
Community Champion
August 22, 2023

Hi @Nisipeanu Traian Horst ,

This cannot be achieved using any native Jira validator. You should use Value Field workflow condition.

Allows to execute a transition if the given value of a field is equal to a constant value, or simply set. i.e. Transition will be displayed only when user fills the required fields

Sample workflow screenshot is attached. Here Application is a checkbox field. 

image.png

Nisipeanu Traian Horst August 22, 2023

Hi @Rilwan Ahmed ,

 

thank you for the fast support, indeed, this is the correct solution.

 

Have a nice day!

Like Rilwan Ahmed likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events