Versions Compared

Key

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


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Create a calculated text field that displays a link to the issue view of the Epic epic linked to the current issue.


Configuration


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

Set the Parsing Mode to Advanced text


UI Step

Parser expression

Add the following expression:

Code Block
languagebash
linenumberstrue
%{10100} != null ? 
(toString(fieldValue(%{00028},issueKeysToIssueList(%{10100}))) = "" ? "<a href=\"" + %{00169} + "/browse/" + %{10100} + "\">" + %{10100} + "</a>" : "<a href=\"" + %{00169} + "/browse/" + %{10100} + "\"><strike>" + %{10100} + "</strike></a>")
: null


UI Text Box
typenote

Please, replace %{10100} with the field code for the field Epic Link before testing the expression.



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.







Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "calculated-field" and ancestor = "27066671"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Field type
Parser functions

toString()

fieldValue()

issueKeysToIssueList()

Label




Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titledone

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