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.
Create a new Calculated Text Field (by JWT) custom field and name it properly
Providing a description will help you to identify what the custom field does but this step is optional
Parsing mode
Make sure to select the correct parsing mode for your expression. Learn more about Parsing modes.
|
Basic text mode |
Advanced text mode |
|---|---|
|
Bash
|
Bash
|
The parsing mode will define the syntax of your expression. Using parser functions will only work in advanced mode.
Text expression
Add a valid parser expression which will "calculate" the output.
Usually field codes will be used for this purpose.
%{issue.lastComment} # This example simply returns the last comment of an issue.
📚 Use cases and examples
| Title | Field type | JWT feature | Parser functions | Label |
|---|---|---|---|---|
| Check if an issue was resolved on time | Text |
(input latin letters) |
datePart() |
|
| Components from all sub-tasks |
(input latin letters) |
|
||
| Details of the last comment | Text |
(input latin letters) |
STAFF PICK |
|
| Difference between two dates in business days | Text |
(input latin letters) |
formatWorkDuration() timeDifference() |
|
| Display additional details of the issue creator |
(input latin letters) |
|
||
| Display current issue's project category |
(input latin letters) |
|
||
| Display historic due dates |
(input latin letters) |
|
||
| Display reporters of linked Cloud issues | Text |
(input latin letters) |
|
|
| Google Maps location | Text |
(input latin letters) |
STAFF PICK |
|
| Highest ranked custom field value among all linked issues | Text |
(input latin letters) |
|
|
| Last comment, its author, and timestamp | Text |
(input latin letters) |
STAFF PICK |
|
| Last commenter's full name | Text |
(input latin letters) |
userFullName() |
|
| Status and assignee of parent issue |
(input latin letters) |
|