Forums

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

Issue creation trigger - not working from automation

Alex Larini
Contributor
February 8, 2023

Hi everybody,

 

We have an issue type "Cost_Request" which has a customized workflow with approvals, and an automation triggered by the creation of that issue type, that sends e-mails and do other stuff.

If a user creates that issue, everything works perfectly.

Now the problem: "Cost_Request" issues can be created automatically from the workflow\automations of another issue type.

When this happens, it looks like the creation trigger doesn't activate or something, and the first aforementioned automation never starts. (Checking logs there's no error nor any other trace of the automation getting triggered).

 

What can be the problem, and how can we work around it?

 

Thanks

3 answers

2 accepted

1 vote
Answer accepted
John Funk
Community Champion
February 8, 2023

Hi Alex,

On the Rule Details page, make sure the box is checked under Allow rule trigger. Save and publish and then test it again. 

Screenshot.png

Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2023

Great minds @John Funk :-) 

Like John Funk likes this
0 votes
Answer accepted
Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2023

Hi @Alex Larini A wild guess, but have you checked the "Allow rule trigger" box in the rule to create the issue? 

2023-02-08_09h08_41.png

Alex Larini
Contributor
February 8, 2023

@Kelly Arrey @John Funk I had totally misunderstood that field\check, now it works, thanks!

Like # people like this
0 votes
Vedant Kulkarni_Trundl
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 8, 2023

@Alex Larini , 

Now the problem: "Cost_Request" issues can be created automatically from the workflow\automations of another issue type.

Your workflow automation is not triggering the Create event and hence the automation rule is unable to listen to it. How you are creating Cost_Request automatically?

Alex Larini
Contributor
February 8, 2023

Exactly, that seems to be what's happening.

I've created a loop transition to have the "Create Cost Request" button in the Tasks when they are in progress. It triggers the following automation: 
Capture.PNG

Vedant Kulkarni_Trundl
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2023

@Alex Larini , thanks for the clarification. If its automation only then these are dependent on each other and you would need to link the automation as per the above comments from @Kelly Arrey  & @John Funk

Like Alex Larini likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events