Forums

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

Multi Select Field | Workflow Validator

Muhammad Moazzam Hassan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2024

Hi,

I have a multi select field which contains 4 values, and I need all the 4 values to be added in a field while transitioning to done, can someone help with the regular expression?.

1 answer

0 votes
John Funk
Community Champion
March 5, 2024

Hi Muhammad,

You should be able to create an Automation Rule based on an Issue Transitioned trigger (to Done). 

Then add an action for Edit Issue, select the multi-select field, then place each of the values in the field. 

Muhammad Moazzam Hassan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2024

but this allows the transition, I want to validate that the user must fill the required field otherwise the user cannot resolve it.

John Funk
Community Champion
March 6, 2024

Sorry, I misunderstood. Create a screen that only has the 4 fields you want populated. Then add the screen to the transition to Done. 

Then add a validator for Field Required for the same transition and select the four fields.

Muhammad Moazzam Hassan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2024

Hi John,

Basically, I have the checkbox field which is the multi select field and have the values, I don't want to use multiple fields.

John Funk
Community Champion
March 6, 2024

Then use the Regular Expression Check validator, select the field and the put the value of the field in the Regular expression. You will have to do that 4 times - one for each value. 

Suggest an answer

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

Atlassian Community Events