Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.1.0


Panel
titleColorwhite
titleBGColor#333f48
titleOn this page

Table of Contents
typeflat



Excerpt

Automation Toolbox for Jira provides a set of special fields called virtual fields, making almost all properties of issues, projects and users accessible to every feature in the app.

Virtual fields may be read and written by Automation Toolbox for Jira in the same way ordinary custom fields are.

Virtual fields and their associated field codes, were created to

  • provide data accessibility beyond the scope of normal Jira workflow processing
  • insure data integrity throughout their use.

In Automation Toolbox for Jira you can use virtual fields by searching for and picking their associated field codes in the dropdown menus provided wherever a parser expression can be inserted. 

Multimedia
nameentering_parser_field_codes.mp4
width700


The notation listed below references each virtual field code, independent from it's context.

Info
titleRemember

The virtual fields represent the field / data part of the field code notation.

%{trigger.parent.summary}

%{system.currentUser}

Some virtual fields are only available when used in the right context!

Writable virtual fields

When a value is written into these fields, a feature or system field of the issue the field belongs to will be modified. These fields are also readable.

...


Readable fields

Issue-related fields

Field nameField codeTypeOutputExample
Summary
%{issue.summary}

...

Status
colourYellow
titleString

...

Allowed Numeric Values 

Status
colourBlue
titlenumber

...

Issue summary.-
Description
%{issue.

...

description}

...

Status
colourYellow
titleString

Issue description.

...

-

...

Assignee
%{issue.

...

assignee}

...

Status
titleuser

The name of the user who has the issue assigned.albert.einstein
Assignee's full name

...

%{issue.assignee.fullName}

...

%{issue.reporter}

...

%{issue.dueDate}

...

%{issue.priority}

...

%{issue.originalEstimate}

...

%{issue.estimate}

...

%{issue.timeSpent}

...

Status
colourYellow
titleString

Name and surname of the user who currently has the issue assignedAlbert Einstein
Assignee's email
%{issue.assignee.email}

Status
colourYellow
titleString

Email address of the user who currently has the issue assignedalbert.einstein@yahoo.com
Reporter
%{issue.reporter}

Status
titleuser

The name of the user who reported the issue. This field is editable, while Creator field isn't.albert.einstein
Reporter's full name
%{issue.reporter.fullName}

Status
colourYellow
titleString

Name and surname of the user who created the issueAlbert Einstein
Reporter's email
%{issue.reporter.email}

Status
colourYellow
titleString

Email address of the user who created the issuealbert.einstein@yahoo.com
Creator
%{issue.creator}

Status
titleuser

User name of the user who actually creates the issue in JIRA. This field, unlike Reporter, can't be edited.richard.feynman
Creator's full name
%{issue.creator.fullName}

Status
colourYellow
titleString

Name and surname of the user who actually created the issue in JIRARichard Feynman
Creator's email
%{issue.creator.email}

Status
colourYellow
titleString

Email address of the user who actually created the issue in JIRArichard.feynman@gmail.com
Date and time of creation
%{issue.created}

Status
titledate_time

Date and time when issue has been created. When cast to string format defined at jira.date.time.picker.java.format is used.19/Mar/14 1:38 PM for jira.date.time.picker.java.format = dd/MMM/yy h:mm a


Date and time of last update
%{issue.updated}

Status
titledate_time

Date and time of the most recent issue update. When cast to string format defined at jira.date.time.picker.java.format is used.19/Mar/14 1:38 PM for jira.date.time.picker.java.format = dd/MMM/yy h:mm a
Date and time of latest status change
%{issue.lastStatusChange}

Status
titledate_time

Date and time of the most recent status change in the issue. When cast to string format defined at jira.date.time.picker.java.format is used.19/Mar/14 1:38 PM for jira.date.time.picker.java.format = dd/MMM/yy h:mm a

Useful to find out for how much time is the issue in current status using expression: {00057} - {000158}, where {00057} = Current date and time and {000158} is Date and time of latest status change.


Due date
%{issue.dueDate}

Status
titledate

Field that can store a date with no time part, and is used to schedule issues. When cast to string format defined at jira.date.time.picker.java.format is used.19/Mar/14 for jira.date.time.picker.java.format = dd/MMM/yy h:mm a, since this field doesn't store time part.
Date and time of resolution
%{issue.resolutionDate}

Status
titledate_time

Date and time of the most recent update of field Resolution. When cast to string format defined at jira.date.time.picker.java.format is used.19/Mar/14 1:38 PM for jira.date.time.picker.java.format = dd/MMM/yy h:mm a
Priority
%{issue.priority}

Status
titlepriority

Name of the priority in Default language configured in the JIRA instanceBlocker
Critical
Major
Original estimate (minutes)
%{issue.originalEstimate}

Status
colourBlue
titlenumber

Time originally estimated for the issue expressed in minutes. It's a real number, so it may have a non-zero fractional part.-
Remaining estimate (minutes)
%{issue.estimate}

Status
colourBlue
titlenumber

Remaining time estimated for the issue expressed in minutes. It's a real number, so it may have a non-zero fractional part.-
Total time spent (minutes)
%{issue.timeSpent}

Status
colourBlue
titlenumber

Work time currently spent at the issue expressed in minutes. It's a real number, so it may have a non-zero fractional part.-
Components
%{issue.component}

Status
titleComponents

Comma separated list of component namesWeb Site, Authenticator, Statistics
Components leaders
%{issue.component.leads}

Status
titlemultiuser

Comma separated list of user namesalbert.einstein@yahoo.com, richard.feynman@gmail.com
Fixed versions
%{issue.fixVersion}

Status
titleversions

Comma separated list of fixed versions1.0, 2.0, 2.1
Fixed versions with details
%{issue.fixVersion.details}

Status
colourYellow
titleString

A text with a line for each fixed versions. Each line contains the following information separated by characters '#': name of version, description, release date and archive situation1.0 # First release # RELEASED ON 28/Mar/14 12:00 AM # ARCHIVED
Number of fixed versions
%{issue.fixVersion.count}

Status
colourBlue
titlenumber

Number of fixed versions in current issue.-
Affected versions
%{issue.version}

Status
titleversions

Comma separated list of fixed versions1.0, 2.0, 2.1
Affected versions with details
%{issue.version.details}

Status
colourYellow
titleString

A text with a line for each affected versions. Each line contains the following information separated by characters '#': name of version, description, release date and archive situation1.0 # First release # RELEASED ON 28/Mar/14 12:00 AM # ARCHIVED
Number of affected versions
%{issue.version.count}

Status
colourBlue
titlenumber

Number of affected versions in current issue.-
Number of votes received
%{issue.votes}

Status
colourBlue
titlenumber

Number of votes received by the issue.-
Keys of subtasks
%{issue.subtasks}

Status
colourYellow
titleString

Comma separated list of issue keys.CRM-23, CRM-26, CRM-31
Number of subtasks
%{issue.subtasks.count}

Status
colourBlue
titlenumber

Number of subtasks of current issue.-
Keys of linked issues
%{issue.linkedIssues}

Status
colourYellow
titleString

Comma separated list of issue keys.CRM-13, HR-12, SDESK-45
Number of linked issues
%{issue.linkedIssues.count}

Status
colourBlue
titlenumber

Number of issues linked to current issue.-
Environment
%{issue.environment}

Status
colourYellow
titleString

Field to describe the environment where the issue has occurred.-
Attachments
%{issue.attachment}

Status
titleattachment

Comma separated list of file names of all files attached to the issue.file1.txt, readme.pdf, screenshot.png

Number of attachments
%{issue.attachment.count}

Status
colourBlue
titlenumber

Number of files attached to current issue.-
Labels
%{issue.labels}

Status
titlelabels

Blank separated list with all the labels of the issue.web customer java mobile
Number of labels
%{issue.labels.count}

Status
colourBlue
titlenumber

Number of labels in current issue.-
Issue key
%{issue.key

...

%{issue.addTimeSpent}

...

%{issue.component}

...

%{issue.fixVersion}

...

%{issue.version}

...

%{issue.environment}

...

%{issue.status}

...

%{issue.resolution}

...

%{issue.labels}

...

%{issue.attachmentsAdd}

...

%{issue.attachment.details}

...

%{issue.securityLevel}

...

%{issue.lastComment}

...

%{issue.lastComment.visibility}

...

%{issue.watcher}

...

Values returned when reading virtual fields

Fields which belong to the issue

...

%{issue.summary}

...

Status
colourYellow
titleString

...

}

Status
colourYellow
titleString

Issue

...

keyCRM-25
HR-52
SDESK-1
Issue type

...

%{issue.

...

issueType}

Status
title

...

issuetype

...

Name of issue's Issue Type in Jira's default languageBug
Improvement
New Feature
Task


Issue status
%{issue.

...

status}

Status

...

title

...

status

Name

...

of current status of the issue in Jira's default language.Open
In Progress
Resolved
Issue status category


%{issue.

...

statusCategory}

Status

...

title

...

status_category

Name of the category in Jira's default language.To Do
In Progress
Done
Previous issue status


%{issue.status.

...

previous}

Status
title

...

status

...

Name of the

...

status the issue

...

was just before current one. The name is shown in Jira's default language.Open
In Progress
Closed
Previous issue status category
%{issue.

...

statusCategory.

...

previous}

Status

...

title

...

status_category

Name

...

of the category of the status the issue was just before current one. The name is shown in Jira's default language.To Do
In Progress
Done
Available transitions


%{issue.

...

transitions.

...

achievable}

Status
colourYellow
titleString

...

%{issue.creator}

...

Status
titleuser

...

A comma separated list with the names of transitions with origin in current issue status.If current issue is in Open status of classic Jira workflow, then field Available transitions will return: Start Progress, Resolve Issue, Close Issue
Available target statuses

%{issue.

...

status.

...

achievable}

Status
colourYellow
titleString

...

A comma separated list with the names of target status of those transitions with origin in current issue status.If current issue is in Open status of classic Jira workflow, then field Available target statuses will return: In Progress, Resolved, Closed
Resolution

...

%{issue.

...

resolution}

Status

...

title

...

resolution

...

The name of the

...

resolution currently set at the issue, or empty string if Resolution is not set. The name of the resolution is shown in Jira's default language.Resolved
Won't fix
Cancelled
Security level

...

%{issue.

...

securityLevel}

Status
title

...

security

Name of the security level the issue currently has.Classified
Last comment

...

%{issue.

...

lastComment}

Status
colourYellow
title

...

String

Last comment entered in the issue.-
Last comment's visibility restriction

...

%{issue.

...

lastComment.visibility}

Status

...

titledate_time

...

colourYellow
titleString

Name of a group or project role the visibility of the last comment entered in the issue is restricted to. If no restriction is applied to the comment, this field is returns an empty string. For Service Desk's special Internal visibility restriction, string "Internal" is returned. This field can be used to check visibility restriction of field entered in transition when it exists.

-
Last commenter
(since version 2.1.33)
%{issue.lastComment.author

...

}

Status
title

...

user

Name of the user who entered the last comment in the issue.galileo.galilei
Watchers
%{issue.watcher}

Status
titlemultiuser

Comma separated list of user names of current watchers of the issue.albert.einstein, richard.feynman, galileo.galilei
Project key
%{issue.project.key}

Status
colourYellow
titleString

Project Key of the project the issue belongs to.CRM, HR, SDESK
Project name
%{issue.project.name}

Status
colourYellow
titleString

Name of the project the issue belongs to.Customer Relationship Management
Project description
%{issue.project.description}

Status
colourYellow
titleString

Field Description of the project the issue belongs to.-
Project URL
%{issue.project.url}

Status
colourYellow
titleString

Field URL of the project belongs to.https://www.decadis.de
Project category
%{issue.project.category}

Status
colourYellow
titleString

Name of the Category of the project the issue belongs to.-
Project leader
%{issue.project.lead}

Status
titleuser

Name of the user who leads the project the issue belongs to.galileo.galilei
Project leader's full name
%{issue.project.leadFullName}

Status
colourYellow
titleString

Name and surname of the user who leads the project the issue belongs to.Galileo Galilei
Project leader's email
%{issue.project.leadEmail}

Status
colourYellow
titleString

Email address of the user who leads the project the issue belongs to.galileo.galilei@me.com
Rest of issues in the project
%{issue.remainingIssuesInProject}

Status
colourYellow
titleString

Comma separated list of issue keys in the project except current issue's key.CRM-1, CRM-2, CRM-3, CRM-4
Workflow scheme
%{issue.workflowScheme

...

%{issue.resolutionDate}

...

Status
titledate_time

...

%{issue.priority}

...

Status
titlepriority

...

%{issue.originalEstimate}

...

Status
colourBlue
titlenumber

...

%{issue.estimate}

...

Status
colourBlue
titlenumber

...

%{issue.timeSpent}

...

Status
colourBlue
titlenumber

...

%{issue.component}

...

Status
titleComponents

...

%{issue.component.leads}

...

Status
titlemultiuser

...

%{issue.fixVersion}

...

Status
titleversions

...

}

Status
colourYellow
titleString

...

The name of the workflow scheme of the project current issue belongs to.-
Sprint ID

...

%{issue.

...

sprintId}

Status
colour

...

Yellow
title

...

String

The internal ID for the sprint of current issue. This value can be used for setting field Sprint in other issues.-

...

Sprint Start Date
%{issue.

...

sprintStartDate}

Status
title

...

date

Sprint's start date.-
Sprint End Date

...

%{issue.

...

sprintEndDate}

Status

...

title

...

date

Sprint's end date.-


Project-related fields

Project key
%{trigger.project.key

...

}

Status
colour

...

Yellow
title

...

String

...

Key of the project from the event.CRM, HR, SDESK
Project name
%{trigger.project.name

...

}

Status
colour

...

Yellow
title

...

String

...

Name of the project from the event.Customer Relationship Management
Project description
%{trigger.project.description

...

}

Status
colourYellow
titleString

...

Field Description of the project from the event.-
Project URL
%{trigger.project.url

...

}

Status
colour

...

Yellow
title

...

String

...

Field URL of the project from the event.https://www.decadis.de
Project category
%{trigger.project.category

...

}
Status
colourYellow
titleString

...

Name of the Category of the project from the event.-
Project leader
%{trigger.project.lead

...

}

Status

...

title

...

user

...

Name of the user who leads the project from the event.galileo.galilei
Project leader's full name
%{trigger.project.leadFullName

...

}

Status
colourYellow
titleString

...

%{issue.attachment}

...

Status
titleattachment

...

Name and surname of the user who leads the project from the event.Galileo Galilei
Project leader's email
%{trigger.project.leadEmail

...

}

Status
colour

...

Yellow
title

...

String

...

%{issue.labels}

...

Status
titlelabels

...

Email address of the user who leads the project from the event.galileo.galilei@me.com


Component-related fields

Component id
%{trigger.component.id}

Status
colourYellow
titleString

Id of the component from the event.10000
Component name
%{trigger.component.name

...

}

Status
colour

...

Yellow
title

...

String

...

Name of the component from the event.Customer Relationship Management Component
Component description
%{trigger.component.description

...

}

Status
colourYellow
titleString

...

Field Description of the component from the event.-
Component lead
%{trigger.component.lead

...

}

Status
title

...

user

Name of

...

the user who leads the component from the event.galileo.galilei
Component default assignee
%{trigger.component.defaultAssignee

...

}

Status
title

...

user

Name of

...

the user who is the default assignee of the component from the event.galileo.galilei


Version-related fields

Version id
%{trigger.version.id

...

}

Status

...

colour

...

%{issue.status.previous}

...

Status
titlestatus

...

Yellow
titleString

Id of the version from the event.10000
Version name
%{trigger.version.name}

Status
colourYellow
titleString

Name of the version from the event.Customer Relationship Management Version
Version description
%{trigger.version.description}

Status
colourYellow
titleString

Field Description of the version from the event.-
Version archived
%{trigger.version.archived

...

%{issue.statusCategory.previous}

...

Status
titlestatus_category

...

}

Status
colourYellow
titleString

...

Archived status of the version from the event.-
Version released
%{trigger.version.released

...

}

Status
colourYellow
titleString

...

Released status of the version from the event.-
Version start date
%{trigger.version.startDate}

Status
titledate

Start date of the version from the event.-
Version release date
%{trigger.version.releaseDate

...

}

Status
title

...

date

...

Release date of the

...

version from the event.-
Version project
%{trigger.version.project}

Status
colourYellow
titleString

Project key of the version from the event.-
Version project id
%{trigger.version.projectId}

Status
colourYellow
titleString

Project id of the version from the event.-
Version sequence
%{trigger.version.sequence

...

%{issue.securityLevel}

...

Status
titlesecurity

...

}

Status
colourYellow
titleString

...

Sequence of the version from the event.-

...


User-related fields

User id
%{

...

trigger.

...

user.

...

id}

Status
colourYellow
titleString

...

Name of a group or project role the visibility of the last comment entered in the issue is restricted to. If no restriction is applied to the comment, this field is returns an empty string. For Service Desk's special Internal visibility restriction, string "Internal" is returned. This field can be used to check visibility restriction of field entered in transition when it exists.

...

Id of the user from the event.10000
User name
%{trigger.user.name}

Status
colourYellow
titleString

Name of the user from the event.Customer Relationship Management Component
User full name
%{trigger.user.fullName}

Status
colourYellow
titleString

Full name of the user from the event.Galileo Galilei
User email
%{trigger.user.email}

Status
colourYellow
titleString

Email address of the user from the event.galileo.galilei@me.com
User key
%{trigger.user.key

...

%{issue.lastComment.author}

...

Status
titleuser

...

}

Status
title

...

user

...

Key of the user

...

from the event.
galileo.galilei

...

User directory id
%{

...

trigger.

...

user.

...

directoryId}

Status
colourYellow
titleString

...

Directory id of the

...

user from the event.-
User directory user

...

%{

...

trigger.

...

user.

...

directoryUser}

Status
colourYellow
titleString

...

Directory user of the

...

user from the event.

...

-
User is active

...

%{

...

trigger.

...

user.

...

isActive}

Status
colourYellow
titleString

...

Active status of the

...

user from the event.true


System-related fields

...

Current user
%{

...

system.

...

currentUser}

Status

...

...

title

...

user

...

Name of the

...

user who is executing the event.isaac.newton
Current user's full name
%{system.currentUserFullName

...

}

Status
colourYellow
titleString

Name and surname of the

...

user who is executing the event.Isaac Newton
Current user's email

...

%{

...

system.

...

currentUserEmail}

Status
colourYellow
title

...

String

...

Email address of the user

...

%{issue.project.leadFullName}

...

Status
colourYellow
titleString

...

%{issue.project.leadEmail}

...

Status
colourYellow
titleString

...

who is logged in.albert.einstein@yahoo.com, isaac.newton@gmail.com
Current date and time
%{system.currentDateTime}

Status
titledate_time

Current date and time of JIRA server's clock. When cast to string format defined at jira.date.time.picker.java.format is used.19/Mar/14 1:38 PM for jira.date.time.picker.java.format = dd/MMM/yy h:mm a

JIRA base URL
%{system.baseUrl

...

}

Status
colourYellow
titleString

...

Returns the base URL of current JIRA instance.-


Writable fields

When a value is written into these fields, a feature or system field of the issue the field belongs to will be modified. These fields are also readable.

Field NameField codeEffect of Writing

Allowed String Values 

Status
colourYellow
titleString

...

%{issue.sprintId}

Allowed Numeric Values 

Status
colour

...

Blue
title

...

number

Examples
Summary
%{issue.

...

summary}

...

Status
titledate

...

Sets issue Summarytext string trimmed to 255 charactersnumbers are cast to string-
Description

...

%{issue.

...

description}

...

Status
titledate

...

Fields which belong to the project

...

%{trigger.project.key}

...

Status
colourYellow
titleString

...

%{trigger.project.name}

...

Status
colourYellow
titleString

...

%{trigger.project.description}

...

Status
colourYellow
titleString

...

%{trigger.project.url}

...

Status
colourYellow
titleString

...

%{trigger.project.category}

...

Status
colourYellow
titleString

...

%{trigger.project.lead}

...

Status
titleuser

...

%{trigger.project.leadFullName}

...

Status
colourYellow
titleString

...

%{trigger.project.leadEmail}

...

Status
colourYellow
titleString

...

Fields which belong to the component

...

%{trigger.component.id}

...

Status
colourYellow
titleString

...

%{trigger.component.name}

...

Status
colourYellow
titleString

...

%{trigger.component.description}

...

Status
colourYellow
titleString

...

%{trigger.component.lead}

...

Status
titleuser

...

%{trigger.component.defaultAssignee}

...

Status
titleuser

...

Fields which belong to the version

...

%{trigger.version.id}

...

Status
colourYellow
titleString

...

%{trigger.version.name}

...

Status
colourYellow
titleString

...

%{trigger.version.description}

...

Status
colourYellow
titleString

...

%{trigger.version.archived}

...

Status
colourYellow
titleString

...

%{trigger.version.released}

...

Status
colourYellow
titleString

...

%{trigger.version.startDate}

...

Status
titledate

...

%{trigger.version.releaseDate}

...

Status
titledate

...

%{trigger.version.project}

...

Status
colourYellow
titleString

...

%{trigger.version.projectId}

...

Status
colourYellow
titleString

...

%{trigger.version.sequence}

...

Status
colourYellow
titleString

...

Fields which belong to the user

...

%{trigger.user.id}

...

Status
colourYellow
titleString

...

%{trigger.user.name}

...

Status
colourYellow
titleString

...

%{trigger.user.fullName}

...

Status
colourYellow
titleString

...

%{trigger.user.email}

...

Status
colourYellow
titleString

...

%{trigger.user.key}

...

Status
titleuser

...

%{trigger.user.directoryId}

...

Status
colourYellow
titleString

...

%{trigger.user.directoryUser}

...

Status
colourYellow
titleString

...

%{trigger.user.isActive}

...

Status
colourYellow
titleString

...

Fields which belong to the system

...

%{system.currentUser}

...

Status
titleuser

...

%{system.currentUserFullName}

...

Status
colourYellow
titleString

...

%{system.currentUserEmail}

...

Status
colourYellow
titleString

...

%{system.currentDateTime}

...

Status
titledate_time

...

Sets issue Descriptionunlimited text stringnumbers are cast to string-
Assignee
%{issue.assignee}
Assigns the issue to a useruser name (not user's full name)n/a-
Reporter
%{issue.reporter}
Updates issue Reporter to a different useruser name (not user's full name)n/a-
Due date
%{issue.dueDate}
Sets issue's system field Due Datedate-time in format defined at jira.date.time.picker.java.format, or as in JQL (yyyy/MM/dd HH:mm, yyyy-MM-dd HH:mm, yyyy/MM/dd, yyyy-MM-dd, or relative to current time using "w" (weeks), "d" (days), "h" (hours) or "m" (minutes)number of minutes relative to current time.2014-03-25 : date example

2015-01-31 14:35 : date with time example

- 4d 1h : 4 days and 1 hour before current time.

2w, 3d, 4h, 5m : 2 weeks, 3 days, 4 hours and 5 minutes after current time.

Priority
%{issue.priority}
Updates the issue Priorityname of a Priority (e.g., Blocker, Critical, Major,...)(0 = highest priority, 1 = second highest,... n = lowest
Original estimate (minutes)
%{issue.originalEstimate}
Sets original estimatecast from string to number will be attemptednumber of minutes30: sets Original estimate to 30 minutes.

Original estimate (minutes) can be increased or decreased using expression parser  with formulas like: {00024} + 60 for increasing remaining estimate in 1 hour, or {00024} - {10000} for decreasing remaining estimate by the amount of minutes stored in custom field with code {10000}.
Remaining estimate (minutes)
%{issue.estimate}
Sets remaining estimatecast from string to number will be attemptednumber of minutes30 : sets Remaining estimate to 30 minutes.

Remaining estimate (minutes) can be increased or decreased using expression parser with formulas like: {00024} + 60 for increasing remaining estimate in 1 hour, or {00024} - {10000} for decreasing remaining estimate by the amount of minutes stored in custom field with code {10000}.
Total time spent (minutes)
%{issue.timeSpent}
Sets time spent.+cast from string to number will be attemptednumber of minutes30 : sets Time spent to 30 minutes.

Total time spent (minutes) can be increased or decreased using expression parser  with formulas like: {00024} + 60 for increasing remaining estimate in 1 hour, or {00024} - {10000} for decreasing remaining estimate by the a mount of minutes stored in custom field with code {10000}.
Add to time spent (minutes)
%{issue.addTimeSpent}
Adds a number of minutes to current value of field "Total time spent (minutes)"cast from string to number will be attemptednumber of minutes60 : increases time spent in 1 hour.

Components
%{issue.component}
Sets issue ComponentsComma separated list of component names.

Prefixes + and - can be used to add or remove (check or uncheck) single values or set of values.
n/a+ Web Site, User Management : adds the components Web Site and User Management to current issue, provided they exist in the project.

- Library A, Component B : removes the components Library A and Component B from current issue, provided they exist in the project.
Fixed versions
%{issue.fixVersion}
Sets Fixed versionsComma separated list of version names.

Prefixes + and - can be used to add or remove (check or uncheck) single values or set of values.
numbers are cast to string+ 1.0, 1.1 : adds versions 1.0 and 1.1 to field Fixed versions.

- 2.0, 2.2 : removes versions 2.0 and 2.2 from field Fixed versions.
Affected versions
%{issue.version}
Sets Affected versionsComma separated list of version names.

Prefixes + and - can be used to add or remove (check or uncheck) single values or set of values.
numbers are cast to string+ 1.0, 1.1 : adds versions 1.0 and 1.1 to field Affected versions.

- 2.0, 2.2 : removes versions 2.0 and 2.2 from field Affected versions.
Environment
%{issue.environment}
Sets issue Environmentunlimited text stringnumbers are cast to string-
Issue status
%{issue.status}
Will make the issue progress through the workflow to the written status, provided there is transition in the workflow from current status to the written status. It requires that all conditions and validations in the transition are satisfied.name of a Status (e.g., Open, In Progress, Resolved,...)n/aResolved : will search for a transition from current issue's status to Resolved status. If conditions are satisfied, it will try to execute the transition. Then if validators are satisfied in that transition are satisfied, it will be executed, resulting in moving issue to Resolved status. Every post-function in the executed transition is also executed.

Resolution
%{issue.resolution}
Sets issue Resolutionname of issue Resolution (e.g., Fixed, Won't Fix, Duplicate, Incomplete,...)n/a-
Labels
%{issue.labels}
Sets LabelsComma separated list of labels. If label doesn't exist it is created.

Prefixes + and - can be used to add or remove (check or uncheck) single values or set of values.
numbers are cast to string+ jira, plugin : adds labels "jira" and "plugin" to the issue.

- scrum, web : removes labels "scrum" and "web" from the issue.
Attachments (only new attachments will be added)
%{issue.attachmentsAdd}
Adds new attachments coming from another issue keeping current attachments. Rejects duplicated attachments.Comma or blank separated list of issue keys whose attachments will be copied to current issue.n/aCRM-1 : adds to current issue the attachments in issue CRM-1 except if attachments are already in current issue.

CRM-2, HR-34, HR-50 : adds to current issue the attachments in issues CRM-2, HR-34 and HR-50 except if attachments are already in current issue.
Attachments with details
%{issue.attachment.details}
Text stringComma separated list of file names with its mime types and sizes in Kbytes, for every file attached to the issue.
file1.txt (text/plain, 5.14 KB), readme.pdf (application/pdf, 179.8 KB), screenshot.png (image/png, 5.449 KB)
Security level
%{issue.securityLevel}
Sets issue Security Levelname of a Security Leveln/aPublic : sets security level to Public, provided this security level exists in the Security Scheme of the project.

Reserved : sets security level to Reserved, provided this security level exists in the Security Scheme of the project.
Last comment
%{issue.lastComment}
Updates the last comment added to the issue if it existsunlimited text string

Optionally parameter visibility can be added for setting comment visibility. To do it add : {visibility=visibility_value} at the end of the text. This parameter permits same values as "Last comment's visibility restriction".
numbers are cast to stringWARNING: When writing into this field, please add your writer action AFTER "Add Comment" action since otherwise updated comment will be the one before last, instead of the last one.
Last comment's visibility restriction

%{issue.lastComment.visibility}
Updates the visibility of the last comment in the issue if it exists. Can be used to set the visibility of a comment introduced with virtual field New commentname of a Project Role or name of a Group.

In Jira Service Desk it also admits values public and internal (without doble quotes), or alternatively jsd_public and jsd_internal to avoid name collision with existing project roles and user groups.

n/aDevelopers : for setting visibility to project role or group with name Developers.

jsd_internal : for setting JSD internal visibility.

jira-developers : for setting visibility to "jira-developers" user group.
Watchers
%{issue.watcher}
Sets watchers of an issue. Can be used to add or remove watchers to linked issues, sub-tasks or issues returned by JQL, but requires to use operator '+' and '-'. Also can be used to copy watchers between issues.comma separated list of user names, group names or project roles names.

Prefixes + and - can be used to add or remove single users or set of users.
n/aalbert, richard, john : sets 3 users as watchers replacing current ones.

+ Developers, Administrators : adds every user in project roles or groups Developers and Administrators to current watchers.

- Testers, Administrators, + albert, richard : removes users in project roles or groups Testers and Administrators and adds users albert and richard as watchers.

...

%{system.baseUrl}

...

Status
colourYellow
titleString

...