On this page

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.




If you still have questions, feel free to refer to our support team.