You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


Status
Tech review

TODO

Style guide

TODO

TODO

DONE

FLAGGED

On this page



Overview

One of the most important features of JWT is the easy accessibility to Jira data stored in system fields, custom fields and a significant number of other virtual fields that are made available by the JWT implementation.

You can access, validate, do mathematical calculations and manipulate the values found in these fields through the use of field codes 

A field code is a unique identifier (key) that can be used in any parser expression. At the same time a field code is a safety feature that makes your expressions immune to custom field renaming

Field codes are available for:

  • readable fields
  • writable fields
  • virtual fields
  • issue, project and user properties



 Field code notation

Depending on the context in which they are being used, field codes will contain a prefix following this notation{origin.field}.

What is the context?

The context basically determines where JWT will pull data from. Available contexts (or origins) in JWT are:

ContextDescriptionExamples
IssueThe most commonly used context. JWT will retrieve the data from the issue currently being processed (e.g. in a transition)
Examples
issue.description

The description of the current issue.

issue.description

The project lead of the project the current issue belongs to.

Parent

Seed

Trigger AUTOMATION ONLY



Selector

System