Forums

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

Crete Epic and linked Stories using Automation off a trigger

Katherine Lord
Contributor
September 28, 2023

Trying to do this via Automation.

 

Create "Request for Test" and this triggers the automatic creation of an Epic and Stories and the stories are linked to this newly created epic.

From what I have gleaned form the community I have been truing to use the variable function but not sure where I am going wrong.

 

Screenshot 2023-09-28 at 1.23.19 PM.pngScreenshot 2023-09-28 at 1.23.49 PM.pngScreenshot 2023-09-28 at 1.24.01 PM.pngScreenshot 2023-09-28 at 1.26.31 PM.png

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2023

Hi @Katherine Lord 

For your scenario, I do not believe you will need the created variable.

Instead, once you are inside of that branch on Most Recently Created Issue, the {{issue}} smart value refers to your new epic.  And so that can be used to set the epic link.

  • trigger: issue created
  • action: re-fetch issue (I recommend adding this as the above trigger can happen so fast that the data is not available yet, leading to the next condition failing.)
  • condition: issue type is Request for Hardware Test
  • action: create issue, for the new epic
  • branch: on most recently created issue
    • action: create issue, for the story, and set the Epic link to {{issue.key}}

If that does not work, let the community know what you observe, and post an image of the audit log details along with your updated rule.  Thanks!

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events