Use case
Create a calculated text field that displays a link to the issue view of the epic linked to the current issue.
⚒️ Configuration
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
Set the Parsing Mode to Advanced text
Parser expression
Add the following expression:
%{10100} != null ?
(toString(fieldValue(%{00028},issueKeysToIssueList(%{10100}))) = "" ? "<a href=\"" + %{00169} + "/browse/" + %{10100} + "\">" + %{10100} + "</a>" : "<a href=\"" + %{00169} + "/browse/" + %{10100} + "\"><strike>" + %{10100} + "</strike></a>")
: null
Please, replace %{10100} with the field code for the field Epic Link before testing the expression.
Add the field to the relevant view screens.
Remember: All calculated fields are read-only and cannot be manually updated on a create or edit screen.
📚 Related use cases
| Use case | JWT feature | Workflow function | Parser functions | Label |
|---|---|---|---|---|
| Check if an issue was resolved on time |
(input latin letters) |
datePart() |
|
|
| Components from all sub-tasks |
(input latin letters) |
|
||
| Details of the last comment |
(input latin letters) |
STAFF PICK |
||
| Difference between two dates in business days |
(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 |
(input latin letters) |
|
||
| Google Maps location |
(input latin letters) |
STAFF PICK |
||
| Highest ranked custom field value among all linked issues |
(input latin letters) |
|
||
| Last comment, its author, and timestamp |
(input latin letters) |
STAFF PICK |
||
| Last commenter's full name |
(input latin letters) |
userFullName() |
|
|
| Status and assignee of parent issue |
(input latin letters) |
|