Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
The value of this read-only custom field is dynamically calculated from a custom text expression. It can be used to show a text which aggregates information 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). |
Configuration
Configuring a Smart text field is straightforward. You have to configure a valid expression, which will "calculate" the output.
UI Step | |||||
---|---|---|---|---|---|
Create a new Smart text custom field and name it properly.
|
Text expression
Add a valid parser expression that will "calculate" the output. Usually, field codes will be used for this purpose.
In order to use a JWT expression, choose the General parsing mode:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
This is the last comment: %{issue.lastComment} # This example simply returns the last comment added to an issue using a JWT expression.
|
In order to use a Jira expression, choose the Jira expression parsing mode:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
"This is the last comment: "+ (issue?.comments != [] ? issue?.comments[issue?.comments?.length-1].body?.plainText : "") // Will return the same using a Jira expression.
|
Table Excerpt Include name smart text field merge-tables true page 1.0 Smart fields type page
type | tip |
---|
Use cases and examples
Page properties report | ||||||||
---|---|---|---|---|---|---|---|---|
|