Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Steve Geiler May 17, 2022

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
Steve Geiler May 17, 2022

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
1 vote
squal
Contributor
May 17, 2022

@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. 

squal
Contributor
May 17, 2022

@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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events