Versions Compared

Key

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


style

Page properties
hiddentrue


Tech review

Status
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourYellowGreen
titleReady for reviewdone

Page status

Status
colourGreen
titlecomplete

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Panel

On this page

Table of Contents
exclude(On this page|Use case).*

circletypeflatseparatorpipe



UI Text Box
sizemedium
typeinfo

Use case

This calculated field sums up all the story points of issue linked to in an epic. The field only makes sense when displayed on an Epic issue type.


Image AddedConfiguration

UI Steps


UI Step

Create a new Calculated Number Field (by JWT) custom field and name it properly.

UI Text Box
typetip

Providing a description will help you to identify what the custom field does but this step is optional



UI Step

Parser expression

Add the following expression:

Code Block
languagebash
titleMath expression for Calculated Number field:
linenumberstrue
sum(fieldValue({issue.cf10200}, issuesUnderEpic(%{issue.key})))


ui-expand
titlemore info...


UI Text Box
typeinfo

{issue.cf10200} is the numeric field code for Story points (this field code might differ in your Jira instance)

To achieve this, the following functions are used:




UI Step

Add the field to the relevant view screens associated with an Epic issue type.

UI Text Box
typenote

Remember: All calculated fields are read-only and cannot be manually updated on a create or edit screen.



UI Step

Check the results

Once configured and added to an issue screen (of an epic), the result will look like this:



Related use cases

Page properties report
firstcolumnUse case
headingsField type, Use case description, ComplexityJWT feature, Label
sortByTitle
cqllabel = "calculated-field" and space = "JWTSDC" and ancestor = "27066672"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


Aggregates the total of all story point estimates of issues linked to an epic.
JWT feature

Image Added

Field typeNumberUse case description
Parser functions

sum()

fieldValue()

issuesUnderEpic()

Label

Status
colourRed
titlestaff pick