/
Sample Formulas - Items and Properties

This article is for Data Center. Visit Cloud

Sample Formulas - Items and Properties

Access an item property

Use the following format: item.property

The following returns the release date for each fix version:

fixVersions.releaseDate

Note: if the fix version field contained multiple values, multiple dates will be returned.

For a list of accessible item types and their properties, see Item Property Reference.

Get a custom field value for this issue, its epic, or its sub-task

You can accomplish this in a few different ways:

this.storypoints // Using item properties. Use a lowercased custom field name, with spaces skipped. this.ACCESS("Story Points") // Using the ACCESS function. Write the custom field exactly as it appears in Jira (with spaces). this.customfield_###### // Using the custom field's id.

 

See how many sprints an issue has been added to

sprint.size()

 

Find the highest subtask priority

Returns the highest priority of the subtasks.

Find the subtask with the highest priority

Returns all subtasks with the highest priority.

Compare two priorities

Predict the finish date for epics

Returns the latest sprint end date for stories within each epic, even if those stories are not contained in the structure.

 

Related content

Attribute to Issue Field Effector
Attribute to Issue Field Effector
More like this
Expr Advanced Reference - Property Access
Expr Advanced Reference - Property Access
More like this
Calculate Epic Story Points Based on Sub-issues
Calculate Epic Story Points Based on Sub-issues
More like this
Creating a Formula
More like this
Cost Calculation for Issues and Projects
Cost Calculation for Issues and Projects
More like this
Update Assignees to Match Parent Issues
Update Assignees to Match Parent Issues
More like this