Forums

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

Jira expressions (workflow in condition )

Michail Bashlykov April 12, 2022

Good afternoon.
question on Jira expressions (workflow in condition ).
Can you please tell me how to make the reverse condition so that the transition is visible if the label field does not contain certain values?
For the case where contains made the following request:

issue.labels.includes('rpmtests')

2 answers

0 votes
Bill Sheboy
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.
April 12, 2022

Hi @Michail Bashlykov 

First thing, I am not using the Jira Expressions feature with workflow...And...according to the documentation you can NOT the expression like this:

!issue.labels.includes('rpmtests')

Kind regards,
Bill

0 votes
Fabio Racobaldo _Herzum_
Community Champion
April 12, 2022

Hi @Michail Bashlykov ,

try with :

issue.labels.includes('rpmtests')<1

It should works.

Please let me know,

Fabio 

Michail Bashlykov April 12, 2022

@Fabio Racobaldo _Herzum_ Thank you, but not work.

also i tried:

issue.labels.includes('rpmtests') == null

don't work too(

Fabio Racobaldo _Herzum_
Community Champion
April 12, 2022

try with :

!issue.labels.includes('rpmtests')
Like Michail Bashlykov likes this
Michail Bashlykov April 13, 2022

Its work! thanks!

Fabio Racobaldo _Herzum_
Community Champion
April 13, 2022

Well done @Michail Bashlykov .Please mark answer as accepted

Suggest an answer

Log in or Sign up to answer