...
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 Column | | width | 400px
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
On this page:
|
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.
...