On Create trigger doesn't appear to fire when an issue is cloned

I have an automation that creates a clone on an issue transition, and now I'm trying to do something with that clone.

Specifically, I'm trying to do an auto transition with it.  It didn't seem possible to hook that into the original automation, so I'm attempting to do it after an issue create. However, after doing the clone, it appears that the On Create trigger is never triggered.  

Any thoughts on a different approach to accomplish what I'm doing?

1 answer

1 accepted

Hi Casey!  

This should work.  Can you confirm a few things for me please:

  • Is the rule that is triggered when the issue is 'cloned' in the same project as the target project of the clone?  So in other words if you are cloning the issue into another project, then the rule needs to be defined in that target project
  • Can you confirm that the 'Allow rule trigger' checkbox is checked in this automation rule:
    Automation List 2016-10-17 08-00-53.png

By default this is unchecked (we do this to prevent accidental loops where one rule may trigger another rule, and that rule may trigger the first rule again).  If the issue is being cloned by an automation rule, the second automation rule with the create trigger will only trigger if this checkbox is checked.

If things still don't work can you raise a support request via http://codebarrel.io/support please with your instance details so we can take a closer look?

Cheers,
 Andreas

 

You nailed it.  It needed to be in the right project.  I didn't even realize I'd been targeting a project.

Thanks Andreas.  Also, it's a shame you didn't win ShipIt live last week.  smile

Great! Happy to help out.  

Ah and no worries about ShipIt live - the voting is usually fairly random these days and the winning project definitely deserved it!  We're still quite happy with 3rd place smile.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,151 views 6 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot