Can I validate 2 status on compare condition function?

Sebastián Delmastro October 23, 2017

I want to use the compare condition over 2 workflow statuses in order to execute the rule.

For example if the trigger issue is moved to A or B status then execute the rule.

Can I do the following statement?

Captura de pantalla 2017-10-23 a la(s) 10.58.56.png

 

1 answer

1 accepted

0 votes
Answer accepted
andreas
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.
October 23, 2017

Hi Sebastian,

You should be able to do this with a regular expression.  So instead of 'Equals' select 'Matches' and then use a regular expression like this:

(A|B) 

Or you could use the JQL condition instead of the Compare condition and use this JQL as well:

status in (A, B) 

Cheers,
   Andreas

Sebastián Delmastro October 25, 2017

Thnaks @andreas, thata work great!

Suggest an answer

Log in or Sign up to answer