Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,371
Community Members
 
Community Events
165
Community Groups

Project Automation set Epic Link is not working

I want some easy rule, after some EPIC is created and want that some Task it automaticly created and linked to the generated EPIC.

I dont know why but this is not working. If i created an EPIC then some new TASK is automaticly generated but withouth any link to the EPIC.

2021-08-23 09_35_24-Project automation - Jira - PM - AEB SE.png

2 answers

0 votes
Daniel Ebers Community Leader Aug 28, 2021

Hi @Björn Fihn

it looks pretty good and should work from my point of view.

In order being able to add an Epic Link the user needs "Edit Issue Permission" on the Epic in question.
You could double check if this would be missing (I see you are creating an Epic but this would only need "Create Issue Permission" so it could be the edit is missing - and that would be leading to a failure).

However, this is just a guess and I am wondering if that would be the case an error shouldn't be visible from log.

Regards,
Daniel

0 votes

Hi @Björn Fihn 

It depends what you describe as "link". If you are talking about epic link between Epic and automatically created Task then this rule should work as expected:

auto1.png

If you wish also to create standard link between issues (like "relates to" or "blocked by") you need to change a little your automation rule:

auto2.png

And the result then:auto3.png

 

 

Best regards,

Piotr

Hi @Piotr Zadrożny _Eyzee_  

yes, i want it as "epic link between Epic and automatically created Task" but this is not woking and i dont know why.

Epic:

2021-08-23 10_52_23-[EHLSP-28] test - Jira - PM - AEB SE.png

Taks automaticly created but without link to Epic:

2021-08-23 10_53_10-[EHLSP-29] test - Jira - PM - AEB SE.png

@Björn Fihn please open your rule and check Audit log. Probably there you will find information why this rule does not work as expected.

auto4.png

@Piotr Zadrożny _Eyzee_ thats the most strange part it mentioned all is good :) 2021-08-23 11_05_05-Posteingang - Bjoern.Fihn@aeb.com - Outlook.png

I have exactly this same problem. I wonder if it is because the automation is quicker than the Epic creation?

I trigger the rule on Epic creation, it all works as expected. It sets other fields as specified, but cannot set the Epic Link and creates it blank. No error is shown.

Hi @tim_wheeler 

First thing: I recommend creating a new question and posting images of your rule to get the most visibility to your question/use case, and add links to related community threads.  Otherwise only people watching older threads will see it.  Thanks!

Next, the Issue Created trigger has a known issue where it can fire before all of the data is available for use/conditions/etc.  I recommend *always* putting a Re-fetch action after the Issue Created trigger to slow down the rule and reload the data before any other rule components.

Kind regards,
Bill

Like tim_wheeler likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you