Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

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 Jira Software , just like any other JIRA 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
should
do not assign an issue to multiple open/started sprints.
RankRead-onlynumberThe rankTo set the rank, use the
JIRA
Jira Software
Supported Fields
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/Writestring
The issue
Issue key of the epic where this issue belongs
to.
If set to an empty value,
will remove
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 issues
.
Requires the issue to be an Epic. Accepts any valid CSS value for background-color.
(e.g.

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
.

Tip
titleBack to basics

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

Examples

Code Block
#{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