Versions Compared

Key

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

...

To write a Jira expression that accesses the fields of an issue, the easiest way is to use the "Issue Fields" tab in the Jira expressions editor help. Followed by that you can use the To see the properties and methods of the returned value use the "Data Types" tab in the editor to see the properties and methods of the returned value. For example, to access the "Assignee" field of an issue using the Jira expressions:

  1. Click on "Issue Fields" tab.
  2. Select the "Assignee" field from the from Select a field; the help shows you how to access the field, its sub-fields and test the field value.
  3. Click on one of the expressions to insert it into the editor; the help shows you the supported properties and methods of the returned Data Type.

Another way is to go to the "Data Types" tab of the Jira expressions editor and select "Issue" from "Select a Data Type" field. The help lists properties and methods of the Issue data type. Click on a button to insert it into the editor; hover over it to get the information. 

Structure of the transition variable

...

  • id: The transition ID (Number).
  • name: The transition name (String).
  • from: The current status of the issue (IssueStatus).
  • to: The target status of the transition (IssueStatus)
  • hasScreen: true if there is a screen configured for this transition, false otherwise (Boolean)

To access the above fields for the current transition use Use the "Global Variables" tab of the Jira expressions editor . It shows expressions to access the current transition information.