Versions Compared

Key

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

Power Scripts for Jira enriches the SIL language by allowing enabling users to directly access the 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
should
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/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 of these custom fields contain a blank space in their name, don't forget to use #{ and } if you'd like to use the name instead of id/alias.

...

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