Versions Compared

Key

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


hidden
Page properties
hiddentrue


Tech review

Status
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourGreen
titledone

Page status

Status
colourGreenYellow
titleReady for reviewdone

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

Page properties

true
Field typeJWT calculated number fields
Use case descriptionCalculate the total remaining estimates of all issues linked to the current epic.
Complexity

Status
colourGreen
titleBeginner



UI Text Box
sizemedium
typeinfo

Use case

This use case calculates the total of all remaining estimates (in days) of issues and sub-tasks linked to the current epic.

If you want to exclude sub-tasks have a look at the following use case: Total remaining estimate in an epic (only standard issuesno sub-tasks).


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.remainingEstimate}, issuesUnderEpic() UNION subtasks(issuesUnderEpic()))) / 480 
# The result, which returns the number of minutes is divided by 480 to return a number of working days.


ui-expand
titlemore info...


UI Text Box
typeinfo

To achieve this, the following functions are used:




UI Step

Display format

UI Steps


UI Step

Content type

Choose Number as Content type 


UI Step
Enter the following custom format for

Number format pattern

Choose:

Code Block
languagebash
###.##d





UI Step

Check the results

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




Related use cases

Use case
Page properties report
firstcolumn
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


JWT feature

Image Added

Field typeNumber
Parser functions

sum()

fieldValue()

issuesUnderEpic()

subtasks()

Label