Forums

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

How to write a condition for issue priority in a ScripRunner listener

Hadas Hamerovv
Contributor
October 21, 2021

Hi,
I am trying to add a conditioin for a listener where the priority of the issue is either "High" or Show "Stopper".

I do not know the exact syntax and need you help.

I wrote this:
issue.Priority.match('(Name)$') == "Show Stopper" || issue.Priority.match('(Name)$') == "High"

Can anyone help?

1 answer

0 votes
Renee Briggs June 28, 2022

I have the same question, any resolution on this @Hadas Hamerovv

Suggest an answer

Log in or Sign up to answer