Context variables

The following context variables are available to expressions:

  • user (User): The user the condition is evaluated for.

  • issue (Issue): The issue selected for the transition.

  • project (Project): The project the issue belongs to.

  • transition (Transition): The transition that the condition is being evaluated against.

  • workflow (Workflow): The workflow that contains the condition

Additionally, these are available in Validators:

  • originalIssue (Issue): The issue before changes were made on the transition screen. This variable is not available when validator is defined for the initial transition.

Additionally, these are available for Jira Service Desk transitions:

  • customerRequest (CustomerRequest): The customer request selected for transition. It is not available on initial transition (Create issue).

  • serviceDesk (ServiceDesk): The service desk the customer request belongs to.

Last updated