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

0 vote
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

0 vote
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.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

365 views 0 6
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