multiple automation rules don't run

I have two rule enabled and when both are enabled, one of them always doesn't run.

Rule 1: create an issue when conditions are met

Rule2: create subtasks on above newly created issue

 

Rule2 is not run at all when looking at the audit log.

If I manually create an issue (and both rules are enabled) then Rule2 will run and create the subtasks. 

 

Is this a bug or am I doing something wrong? 

3 answers

1 accepted

This widget could not be displayed.
Andreas Knecht Community Champion Sep 10, 2016

Hi Phyllis,

I've now shipped the ability to allow a rule to be triggered by an action from another rule to production.  In the rule details there's a new checkbox to enable this:

rule-triggering.png

Would be awesome if you can try this out and let me know if works for you.

 

Cheers,
 Andreas

Tried this out and works so far! smile

thanks!

HI

why the check box "Allow rule trigger" does not allow to choose the trigger rule?
this would make it possible to chain the planned rules, by putting only the 1st.
for example extractions of data on Excel
we could trigger based event, but this is not manageable with 20 or 30 extractions.

 

cheers,

Jérôme

This widget could not be displayed.
Andreas Knecht Community Champion Sep 09, 2016

Hi Phyllis,

Currently this is not possible since it's a little dangerous - you can easily cause an infinite loop (where rule 1 triggers rule 2 and an action in rule 2 then triggers rule 1 again over and over).

I've raised https://codebarrel.atlassian.net/browse/AUT-19 though - I should hopefully get to this today. I think we'll add a checkbox in the rule details to optionally allow this behaviour - it can be useful like in the case that you described.

Cheers,
  Andreas

Andreas Knecht Community Champion Sep 09, 2016

Sorry Phyllis, the implementation for this is a little more complex than I thought. I should get this shipped to production by Monday though.

This widget could not be displayed.

Hi,

why the check box "Allow rule trigger" does not allow to choose the trigger rule?
this would make it possible to chain the planned rules, by putting only the 1st.
for example extractions of data on Excel
we could trigger based event, but this is not manageable with 20 or 30 extractions.

 

Thanks for your reponse.

 

cheers,

jérôme

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

523 views 3 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you