On this page
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).
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 |
---|---|
| The issue that is processed by the workflow post function |
| 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:
depending on your configuration. Read more about seeds. |
| 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 |
---|---|
| The description of the current issue |
| The summary of the parent issue |
| 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" |
| 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}
. ( 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 tonull
.
- 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
- 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.
- If a field has no value (
- 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'sparent
. 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 tonull
, 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.
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.
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!
Field name | JWT field code | Jira expression field code | Example output |
---|---|---|---|
Attachment author | issue?.attachments[0]?.author | 557068:145e0983-5707-439c-80e4-1160dd57g114 | |
Attachment created | issue?.attachments[0]?.created | 2021-07-26T06:38:17.622-1100 | |
Attachment file name |
| img01.png | |
Attachment ID |
| 10042 | |
Attachment media type | issue?.attachments[0]?.mimeType | image/jpeg | |
Attachments |
| issue?.attachments?.map(a => a.filename) | file1.txt,readme.pdf,screenshot.png |
Attachment size |
| 80000 |
Field name | JWT field code | Jira expression field code | Example output |
---|---|---|---|
Comment author |
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | |
Comment body |
| Could someone review this issue? Thank you. | |
Comment created |
| 2019-03-05T04:30:41.229-1100 | |
Comment ID |
| 10991 | |
Comment updated |
| 2020-02-24T23:10:57.293-1100 | |
Days since last comment | {issue.cfnnnnn} | issue?.customfield_nnnnn | 2 |
Last comment |
| issue?.comments != [] ? issue?.comments[issue?.comments?.length-1].body?.plainText : null | Take your Jira to the next level by using JWT for Jira Cloud |
Last commented by a User Flag |
%{issue.cfnnnnn} | issue?.customfield_nnnnn |
|
Last commenter |
| issue?.comments!= [] ? issue?.comments[issue?.comments?.length-1].author?.accountId : null | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
Last public comment date |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | Thu Feb 13 10:34:55 UTC 2020 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Component/s |
| issue?.components?.map(c => c.name) | Web Site,Authenticator,Statistics | |
Component/s ID |
| issue?.components?.map(c => c.id) | 10000, 10001 | 10010,10020,10030 |
Component/s leads |
| 557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554,765428:168p0983-5987-444e-80e4-1160dd57g114 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Current date and time |
| new Date() | 2019-04-01T14:19:07.060+0200 | |
Date and time of creation |
| issue?.created | 2019-04-01T14:19:07.060+0200 | |
Date and time of last update |
| issue?.updated | 2019-04-01T14:19:07.060+0200 | |
Date and time of latest status change |
| 2019-04-01T14:19:07.060+0200 | ||
Date and time of resolution |
| issue?.resolutionDate | 2019-04-01T14:19:07.060+0200 | |
Date Picker |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | 2020-04-22 | 2020-04-22 |
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 | |
Due date |
|
| 2019-10-22 | 2019-10-22 |
Original estimate |
| 3h 30m | ||
Original estimate (minutes) | {issue.originalEstimate} | issue?.originalEstimate/60 | 60 | 210 |
Remaining estimate |
| 2h 45m | ||
Remaining estimate (minutes) | {issue.remainingEstimate} | issue?.remainingEstimate/60 | 60 | 165 |
Resolution date | %{issue.resolutionDate} |
| 2019-12-04T09:30:46.279+0100 | |
Total time spent (minutes) |
| issue?.timeSpent/60 | 90 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Affects version/s | %{issue.versions} | issue?.versions?.map(v => v.name) | Version 1.0,Version 1.2 | |
Affects version/s ID |
| issue?.versions?.map(v => v.id) | 10054, 10056 | 10010,10020,10030 |
Assets object/s |
| SVC-1, SVC-23 | SVC-1, SVC-23 | |
Assets object/s ID |
|
| a77bd055-dc1e-42ae-ae92-6faf95345f3b:1, b37bd055-dc1e-42ae-ae92-6faf95345f3b:1 | |
Assets object/s name |
| iPhone13, iPhone 16 | ||
Assignee |
|
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
Assignee's email |
| user@example.com | ||
Assignee's full name |
| issue?.assignee?.displayName | Bob Smith | |
Attachments |
| issue?.attachments?.map(a => a.filename) | file1.txt,readme.pdf,screenshot.png | |
Available target statuses | %{issue.status.achievable} | In Progress,Resolved,Closed | ||
Available transitions |
| Start Progress,Resolve Issue,Close Issue | ||
Checkboxes |
%{issue.cfnnnnn} | issue?.customfield_nnnn?.map(c => c.value) | 10003,10004 | Checkbox 1,Checkbox 2 |
Component/s |
| issue?.components?.map(c => c.name) | Web Site,Authenticator,Statistics | |
Component/s ID |
| issue?.components?.map(c => c.id) | 10000, 10001 | 10010,10020,10030 |
Component/s leads |
| 557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554,765428:168p0983-5987-444e-80e4-1160dd57g114 | ||
Creator |
|
| 765428:168p0983-5987-444e-80e4-1160dd57g114 | |
Creator's email |
| user@example.com | ||
Creator's full name |
| issue?.creator?.displayName | Bob Smith | |
Date and time of creation |
| issue?.created | 2019-04-01T14:19:07.060+0200 | |
Date and time of last update |
| issue?.updated | 2019-04-01T14:19:07.060+0200 | |
Date and time of latest status change |
| 2019-04-01T14:19:07.060+0200 | ||
Date and time of resolution |
| issue?.resolutionDate | 2019-04-01T14:19:07.060+0200 | |
Date Picker |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | 2020-04-22 | 2020-04-22 |
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 | |
Description |
|
| 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 |
Domain of Assignee |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | ||
Domain of reporter |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | atlassian.com | |
Due date |
|
| 2019-10-22 | 2019-10-22 |
Environment |
| issue?.environment?.plainText | Take your Jira to the next level by using JWT for Jira Cloud | Cloud |
Fix version/s |
| issue?.fixVersions?.map(v => v.name) | 1.0,2.0,2.1 | |
Fix version/s ID |
| issue?.fixVersions?.map(v => v.id) | 10007, 10000 | 10010,10020,10030 |
Group Picker (multiple groups) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn.map(g = >g.name) | admin, jira-developers | admin,jira-developers |
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) |
%{issue.cfnnnnn} |
| Admin | Administration |
Group Picker (single group) ID |
%{issue.cfnnnnn.id} |
| Admin | Administration |
Issue ID |
|
| 10001 | |
Issue key |
|
| CRM-25 | |
Issue link direction |
| inward | ||
Issue link ID |
| 10045 | ||
Issue link inward issue |
| PRJ-5 | ||
Issue link linked issue |
| PRJ-5 | ||
Issue link outward issue |
| PRJ-77 | ||
Issue link type ID |
| 10002 | ||
Issue link type inward |
| is duplicated by | ||
Issue link type name |
| Duplicates | ||
Issue link type outward |
| duplicates | ||
Issue status |
|
| Open | |
Issue status category |
|
| Done | |
Issue status ID | %{issue.status.id} |
| 10100 | |
Issue type |
|
| 10003 | Improvement |
Issue type description |
| A task that needs to be done. | ||
Issue type ID |
| issue?.issueType?.id | 10056 | |
Keys of linked issues |
| issue?.links?.map(link => link.linkedIssue.key) | CRM-13,HR-25,SD-12 | |
Keys of sub-tasks |
| issue?.subtasks?.map(s => s.key) | CRM-23,CRM-26,CRM-31 | |
Labels |
| issue?.labels | web, customer, java, mobile | web,customer,java,mobile |
Labels (Custom field) |
| issue?.cfnnnnn | web, customer, java, mobile | web,customer,java,mobile |
Last comment |
| issue?.comments != [] ? issue?.comments[issue?.comments?.length-1].body?.plainText : null | Take your Jira to the next level by using JWT for Jira Cloud | |
Last commented by a User Flag |
%{issue.cfnnnnn} | issue?.customfield_nnnnn |
| |
Last commenter |
| issue?.comments!= [] ? issue?.comments[issue?.comments?.length-1].author?.accountId : null | 557068:145e0983-5707-439c-80e4-1160dd57g114 | |
Last public comment date |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | Thu Feb 13 10:34:55 UTC 2020 | |
Number Field | {issue.cfnnnnn} | issue?.customfield_nnnnn | 12.12 | 2.7181 |
Number of affects version/s |
| issue?.versions?.length | 3 | |
Number of attachments |
| issue?.attachments?.length | 3 | |
Number of comments | {issue.cfnnnnn} | issue?.customfield_nnnnn | 7 | |
Number of fix version/s |
| issue?.fixVersions?.length | 5 | |
Number of labels |
| issue?.labels?.length | 4 | |
Number of linked issues |
| issue?.links?.length | 3 | |
Number of sub-tasks |
| issue?.subtasks?.length | 3 | |
Number of votes received | %{issue.votes} |
| 5 | |
Organization/s |
|
| Atlassian, Decadis | |
Organization/s ID |
|
| 45, 23 | 45, 23 |
Original estimate |
| 3h 30m | ||
Original estimate (minutes) | {issue.originalEstimate} | issue?.originalEstimate/60 | 60 | 210 |
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 | |
Previous issue status |
| Closed | ||
Priority |
|
| Critical | |
Priority ID |
| issue?.priority?.id | 10004 | 10010 |
Project |
|
| HR | |
Project category |
| issue?.project?.projectCategory?.name | Development | |
Project description |
| Take your Jira to the next level by using JWT for Jira Cloud | ||
Project ID |
|
| 10200 | 10100 |
Project key |
| issue?.project?.key | HR | |
Project lead |
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | ||
Project lead's email |
| user@example.com | ||
Project lead's full name |
| Robert Smith | ||
Project name |
|
| Customer Relationship Management | |
Project Picker (single project) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.key | 10045 | PRJ |
Project Picker (single project) - Name |
%{issue.cfnnnnn.name} | issue?.customfield_nnnnn?.name | Development Project | |
Project URL |
| https://www.decadis.de/x | ||
Radio Buttons |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.value | 10012 | Radio 1 |
Remaining estimate |
| 2h 45m | ||
Remaining estimate (minutes) | {issue.remainingEstimate} | issue?.remainingEstimate/60 | 60 | 165 |
Reporter |
|
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
Reporter's email |
| user@example.com | ||
Reporter's full name |
| issue?.reporter?.displayName | Robert Smith | |
Request participant/s |
|
| 633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c | 633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c |
Request participant/s full name |
|
| John Doe, Max Mustermann | |
Request Type |
|
| Get IT help | |
Request Type ID |
|
| 34 | 34 |
Resolution |
|
| Won't fix | |
Resolution ID |
| issue?.resolution?.id | 10200 | 10000 |
Security level |
|
| Classified | |
Security level ID |
|
| 10010 | 10001 |
Select list (cascading) |
%{issue.cfnnnnn} | [issue?.customfield_nnnnn?.value,issue?.customfield_nnnnn?.child?.value] | 10034,10555 | Parent,child |
Select List (multiple choices) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.map(e => e.value) | 10054, 10056 | Option1,Option3 |
Select List (single choice) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.value | 10054 | Option 2 |
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 |
Team |
| issue?.customfield_nnnnn?.name | Development | |
Team ID |
|
| 9bef0763-88f1-49df-h76f-2a7fedcf349c | 9bef0763-88f1-49df-h76f-2a7fedcf349c |
Text Field (multi-line) |
%{issue.cfnnnnn} |
| A text with a couple of lines. | A text with a couple of lines. |
Text field (single line) |
%{issue.cfnnnnn} |
| One-liner | This is only one line. |
Total time spent (minutes) |
| issue?.timeSpent/60 | 90 | |
URL Field |
%{issue.cfnnnnn} | issue?.customfield_nnnnn | apps.decadis.net | apps.decadis.net |
Username of last updater or commenter |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.accountId | 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 |
User Picker (single user) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.accountId | 557068:145e0983-5707-439c-80e4-1160dd57g114 | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
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 |
Version Picker (single version) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.name | 10010 | Version 1.2 |
Watchers |
|
| 557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554 |
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 |
| SVC-1, SVC-23 | SVC-1, SVC-23 | |
Assets object/s ID |
|
| a77bd055-dc1e-42ae-ae92-6faf95345f3b:1, b37bd055-dc1e-42ae-ae92-6faf95345f3b:1 | |
Assets object/s name |
| iPhone13, iPhone 16 | ||
Organization/s |
|
| Atlassian, Decadis | |
Organization/s ID |
|
| 45, 23 | 45, 23 |
Request participant/s |
|
| 633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c | 633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c |
Request participant/s full name |
|
| John Doe, Max Mustermann | |
Request Type |
|
| Get IT help | |
Request Type ID |
|
| 34 | 34 |
If Jira Software is licensed for the current user, the following fields will also be available.
Epics (issues that have issue.isEpic
equal to true or returned by issue.epic
) have additional, epic-specific fields. These fields are null
for regular issues.
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Closed sprints |
| Start, MVP | ||
Epic color | %{issue.cfnnnn} | issue?.epic?.color | color_8 | |
Epic done |
| true | ||
Epic link | %{issue.cfnnnn} | issue?.epic?.key | PRJ-2 | PRJ-2 |
Epic name | %{issue.cfnnnn} | issue?.epic?.name | This is my Epic's name | This is my Epic's name |
Epic Status | %{issue.cfnnnnn} | issue?.epic?.status?.name | To Do | |
Flagged |
| true | ||
Is Epic |
| true | ||
Rank | %{issue.cfnnnnn} | issue?.customfield_nnnnn | 0|i0016n: | |
Sprint | %{issue.cfnnnnn} |
| 2 | First sprint |
Sprint completeDate |
| 2021-08-10T15:08:00.000Z | ||
Sprint endDate |
| 2021-06-10T04:08:00.000-1100 | ||
Sprint goal |
| Finish MVP | ||
Sprint ID | {issue.cfnnnnn} |
| 4 | |
Sprint startDate |
| 2021-05-27T04:08:00.000-1100 | ||
Sprint state |
| active | ||
Stories |
| PU-3,PU-25,PU-7 | ||
Story point estimate | %{issue.cfnnnnn} | issue?.customfield_nnnnn | 34 | 40 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Number Field | {issue.cfnnnnn} | issue?.customfield_nnnnn | 12.12 | 2.7181 |
Number of affects version/s |
| issue?.versions?.length | 3 | |
Number of attachments |
| issue?.attachments?.length | 3 | |
Number of comments | {issue.cfnnnnn} | issue?.customfield_nnnnn | 7 | |
Number of fix version/s |
| issue?.fixVersions?.length | 5 | |
Number of labels |
| issue?.labels?.length | 4 | |
Number of linked issues |
| issue?.links?.length | 3 | |
Number of sub-tasks |
| issue?.subtasks?.length | 3 | |
Number of votes received | %{issue.votes} |
| 5 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Priority |
|
| Critical | |
Priority description | issue?.priority?.description | This is the highest priority | ||
Priority ID |
| issue?.priority?.id | 10004 | 10010 |
Team ID |
|
| 9bef0763-88f1-49df-h76f-2a7fedcf349c | 9bef0763-88f1-49df-h76f-2a7fedcf349c |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Project |
|
| HR | |
Project category |
| issue?.project?.projectCategory?.name | Development | |
Project description |
| Take your Jira to the next level by using JWT for Jira Cloud | ||
Project ID |
|
| 10200 | 10100 |
Project key |
| issue?.project?.key | HR | |
Project lead |
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | ||
Project lead's email |
| user@example.com | ||
Project lead's full name |
| Robert Smith | ||
Project name |
|
| Customer Relationship Management | |
Project Picker (single project) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.key | 10045 | PRJ |
Project Picker (single project) - Name |
%{issue.cfnnnnn.name} | issue?.customfield_nnnnn?.name | Development Project | |
Project style |
| classic | ||
Project type key |
| software | ||
Project URL |
| https://www.decadis.de/x |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Assets object/s |
| SVC-1, SVC-23 | SVC-1, SVC-23 | |
Assets object/s ID |
|
| a77bd055-dc1e-42ae-ae92-6faf95345f3b:1, b37bd055-dc1e-42ae-ae92-6faf95345f3b:1 | |
Assets object/s name |
| iPhone13, iPhone 16 | ||
Organization/s |
|
| Atlassian, Decadis | |
Organization/s ID |
|
| 45, 23 | 45, 23 |
Request participant/s |
|
| 633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c | 633c010dfedc6169def920f6, 712020:bcader66-30c7-475a-8552-7fa86716126c |
Request participant/s full name |
|
| John Doe, Max Mustermann | |
Request Type |
|
| Get IT help | |
Request Type ID |
|
| 34 | 34 |
Resolution |
|
| Won't fix | |
Resolution date | %{issue.resolutionDate} |
| 2019-12-04T09:30:46.279+0100 | |
Resolution description | issue?.resolution?.description | Work has been completed on this issue. | ||
Resolution ID |
| issue?.resolution?.id | 10200 | 10000 |
Team |
| issue?.customfield_nnnnn?.name | Development |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Security level |
|
| Classified | |
Security level description | issue?.securityLevel?.description | only the reporter has access | ||
Security level ID |
|
| 10010 | 10001 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Available target statuses | %{issue.status.achievable} | In Progress,Resolved,Closed | ||
Available transitions |
| Start Progress,Resolve Issue,Close Issue | ||
Issue status |
|
| Open | |
Issue status category |
|
| Done | |
Issue status description |
| This issue is considered Done | ||
Issue status ID | %{issue.status.id} |
| 10100 | |
Previous issue status |
| Closed | ||
Status category color |
| grey-blue | ||
Status category ID |
| 4 | ||
Status category key |
| New |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Current date and time |
| new Date() | 2019-04-01T14:19:07.060+0200 | |
Current user | %{system.currentUser} | user.accountId | 777068:145e0983-5707-439c-80e4-1160dd57x554 | |
Current user's email |
| user@example.com | ||
Current user's full name | %{system.currentUser.displayName} | user.displayName | Bob Smith | |
JIRA base URL |
| https://jwt-cloud.atlassian.net |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Assignee |
|
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
Assignee's email |
| user@example.com | ||
Assignee's full name |
| issue?.assignee?.displayName | Bob Smith | |
Creator |
|
| 765428:168p0983-5987-444e-80e4-1160dd57g114 | |
Creator's email |
| user@example.com | ||
Creator's full name |
| issue?.creator?.displayName | Bob Smith | |
Current user | %{system.currentUser} | user.accountId | 777068:145e0983-5707-439c-80e4-1160dd57x554 | |
Current user's email |
| user@example.com | ||
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 |
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) |
%{issue.cfnnnnn} |
| Admin | Administration |
Group Picker (single group) ID |
%{issue.cfnnnnn.id} |
| Admin | Administration |
Last commenter |
| issue?.comments!= [] ? issue?.comments[issue?.comments?.length-1].author?.accountId : null | 557068:145e0983-5707-439c-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 |
|
| 557068:145e0983-5707-439c-80e4-1160dd57g114 | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
Reporter's email |
| user@example.com | ||
Reporter's full name |
| issue?.reporter?.displayName | Robert Smith | |
Username of last updater or commenter |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.accountId | 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 |
User Picker (single user) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.accountId | 557068:145e0983-5707-439c-80e4-1160dd57g114 | 557068:145e0983-5707-439c-80e4-1160dd57g114 |
Watchers |
|
| 557068:145e0983-5707-439c-80e4-1160dd57g114,777068:145e0983-5707-439c-80e4-1160dd57x554 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Affects version/s | %{issue.versions} | issue?.versions?.map(v => v.name) | Version 1.0,Version 1.2 | |
Affects version/s ID |
| issue?.versions?.map(v => v.id) | 10054, 10056 | 10010,10020,10030 |
Fix version/s |
| issue?.fixVersions?.map(v => v.name) | 1.0,2.0,2.1 | |
Fix version/s ID |
| issue?.fixVersions?.map(v => v.id) | 10007, 10000 | 10010,10020,10030 |
Version archived |
| false | ||
Version 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 |
Version Picker (single version) |
%{issue.cfnnnnn} | issue?.customfield_nnnnn?.name | 10010 | Version 1.2 |
Version released | true | |||
Version release date |
| 2020-04-28 |
Field name | JWT field code | Jira expression field code | Example input | Example output |
---|---|---|---|---|
Action response | %{action.response} |
| ||
Action response details | %{action.response.JMESPath} |
| ||
Action status | %{action.status} | 200 |
If you still have questions, feel free to refer to our support team.