Automation Rule: Display parent tasks Epic details on the subtask issue
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Use automation to display the Epic details in a multiline text field in the issue view.
As per the design in Jira cloud, it is not possible to see the Epic details in the subtask issue view. This feature is tracked under the suggestion ticket: JSWCLOUD-8181 - Sub-tasks should inherit the Epic Link of their parent.
Solution
- Create a Multi-line text field and add it to the Edit/View screens for subtask issue type
Create an Automation for Jira rule as follows:
a) Trigger: When a subtask is created
b) Condition (Optional): You may add any conditions here if required (Example: Project = TEST)
c) Action: Edit issue - Edit the "Multiline text field" to include the following smart value in order to populate the field with the Epic details associated with the parent of the subtask:{{issue.parent.epic.url}} || {{issue.parent.epic.Epic Name}}
Snippet: