Versions Compared

Key

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


Page properties
hiddentrue


Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Page status

Status
colourGreen
titledone

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



UI Text Box
sizemedium
typeinfo

Use case

Return 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 text as parsing mode.

Parser expression

ui-steps


Add the following expression:

UI Step

Parser expression

Set the Parsing Mode to Advanced

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


ui-expand
titlemore info...


UI Text Box
typeinfo

%{

10409

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

Image Added



Image AddedRelated use cases

Page properties report
headingsField type, JWT 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