Abstract
This code snippet filters values from a collection of objects based on a condition
...
The output of this snippet is a subset of the existing values of a multi-valued field which you could use in a Groovy expression, to
...
to
...
language | js |
---|---|
linenumbers | true |
...
Send an email to all the customers watching the ticket using the Email issue post-function. For this, you need to add this script in the "Users from script" field in the post-function configurationĀ
Code Block language js linenumbers true return issue.get("watches").findAll{ it.isInProjectRole("Service Desk Customers",issue.get("project") ) }
...