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? 

4 answers

1 accepted

0 votes
Answer accepted
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 votes
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

Yes I have the same question. I would like to do the following:

Rule 1: If situation X then assign Y, Else Trigger Rule 2

Rule 2: Do Z

I expect I can solve this with throwing events but rather have it trigger another rule directly.

Hi Ivo

  That sounds like the basic format of one rule -  

Trigger 

IF condition

 - Action

IF Condition 

- Action

Just make sure the conditions are mutually exclusive.

 

If you need 2 rules, then the triggers must be different.

there is some way to execute first regali 1 then 2, 3 and 4 since I do not understand that simple check does not say much to me: / I do not understand it

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page

                                                      &nbsp...

251 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