Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

languagejs
linenumberstrue

...

  • 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
    languagejs
    linenumberstrue
    return issue.get("watches").findAll{
      it.isInProjectRole("Service Desk Customers",issue.get("project") )
    }


...