Versions Compared

Key

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


...


400px

Column
Excerpt

Context variables (as mentioned in Jira expressions official documentation) are available depending on the context in which the Jira expression is evaluated. JMWE makes the issue, transition and user variables available to Jira expressions.

Column
width


Panel
borderColorsilver
bgColor#f5f5f5
borderWidth1
borderStylesolid

On this page:

Table of Contents

customerRequest variable

The customerRequest variable is used to insert data from the current customer request. Only applies when the current issue is a Jira Service Desk customer request. Returns null otherwise.

...

user.getProjectRoles(new Project("TEST")) returns the list of project roles the current user belongs to in the project with key TEST

user.getProjectRoles(issue.project).some(pr => pr.name == "Developers") returns true if the current user is a member of the "Developers" project role in the issue's project.

...