Field codes

One of the main features of JWT for Jira Cloud is the easy access to Jira data through the use of field codes.

Depending on the selected Parsing mode, the available field codes will vary. Custom fields are shown if they are defined for a global context or if the "Jira Workflow Toolbox Cloud" user has browse permissions for the respective project.

JWT field codes are currently available to be used in post functions with the following Parsing modes:

Jira expressions use the Jira expression parsing mode and a different set of field codes. They can be used in post functions as well as in the Jira expression condition/validator.

If you want to include Jira expression field codes in the General mode or the Logical mode, simply use the JWT expression parser function jiraExpression(), e.g. %{jiraExpression(issue?.sprint?.endDate)} to get the end date of the sprint (this field is not available as JWT field code).

General information about JWT field codes

Field code notation

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

Available contexts (or origins) in JWT for Jira Cloud are:

Context

Description

issue

The issue that is processed by the workflow post function

parent

The parent of the issue that is processed by the workflow post function - if available

seed

The field value will be retrieved from the element currently being processed by a workflow function capable of handling multiple elements (e.g. Create issue post function).

Elements can be:

  • texts

  • numbers

  • issues

depending on your configuration. Read more about seeds.

system

Some data does not have an issue context (e.g. the currently logged in user or the system date and time)

action

This field code context is only available in the post function Execute remote action. It is used to access data which is returned by the executed action.

The prefix, denoting the origin (where the data should be read from / written to), is a referential part of the field code and will be inserted into the expression whenever you select a field from a drop-down list.

Here are some examples:

Field code

Output

%{issue.description}

The description of the current issue

%{parent.summary}

The summary of the parent issue

%{issue.project.lead}

The project lead of the project the issue belong to

%{seed.issue.summary}

The summary of the current element of the issue list when using the mode "Multiple issues based on an issue list"

%{seed.text}

The text of the current element of the text list when using the mode "Multiple issues based on a text list"

%{seed.number}

The value of the current number when using the mode "Multiple issues based on a number"

%{system.currentUser}

The current user (executing the post function)

%{action.status}

The status of the action that was executed in the post function Execute remote action.

Numbers vs Text

Field codes must always be enclosed by curly brackets. If they are used for texts, the brackets must be preceded by a percent sign % .

  • Numeric fields can be referenced as numbers using the following notation: {issue.somenumberfield} . ( info no preceding % sign)

    • If the field is not set or doesn't return a number (e.g. if the issue summary equals "Issue's summary" and you enter {issue.summary} ), it is evaluated to null .

  • Text fields: Any field type or data type can be transformed to text, so any field can be referenced as a text value using the following notation: %{issue.somefield}

    • If a field has no value ( null ), an empty text will be returned.

  • Cascading Select fields are treated as text fields, where i is the index that represents the level to be accessed. ( i = 0 is used for base level) are notated as %{issue.somefield.i}

For some fields not only their value can be returned, but also the respective ID. This ID is typically used when writing a field value, but it can also be used when reading a field value.

If a custom field is able to return an ID it can be accessed using the field code %{somefield.id} . The column ID in the lists below shows a value for the respective field, if applicable.

Available JWT field codes

  • Issue related fields can belong to an issue or it's parent. In case you want to retrieve the value of the parent issue, "issue" has to be replaced "parent" as in %{parent.summary}. In case, a field is not set (or even non-existent), this field is evaluated to null , i.e. an empty text.

  • The field codes for all custom fields are notated in the following format: %{issue.cfnnnnn}, where nnnnn contains the Jira custom field ID.

  • If Jira Software is installed on your Jira instance, you can retrieve the data stored in the Jira Software related field with Jira Workflow Toolbox for Jira Cloud as well. You can access those, like any other custom field in your instance, i.e. %{issue.cfnnnn}, where nnnnn contains the Jira custom field ID .

  • Writable fields can be updated by JWT for Jira Cloud post functions . All writable fields are also readable.

  • The field codes for all custom fields are notated in the following format: %{issue.cfnnnnn}, where nnnnn contains the Jira custom field ID.

  • All custom field types are supported for reading in JWT expressions, including fields whose type does not appear in the field injector. In these cases, the raw value is exposed so you can handle it yourself (for example using getFromJSON() for JSON content).

Please note that the field you want to set must be located on the corresponding screen and the executing user must have all the necessary permissions and access to the issue.

General information about Jira expression field codes

Introduction

All fields, methods and operators listed for the Jira eypression field codes have been taken from the official documentation and cannot be extended by JWT for Jira Cloud.

In the list we use optional chaining to avoid errors when trying to access field values of null objects. In case a field is not set, null is returned for the respective attribute, e.g. issue?.resolution?.name will return null in case the resolution is not set. Without the optional chaining an error will be returned.

If a .map() function is used as field code (e.g.issue?.links?.map(link => link.linkedIssue.key) for Keys of linked issues ), then this map will return an error in case the issue does not have links. You have to ensure in your final expression that this error will be handled. This can be done by using the field code only when there are issue links, e.g. issue.links != null && issue?.links?.map(link => link.linkedIssue.key).

All custom fields are available and can be referenced by one of the following:

  • ID:issue.customfield_10010 for default custom field types

  • key: issue['com.my.app.field-key'] for custom field types provided by 3rd party apps

Custom fields are returned as JSON values, using exactly the same format as in the issue REST API. You have to access the respective property, e.g. issue.customfield_10010.value

Any field that is hidden in the active field configuration for the current issue will be returned as null, regardless of its actual value. Read more about hiding and showing fields in the documentation on the Changing a field configuration page.

All available field codes in one place!

Available field codes

Attachments

Field name JWT field code Jira expression field code Example output
Attachment author

issue?.attachments[0]?.author

557068:145e0983-5707-439c-80e4-1160dd57g114

Attachment size

issue?.attachments[0]?.size

80000

Attachments

%{issue.attachments}

issue?.attachments?.map(a => a.filename)

file1.txt,readme.pdf,screenshot.png

Attachment file name

issue?.attachments[0]?.filename

img01.png

Attachment created

issue?.attachments[0]?.created

2021-07-26T06:38:17.622-1100

Attachment ID

issue?.attachments[0]?.id

10042

Attachment media type

issue?.attachments[0]?.mimeType

image/jpeg

Comments

Field name JWT field code Jira expression field code Example output
Comment author

issue?.comments[0]?.author?.accountId

557068:145e0983-5707-439c-80e4-1160dd57g114

Last public comment date

%{issue.cfnnnnn}

issue?.customfield_nnnnn

Thu Feb 13 10:34:55 UTC 2020

Last commented by a User Flag

%{issue.cfnnnnn}

issue?.customfield_nnnnn

true

Last comment

%{issue.lastComment}

issue?.comments != [] ? issue?.comments[issue?.comments?.length-1].body?.plainText : null

Take your Jira to the next level by using JWT for Jira Cloud

Comment updated

issue?.comments[0]?.updated

2020-02-24T23:10:57.293-1100

Comment ID

issue?.comments[0]?.id

10991

Days since last comment

{issue.cfnnnnn}

issue?.customfield_nnnnn

2

Comment body

issue?.comments[0]?.body?.plainText

Could someone review this issue? Thank you.

Last commenter

%{issue.lastComment.author}

issue?.comments!= [] ? issue?.comments[issue?.comments?.length-1].author?.accountId : null

557068:145e0983-5707-439c-80e4-1160dd57g114

Comment created

issue?.comments[0]?.created

2019-03-05T04:30:41.229-1100

Components

Field name JWT field code Jira expression field code Example input Example output
Component/s ID

{issue.components.id}

issue?.components?.map(c => c.id)

10000, 10001

10010,10020,10030

Component/s

%{issue.components}

issue?.components?.map(c => c.name)

Web Site,Authenticator,Statistics

Component/s leads

%{issue.components.leads}

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554,765428:168p0983-5987-444e-80e4-1160dd57g114

Date and time

Field name JWT field code Jira expression field code Example input Example output
Date and time of creation

%{issue.created}

issue?.created

2019-04-01T14:19:07.060+0200

Date and time of last update

%{issue.updated}

issue?.updated

2019-04-01T14:19:07.060+0200

Due date

%{issue.dueDate}

issue?.dueDate

2019-10-22

2019-10-22

Original estimate

%{issue.originalEstimate.text}


3h 30m

Date Picker

%{issue.cfnnnnn}

issue?.customfield_nnnnn

2020-04-22

2020-04-22

Remaining estimate

%{issue.remainingEstimate.text}


2h 45m

Date and time of resolution

%{issue.resolutionDate}

issue?.resolutionDate

2019-04-01T14:19:07.060+0200

Date Time Picker

%{issue.cfnnnnn}

issue?.customfield_nnnnn

2020-04-23T14:26:00.000+0100

2020-04-23T14:26:00.000+0100

Days since last comment

{issue.cfnnnnn}

issue?.customfield_nnnnn

2

Total time

{issue.timeSpent}

issue?.timeSpent/60

90

Remaining estimate (minutes)

{issue.remainingEstimate}

issue?.remainingEstimate/60

60

165

Resolution date

%{issue.resolutionDate}

issue?.resolutionDate

2019-12-04T09:30:46.279+0100

Original estimate (minutes)

{issue.originalEstimate}

issue?.originalEstimate/60

60

210

Current date and time

%{system.currentDateTime}

new Date()

2019-04-01T14:19:07.060+0200

Date and time of latest status change

%{issue.lastStatusChange}

2019-04-01T14:19:07.060+0200

Field name JWT field code Jira expression field code Example input Example output
Project Picker (single project)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.key

10045

PRJ

Component/s ID

{issue.components.id}

issue?.components?.map(c => c.id)

10000, 10001

10010,10020,10030

Date and time of creation

%{issue.created}

issue?.created

2019-04-01T14:19:07.060+0200

Project ID

{issue.project.id}

issue?.project?.id

10200

10100

Issue link outward issue

issue?.links[0]?.outwardIssue?.key

PRJ-77

Resolution

%{issue.resolution}

issue?.resolution?.name

Won't fix

Creator

%{issue.creator}

issue?.creator?.accountId

765428:168p0983-5987-444e-80e4-1160dd57g114

Issue status ID

%{issue.status.id}

issue?.status?.id

10100

Issue key

%{issue.key}

issue?.key

CRM-25

Resolution ID

%{issue.resolution.id}

issue?.resolution?.id

10200

10000

Domain of reporter

%{issue.cfnnnnn}

issue?.customfield_nnnnn

atlassian.com

Participants of an issue

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(p = >p.accountId)

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

Checkboxes

%{issue.cfnnnnn}

issue?.customfield_nnnn?.map(c => c.value)

10003,10004

Checkbox 1,Checkbox 2

Assets object/s

%{issue.cfnnnnn}


SVC-1, SVC-23

SVC-1, SVC-23

Assets object/s ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.map(g => g.id)


a77bd055-dc1e-42ae-ae92-6faf95345f3b:1, b37bd055-dc1e-42ae-ae92-6faf95345f3b:1

Parent

%{issue.parentKey}

issue?.parent?.key

CRM-14

CRM-6

Last public comment date

%{issue.cfnnnnn}

issue?.customfield_nnnnn

Thu Feb 13 10:34:55 UTC 2020

Project Picker (single project) - Name

%{issue.cfnnnnn.name}

issue?.customfield_nnnnn?.name


Development Project

Date and time of last update

%{issue.updated}

issue?.updated

2019-04-01T14:19:07.060+0200

Project category

%{issue.project.category}

issue?.project?.projectCategory?.name  

Development

Select List (single choice)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.value

10054

Option 2

Issue link inward issue

issue?.links[0]?.inwardIssue?.key

PRJ-5

Reporter's email

%{issue.reporter.email}

user@example.com

Last commented by a User Flag

%{issue.cfnnnnn}

issue?.customfield_nnnnn

true

Issue link type outward

issue?.links[0]?.type?.outward

duplicates

Last comment

%{issue.lastComment}

issue?.comments != [] ? issue?.comments[issue?.comments?.length-1].body?.plainText : null

Take your Jira to the next level by using JWT for Jira Cloud

Domain of Assignee

%{issue.cfnnnnn}

issue?.customfield_nnnnn

decadis.de

Issue status

%{issue.status}

issue?.status?.name

Open

Creator's email

%{issue.creator.email}

user@example.com

Organization/s

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.name)?.sort()


Atlassian, Decadis

Due date

%{issue.dueDate}

issue?.dueDate

2019-10-22

2019-10-22

Original estimate

%{issue.originalEstimate.text}


3h 30m

Date Picker

%{issue.cfnnnnn}

issue?.customfield_nnnnn

2020-04-22

2020-04-22

Available transitions

%{issue.transitions.achievable}

Start Progress,Resolve Issue,Close Issue

Remaining estimate

%{issue.remainingEstimate.text}


2h 45m

Environment

%{issue.environment}

issue?.environment?.plainText

Take your Jira to the next level by using JWT for Jira Cloud

Cloud

Number of affects version/s

{issue.versions.length}

issue?.versions?.length

3

Attachments

%{issue.attachments}

issue?.attachments?.map(a => a.filename)

file1.txt,readme.pdf,screenshot.png

Number Field

{issue.cfnnnnn}

issue?.customfield_nnnnn

12.12

2.7181

Temporary text

This is a text stored temporarily

This is a text stored temporarily

Temporary number

10

10

Project description

%{issue.project.description}

Take your Jira to the next level by using JWT for Jira Cloud

Labels (Custom field)

%{issue.cfnnnnn}

issue?.cfnnnnn

web, customer, java, mobile

web,customer,java,mobile

Number of labels

{issue.labels.length}

issue?.labels?.length

4

Version Picker (single version)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.name

10010

Version 1.2

Available target statuses

%{issue.status.achievable}

In Progress,Resolved,Closed

Number of votes received

%{issue.votes}

issue?.votes

5

Issue link linked issue

issue?.links[0]?.linkedIssue?.key

PRJ-5

Number of comments

{issue.cfnnnnn}

issue?.customfield_nnnnn

7

Date and time of resolution

%{issue.resolutionDate}

issue?.resolutionDate

2019-04-01T14:19:07.060+0200

Issue link type inward

issue?.links[0]?.type?.inward

is duplicated by

Number of sub-tasks

{issue.subtasks.length}

issue?.subtasks?.length

3

Date Time Picker

%{issue.cfnnnnn}

issue?.customfield_nnnnn

2020-04-23T14:26:00.000+0100

2020-04-23T14:26:00.000+0100

Previous issue status

%{issue.status.previous}

Closed

URL Field

%{issue.cfnnnnn}

issue?.customfield_nnnnn

apps.decadis.net

apps.decadis.net

Assets object/s name

%{issue.cfnnnnn.name}



iPhone13, iPhone 16

Group Picker (multiple groups)

%{issue.cfnnnnn}

issue?.customfield_nnnnn.map(g = >g.name)

admin, jira-developers

admin,jira-developers

Component/s

%{issue.components}

issue?.components?.map(c => c.name)

Web Site,Authenticator,Statistics

Days since last comment

{issue.cfnnnnn}

issue?.customfield_nnnnn

2

Request participant/s full name

%{issue.cfnnnnn.displayName}

issue?.customfield_nnnnn?.map(u => u.displayName)?.sort()


John Doe, Max Mustermann

Watchers

%{issue.watcher}

issue?.watchers?.map(w => w.accountId)

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

Security level ID

{issue.securityLevel.id}

issue?.securityLevel?.id

10010

10001

Fix version/s ID

{issue.fixVersions.id}

issue?.fixVersions?.map(v => v.id)

10007, 10000

10010,10020,10030

User Picker (multiple users)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.accountId)

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

Total time

{issue.timeSpent}

issue?.timeSpent/60

90

Organization/s ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.map(u => u.id)?.sort()

45, 23

45, 23

Number of attachments

{issue.attachments.length}

issue?.attachments?.length

3

Project

%{issue.project}

issue?.project?.key

HR

Issue type

%{issue.issueType}

issue?.issueType?.name

10003

Improvement

Remaining estimate (minutes)

{issue.remainingEstimate}

issue?.remainingEstimate/60

60

165

Assignee's full name

%{issue.assignee.displayName}

issue?.assignee?.displayName

Bob Smith

Description

%{issue.description}

issue?.description?.plainText

Take your Jira to the next level by using JWT for Jira Cloud

Take your Jira to the next level by using JWT for Jira Cloud

Number of fix version/s

{issue.fixVersions.length}

issue?.fixVersions?.length

5

Issue ID

{issue.id}

issue?.id

10001

Issue status category

%{issue.status.category}

issue?.status?.category?.name

Done

Project name

%{issue.project.name}

issue?.project?.name

Customer Relationship Management

Team

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.name


Development

Reporter

%{issue.reporter}

issue?.reporter?.accountId

60

165

Group Picker (multiple groups) ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn.map(g = >g.groupId)

b23a6c98-ad4f-4b31-973d-adc056c49190, 02d209f7-ddbb-4362-a22b-38a503bddca0

b23a6c98-ad4f-4b31-973d-adc056c49190,02d209f7-ddbb-4362-a22b-38a503bddca0

Project key

%{issue.project.key}

issue?.project?.key

HR

Issue link direction

issue?.links[0]?.direction

inward

Keys of sub-tasks

%{issue.subtasks}

issue?.subtasks?.map(s => s.key)

CRM-23,CRM-26,CRM-31

Select list (cascading)

%{issue.cfnnnnn}

[issue?.customfield_nnnnn?.value,issue?.customfield_nnnnn?.child?.value]

10034,10555

Parent,child

Summary

%{issue.summary}

issue?.summary

Take your Jira to the next level by using JWT for Jira Cloud

Take your Jira to the next level by using JWT for Jira Cloud

Request Type

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.requestType?.name


Get IT help

Group Picker (single group) ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.groupId

Admin

Administration

Keys of linked issues

%{issue.links}

issue?.links?.map(link => link.linkedIssue.key)

CRM-13,HR-25,SD-12

Number of linked issues

{issue.links.length}

issue?.links?.length

3

Text field (multi-line)

%{issue.cfnnnnn}

issue?.customfield_nnnnn

A text with a

couple of lines.

A text with a

couple of lines.

Security level

%{issue.securityLevel}

issue?.securityLevel?.name

Classified

Issue type ID

{issue.issueType.id}

issue?.issueType?.id

10052

10056

Project lead's full name

%{issue.project.leadDisplayName}

Robert Smith

Original estimate (minutes)

{issue.originalEstimate}

issue?.originalEstimate/60

60

210

Priority ID

{issue.priority.id}

issue?.priority?.id

10004

10010

Affects version/s

%{issue.versions}

issue?.versions?.map(v => v.name)

Version 1.0,Version 1.2

Project lead's email

%{issue.project.leadEmail}

user@example.com

Group Picker (single group)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.name

Admin

Administration

Last commenter

%{issue.lastComment.author}

issue?.comments!= [] ? issue?.comments[issue?.comments?.length-1].author?.accountId : null

557068:145e0983-5707-439c-80e4-1160dd57g114

Issue link type ID

issue?.links[0]?.type?.id

10002

Radio Buttons

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.value

10012

Radio 1

Reporter's full name

%{issue.reporter.displayName}

issue?.reporter?.displayName

Robert Smith

Date and time of latest status change

%{issue.lastStatusChange}

2019-04-01T14:19:07.060+0200

Request participant/s

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.accountId)?.sort()

633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c

633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c

Project URL

%{issue.project.url}

https://www.decadis.de/x

Labels

%{issue.labels}

issue?.labels

web, customer, java, mobile

web,customer,java,mobile

Version Picker (multiple versions)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(v => v.name).sort()

Version 1.0,Version 1.2

Version 1.0,Version 1.2

Team ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.id

9bef0763-88f1-49df-h76f-2a7fedcf349c

9bef0763-88f1-49df-h76f-2a7fedcf349c

Priority

%{issue.priority}

issue?.priority?.name

Critical

Issue link ID

issue?.links[0]?.id

10045

Creator's full name

%{issue.creator.displayName}

issue?.creator?.displayName

Bob Smith

Assignee's email

%{issue.assignee.email}

user@example.com

Issue type description

issue?.issueType?.description

A task that needs to be done.

Text field (single line)

%{issue.cfnnnnn}

issue?.customfield_nnnnn

One-liner

This is only one line.

Issue link type name

issue?.links[0]?.type?.name

Duplicates

Project lead

%{issue.project.lead}

557068:145e0983-5707-439c-80e4-1160dd57g114

Select List (multiple choices)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(e => e.value)

10054, 10056

Option1,Option3

Component/s leads

%{issue.components.leads}

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554,765428:168p0983-5987-444e-80e4-1160dd57g114

Username of last updater or commenter

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.accountId

777068:145e0983-5707-439c-80e4-1160dd57x554

Fix version/s

%{issue.fixVersions}

issue?.fixVersions?.map(v => v.name)

1.0,2.0,2.1

User Picker (single user)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.accountId

557068:145e0983-5707-439c-80e4-1160dd57g114

557068:145e0983-5707-439c-80e4-1160dd57g114

Assignee

%{issue.assignee}

issue?.assignee?.accountId

557068:145e0983-5707-439c-80e4-1160dd57g114

557068:145e0983-5707-439c-80e4-1160dd57g114

Affects version/s ID

{issue.versions.id}

issue?.versions?.map(v => v.id)

10054, 10056

10010,10020,10030

Request Type ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.requestType?.id

34

34

Jira Service Management

If Jira Service Management is licensed for the current user, the following fields will also be available.

Field name JWT field code Jira expression field code Example input Example output
Assets object/s

%{issue.cfnnnnn}


SVC-1, SVC-23

SVC-1, SVC-23

Assets object/s ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.map(g => g.id)


a77bd055-dc1e-42ae-ae92-6faf95345f3b:1, b37bd055-dc1e-42ae-ae92-6faf95345f3b:1

Organization/s

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.name)?.sort()


Atlassian, Decadis

Assets object/s name

%{issue.cfnnnnn.name}



iPhone13, iPhone 16

Request participant/s full name

%{issue.cfnnnnn.displayName}

issue?.customfield_nnnnn?.map(u => u.displayName)?.sort()


John Doe, Max Mustermann

Organization/s ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.map(u => u.id)?.sort()

45, 23

45, 23

Request Type

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.requestType?.name


Get IT help

Request participant/s

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.accountId)?.sort()

633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c

633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c

Request Type ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.requestType?.id

34

34

Jira Software

Epics (issues that have issue.isEpic equal to true or returned by issue.epic ) have additional, epic-specific fields. These fields are nullfor regular issues.

Field name JWT field code Jira expression field code Example input Example output
Epic name

%{issue.cfnnnn}

issue?.epic?.name

This is my Epic's name

This is my Epic's name

Flagged

issue?.flagged

true

Sprint ID

{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(c = >c.id).sort()

4

Epic link

%{issue.cfnnnn}

issue?.epic?.key

PRJ-2

PRJ-2

Epic Status

%{issue.cfnnnnn}

issue?.epic?.status?.name

To Do

Sprint endDate

issue?.sprint?.endDate

2021-06-10T04:08:00.000-1100

Sprint startDate

issue?.sprint?.startDate

2021-05-27T04:08:00.000-1100

Sprint goal

issue?.sprint?.goal

Finish MVP

Closed sprints

issue?.closedSprints?.map(s => s.name)

Start, MVP

Epic color

%{issue.cfnnnn}

issue?.customfield_nnnnn

ghx-label-10

Sprint

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(c => c.name).sort()

2

First sprint

Sprint completeDate

issue?.sprint?.completeDate

2021-08-10T15:08:00.000Z

Epic done

issue?.epic?.done

true

Story point estimate

%{issue.cfnnnnn}

issue?.customfield_nnnnn

34

40

Stories

issue?.epic?.stories?.map(s => s.key)

PU-3,PU-25,PU-7

Is Epic

issue?.isEpic

true

Rank

%{issue.cfnnnnn}

issue?.customfield_nnnnn

0|i0016n:

Sprint state

issue?.sprint?.state

active

Numbers

Field name JWT field code Jira expression field code Example input Example output
Number of affects version/s

{issue.versions.length}

issue?.versions?.length

3

Number Field

{issue.cfnnnnn}

issue?.customfield_nnnnn

12.12

2.7181

Number of labels

{issue.labels.length}

issue?.labels?.length

4

Number of votes received

%{issue.votes}

issue?.votes

5

Number of comments

{issue.cfnnnnn}

issue?.customfield_nnnnn

7

Number of sub-tasks

{issue.subtasks.length}

issue?.subtasks?.length

3

Number of attachments

{issue.attachments.length}

issue?.attachments?.length

3

Number of fix version/s

{issue.fixVersions.length}

issue?.fixVersions?.length

5

Number of linked issues

{issue.links.length}

issue?.links?.length

3

Priority

Field name JWT field code Jira expression field code Example input Example output
Priority description

issue?.priority?.description

This is the highest priority

Priority ID

{issue.priority.id}

issue?.priority?.id

10004

10010

Team ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.id

9bef0763-88f1-49df-h76f-2a7fedcf349c

9bef0763-88f1-49df-h76f-2a7fedcf349c

Priority

%{issue.priority}

issue?.priority?.name

Critical

Project

Field name JWT field code Jira expression field code Example input Example output
Project Picker (single project)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.key

10045

PRJ

Project ID

{issue.project.id}

issue?.project?.id

10200

10100

Project Picker (single project) - Name

%{issue.cfnnnnn.name}

issue?.customfield_nnnnn?.name


Development Project

Project category

%{issue.project.category}

issue?.project?.projectCategory?.name  

Development

Project description

%{issue.project.description}

Take your Jira to the next level by using JWT for Jira Cloud

Project

%{issue.project}

issue?.project?.key

HR

Project name

%{issue.project.name}

issue?.project?.name

Customer Relationship Management

Project key

%{issue.project.key}

issue?.project?.key

HR

Project lead's full name

%{issue.project.leadDisplayName}

Robert Smith

Project lead's email

%{issue.project.leadEmail}

user@example.com

Project style

issue?.project?.style

classic

Project type key

issue?.project?.projectTypeKey

software

Project URL

%{issue.project.url}

https://www.decadis.de/x

Project lead

%{issue.project.lead}

557068:145e0983-5707-439c-80e4-1160dd57g114

Resolution

Field name JWT field code Jira expression field code Example input Example output
Resolution

%{issue.resolution}

issue?.resolution?.name

Won't fix

Resolution ID

%{issue.resolution.id}

issue?.resolution?.id

10200

10000

Assets object/s

%{issue.cfnnnnn}


SVC-1, SVC-23

SVC-1, SVC-23

Assets object/s ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.map(g => g.id)


a77bd055-dc1e-42ae-ae92-6faf95345f3b:1, b37bd055-dc1e-42ae-ae92-6faf95345f3b:1

Organization/s

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.name)?.sort()


Atlassian, Decadis

Assets object/s name

%{issue.cfnnnnn.name}



iPhone13, iPhone 16

Request participant/s full name

%{issue.cfnnnnn.displayName}

issue?.customfield_nnnnn?.map(u => u.displayName)?.sort()


John Doe, Max Mustermann

Organization/s ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.map(u => u.id)?.sort()

45, 23

45, 23

Resolution date

%{issue.resolutionDate}

issue?.resolutionDate

2019-12-04T09:30:46.279+0100

Team

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.name


Development

Request Type

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.requestType?.name


Get IT help

Resolution description

issue?.resolution?.description

Work has been completed on this issue.

Request participant/s

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.accountId)?.sort()

633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c

633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c

Request Type ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.requestType?.id

34

34

Security

Field name JWT field code Jira expression field code Example input Example output
Security level ID

{issue.securityLevel.id}

issue?.securityLevel?.id

10010

10001

Security level description

issue?.securityLevel?.description

only the reporter has access

Security level

%{issue.securityLevel}

issue?.securityLevel?.name

Classified

Status

Field name JWT field code Jira expression field code Example input Example output
Issue status ID

%{issue.status.id}

issue?.status?.id

10100

Status category color

issue?.status?.category?.colorName

grey-blue

Issue status

%{issue.status}

issue?.status?.name

Open

Available transitions

%{issue.transitions.achievable}

Start Progress,Resolve Issue,Close Issue

Issue status description

issue?.status?.description

This issue is considered Done

Available target statuses

%{issue.status.achievable}

In Progress,Resolved,Closed

Previous issue status

%{issue.status.previous}

Closed

Issue status category

%{issue.status.category}

issue?.status?.category?.name

Done

Status category ID

issue?.status?.category?.id

4

Status category key

issue?.status?.category?.key

New

System

Field name JWT field code Jira expression field code Example input Example output
Current user's email

%{system.currentUser.email}

user@example.com

Current user

%{system.currentUser}

user.accountId

777068:145e0983-5707-439c-80e4-1160dd57x554

Current user's full name

%{system.currentUser.displayName}

user.displayName

Bob Smith

Current date and time

%{system.currentDateTime}

new Date()

2019-04-01T14:19:07.060+0200

JIRA base URL

%{system.baseUrl}

https://jwt-cloud.atlassian.net

User

Field name JWT field code Jira expression field code Example input Example output
Creator

%{issue.creator}

issue?.creator?.accountId

765428:168p0983-5987-444e-80e4-1160dd57g114

Participants of an issue

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(p = >p.accountId)

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

Reporter's email

%{issue.reporter.email}

user@example.com

Current user's email

%{system.currentUser.email}

user@example.com

Creator's email

%{issue.creator.email}

user@example.com

Current user

%{system.currentUser}

user.accountId

777068:145e0983-5707-439c-80e4-1160dd57x554

Current user's full name

%{system.currentUser.displayName}

user.displayName

Bob Smith

Group Picker (multiple groups)

%{issue.cfnnnnn}

issue?.customfield_nnnnn.map(g = >g.name)

admin, jira-developers

admin,jira-developers

Watchers

%{issue.watcher}

issue?.watchers?.map(w => w.accountId)

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

User Picker (multiple users)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(u => u.accountId)

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554

Assignee's full name

%{issue.assignee.displayName}

issue?.assignee?.displayName

Bob Smith

Reporter

%{issue.reporter}

issue?.reporter?.accountId

60

165

Group Picker (multiple groups) ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn.map(g = >g.groupId)

b23a6c98-ad4f-4b31-973d-adc056c49190, 02d209f7-ddbb-4362-a22b-38a503bddca0

b23a6c98-ad4f-4b31-973d-adc056c49190,02d209f7-ddbb-4362-a22b-38a503bddca0

Group Picker (single group) ID

%{issue.cfnnnnn.id}

issue?.customfield_nnnnn?.groupId

Admin

Administration

Group Picker (single group)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.name

Admin

Administration

Last commenter

%{issue.lastComment.author}

issue?.comments!= [] ? issue?.comments[issue?.comments?.length-1].author?.accountId : null

557068:145e0983-5707-439c-80e4-1160dd57g114

Reporter's full name

%{issue.reporter.displayName}

issue?.reporter?.displayName

Robert Smith

Creator's full name

%{issue.creator.displayName}

issue?.creator?.displayName

Bob Smith

Assignee's email

%{issue.assignee.email}

user@example.com

Username of last updater or commenter

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.accountId

777068:145e0983-5707-439c-80e4-1160dd57x554

User Picker (single user)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.accountId

557068:145e0983-5707-439c-80e4-1160dd57g114

557068:145e0983-5707-439c-80e4-1160dd57g114

Assignee

%{issue.assignee}

issue?.assignee?.accountId

557068:145e0983-5707-439c-80e4-1160dd57g114

557068:145e0983-5707-439c-80e4-1160dd57g114

Versions

Field name JWT field code Jira expression field code Example input Example output
Version released

issue?.versions[0]?
issue?.versions[0]?.released
issue?.fixVersions[0]?.released

true

Version Picker (single version)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.name

10010

Version 1.2

Version archived

issue?.versions[0]?.archived
issue?.fixVersions[0]?.archived

false

Fix version/s ID

{issue.fixVersions.id}

issue?.fixVersions?.map(v => v.id)

10007, 10000

10010,10020,10030

Version release date

issue?.versions[0]?.releaseDate
issue?.fixVersions[0]?.releaseDate

2020-04-28

Affects version/s

%{issue.versions}

issue?.versions?.map(v => v.name)

Version 1.0,Version 1.2

Version description

issue?.versions[0]?.description
issue?.fixVersions[0]?.description

Switching to React Frontend

Version Picker (multiple versions)

%{issue.cfnnnnn}

issue?.customfield_nnnnn?.map(v => v.name).sort()

Version 1.0,Version 1.2

Version 1.0,Version 1.2

Fix version/s

%{issue.fixVersions}

issue?.fixVersions?.map(v => v.name)

1.0,2.0,2.1

Affects version/s ID

{issue.versions.id}

issue?.versions?.map(v => v.id)

10054, 10056

10010,10020,10030

Actions

Field name JWT field code Example output
Action response

%{action.response}

{"self": "https://your-domain.atlassian.net/jira/rest/api/3/project/10042","id": 10010,"key": "PROJ"} 

Action status

%{action.status}

200

Action response details

%{action.response.JMESPath}

PROJ