Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add Epic Link through automation

Anna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2022

I am setting a rule to create an Epic when a Task is transitioned, and I also want to link the created Epic to the triggering Task. None of the options under the Epic Link dropdown work for me.

Can you suggest another option to create this automation or is there a special value I can add?

 Screen Shot 2022-07-25 at 3.17.30 PM.png

2 answers

0 votes
John Funk
Community Champion
July 25, 2022

Hi Anna - Welcome to the Atlassian Community!

Instead of choosing an option for the Epic Link, type this in:

{{triggerissue.key}}

0 votes
Cortez Haney July 25, 2022

For the first case, your rule would be something like this:
MiOcado Payslip

Trigger: manual
Condition: issue type equals Epic
Action: create issue, setting the summary and any other fields. To set the epic link, select the source as Current Issue
If you instead trigger the rule from a Story linked to the Epic, the rule would be:

Trigger: manual
Condition: issue type is one of Bug, Story, Task
Related Issue Condition: epic exists
Branch: on parent epic
Action: create issue, setting the summary and any other fields. To set the epic link, select the source as Current Issue

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events