Versions Compared

Key

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


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
hiddentrue



Field type JWT calculated text fields
Use case descriptionDisplays the highest value of a custom field among all linked issues.
Complexity
Status
colourYellow
titleintermediate
UI Text Box
sizemedium
typeinfo

Use case

This calculated field returns the highest value of a specific custom field among all linked issues.

In this example, the Latest Planned Version is Story Points are returned. The evaluated versions Story points are stored in another custom field Planned version (Version Picker (single version))called Story Points.


Image AddedConfiguration

UI Steps


UI Step

Create a new Calculated Text 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

Parsing mode

Select Advanced as text as parsing mode.


UI Step

Parser expression

Add the following expression:

Code Block
languagebash
titleText to be parsed for Calculated Text Field:
linenumberstrue
first(sort(fieldValue(%{issue.cf10409}, linkedIssues()),DESC))


ui-expand
titlemore info...


UI Text Box
typeinfo

%{issue.cf10409} is the field code for the custom field Planned version (Version Picker (single version)) Story Points.

To achieve this, the following functions are used:




UI Step

Add the field to the relevant view screens.

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, the result will look like this:

Image Added

SCREENSHOT Image Added



Image ModifiedRelated 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 = "27066671"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Image Added

Field typeText
Parser functions

first()

sort()

fieldValue()

linkedIssues()

Label