Hello!,
something like this works like a charm
issue.status.name == "Approved"
But I struggle with a condition checking against few possible values
["Satus A","Status B"].contains(issue.status.name) did not work
neither did an attempt to use a regexp example from docs:
issue.status.name.match('^(Approved/Launch Pending|Canceled|Waiting on Response|Requestor Review|In Progress)$') != null
Honestly I am not a regexp pro :)
Hi @Alexey Paveliev ,
I believe "contains" should work, it's strange, it doesn't work. Did you try to debug the value of issue.status.name, if the value is really the same as one of the valuese in the list?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.