Jira Software supported fields

Looking for the documentation on the newest versions of Power Scripts for Jira 8 for Server/Data Center? Click here !

Power Scripts™ for Jira enriches the SIL™ language by enabling you to directly access custom fields created by Jira Software just like any other Jira custom fields.

Supported custom fields

Custom FieldRead/WriteSIL TypeValueNotes
SprintRead/Writenumber []List of sprint IDsIssues assigned to multiple open/started sprints will show up only one sprint in the Rapid Board. It is recommended that you do not assign an issue to multiple open/started sprints.
RankRead-onlynumberThe rankTo set the rank, use the Jira Software supported fields
Epic StatusRead/WritestringA valid option for the Epic Status. (by default, it's one of: To Do, In Progress, Done)Requires the issue to be an Epic
Epic LinkRead/WritestringIssue key of the epic where this issue belongsIf set to an empty value, the issue will be removed from the epic
Epic NameRead/WritestringThe name of the epicRequires the issue to be an Epic
Epic ColourRead/WritestringColor code of the epic links that are shown on the child issuesRequires the issue to be an Epic. Accepts any valid CSS value for background-color.
Examples: #EAEBDD, rgb(127, 67, 233), #cab, yellow
Story PointsRead/WritenumberThe number of story points on the issue
FlaggedRead/Writestring []A valid option for the Flagged field
Business ValueRead/WritenumberThe business value of the issue

Back to basics

Most of these custom fields contain a blank space in their name, therefore remember to use #{ and } if you'd like to use the name instead of id/alias.

Examples

#{Story Points} = 8;
#{TEST-1.Epic Name} = "Best Epic name ever";
print(Rank);
print(TEST-1.Sprint);
print(#{TEST-1.Sprint});
print(#{TEST-1.Business Value});

See also

Live Fields Support for Jira Software Fields
Predefined Jira Software (Agile) Structure Types