Page History
hidden | true |
---|
Status | ||
---|---|---|
|
Status | ||
---|---|---|
|
Status | ||
---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
This type of read-only custom field has a value which is dynamically calculated from a custom text expression. It can be used to show a text composed from one or more field values returned by field codes. You can also create any custom text value depending on the values of other fields in the current issue or in any other issues (linked issues, sub-tasks, epics, stories, JQL selected issues, etc). Learn more about working with Texts. |
Configuration
Configuring a calculated text field is straightforward. You just have to configure a valid parsing mode and add a parser expression, which will "calculate" the output.
UI Steps | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example: Calculated Text Field "Components of Sub-tasks"
Info | ||
---|---|---|
| ||
In this step by step example we show how to create a calculated text field called "Components of Subtasks" that will contain a comma-separated list with the components of the current issue's sub-tasks. |
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Create a new Calculated Text Field (by JWT) custom field and name it properly.
UI Text Box | ||
---|---|---|
| ||
Providing a description will help you to identify what the custom field does but this step is optional |
Parser expression
UI Step |
---|
Set the parsing mode to Advanced |
Add the following expression:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
toString(distinct(fieldValue(%{00094}, subtasks()))) |
title | more info... |
---|
UI Text Box | ||
---|---|---|
| ||
To achieve this, the following functions are used: |
Finally, the configuration of the new custom field should look like this:
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|