Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,078
Community Members
 
Community Events
165
Community Groups

Automation for Jira - Issue created by automation rule doesn't trigger "Issue created" event

Edited

Hi there,

I'm playing around with Automation for Jira and I ran into a problem.

I have a rule in Project A that creates issues in Project B.

In Project B I have a rule to look for these issues and create Subtasks.

The problem is, that the rule in Project B doesn't work, it's not even picking up, that a new issue was created.

Here's the rule:

2022-05-17 13_51_52-Projektautomatisierung - JIRA.png

And here's the audit log:

2022-05-17 13_52_55-Projektautomatisierung - JIRA.png

The one time it worked, I created an issue manually in Project B.

I checked the workflow in Project B and upon creation, the correct trigger is fired. But these automatically created issues don't seem to fire that trigger, which seems odd to me.

I hope you can help.

Greets,
Steve

3 answers

1 accepted

0 votes
Answer accepted

I made it work. The answer was: RE-INDEX :D So, this makes me look dumb but I'm glad it works now.

Filipi Lima Atlassian Team May 18, 2022

Hindsight is 20/20, my friend! It's always easy once you know the cause :D

Good job making it work!

Like Steve Geiler likes this

@Steve Geiler- I was just working on a similar rule and ran into this issue as well.  This seems like a bug as the rule fires when manually created, but not when the issue is created by 'Automation for Jira'. I'm looking for workarounds but so far have not come up with anything.  I'll let you know if I do. 

@Steve Geiler- Looks like I just overlooked checking the 'Allow rule trigger' option.  Now it is working for me. 

Like # people like this
0 votes
Filipi Lima Atlassian Team May 17, 2022

@Steve Geiler  - Squal hit the nail there - Automation for Jira by default will have the "allow rule trigger" disabled to protect against infinite loop automations.

You can edit it on your rule, via Rule Details options after creating it:

image.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

241 views 1 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you