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
colourRedGreen
titlenot completedone
Screenshots

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



UI Text Box
sizemedium
typeinfo

Use case

This calculated field will return the creation date of the linked epic


Configuration

UI Steps


UI Step

Create a new Calculated Date-Time Field (by JWT) custom field and name it appropriately.

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
titleDate/Time expression for Calculated date/time field:
linenumberstrue
first(fieldValue({issue.created}, linkedIssues("has Epic"))) #since the function fieldValue() returns a list the function first() returns the single value of the list.


UI Expand
titlemore info...


UI Text Box
typeinfo

{issue.created} is the field code for the numeric value of Date and time of creation.

To achieve this, the following functions have been used:




UI Step


UI Steps

Display Format

UI Step

Format type

Choose Date Time Picker




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 (e.g. for all stories), the result will look like this: Screenshot 

Image Added

Image Added

Image Removed




 Related use cases

Page properties report
headingsField type, JWT feature, Label
sortByTitle
cqllabel = "calculated-field" and space = "JWTSDC" and ancestor = "27068727"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Field type
Parser functions

first()

fieldValue()

linkedIssues()

Label

Status
colourRed
titlestaff pick