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

0 vote
Andreas Knecht Community Champion Oct 16, 2016

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

Andreas Knecht Community Champion Oct 16, 2016

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 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
Fadoua M. Boualem
Published 10 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

295 views 4 4
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