Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 26


intermediate

Page properties
hiddentrue


Tech review

Status
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourGreen
titledone

Page status

Status
colourYellowGreen
titleReady for reviewcomplete

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

Page properties
hiddentrue
Field type JWT calculated number fields
Use case descriptionDisplays the number of all open sub-tasks.
Complexity
Status
colourYellow
title



UI Text Box
sizemedium
typeinfo

Use case

This calculated field returns counts the number of issues in that have the same fix version as like the current issue.


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
%{issue.fixVersions} != null ? count(issuesFromJQL("fixVersion = " + %{issue.fixVersionsfixVersion})) : null
# If a fix version is set, the number of issues within the same version is counted using a JQL query.


ui-expand
titlemore info...


UI Text Box
typeinfo

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 RemovedImage Added




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

count()

issuesFromJQL()

Label