1
0
-1
2 answers
- 10-1
You can compare against the id of the status like in
if (issue.status.id == 4711 || issue.status.id == 6677) { ... }
The Status.groovy external script assumes that the value part of the workflowMapping is a name and not an id.
Of course - you can adapt in the external script.CommentAdd your comment... - 10-1
Thanks for the fast reply.
Does that also mean i use"Resolved" : 4711, "Closed" : 6677
instead of"Resolved" : "4711", "Closed" : "6677"
CommentAdd your comment...
Overview
Content Tools
search
attachments
weblink
advanced
for example i have status cool with id 4711 and mega with id 6677 how would i use them?
Do i use " or ' or just the ID without " or '?