Automation not working

Ross Moulton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2023

Hi, I'm trying to set up an automation on a project but it does not seem to be working, here's the situation/flow:

- on a software project, in project settings, I've set up an automation so that when a task is created as a child issue with a specific label, that issue will be created in a business project

When: issue created

If: label (equals (in any order) ____

Then: create a new (same issue type) in Business Project 

But each time I go to the Business Project, those issues do not show there. The desire is to create marketing tasks in a software project so that they are threaded with the software project, but Marketing can also view just their marketing tasks separately. Thanks! 

1 answer

1 vote
Bill Sheboy
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.
October 18, 2023

Hi @Ross Moulton -- Welcome to the Atlassian Community!

Would you please post an image of your complete rule and an image of the audit log details showing the rule execution?  Those will provide context for the community to offer ideas?  Thanks!

Until we see those...

I hypothesize that the condition is not being met, and so the rule does not continue processing.  One possible cause of that is the Issue Created trigger can fire so quickly the data is not yet available for the rest of the rule...and so your condition fails.

The work-around for that is to add a Re-fetch Issue action immediately after the trigger.  That will slow down the rule by about a second and reload the data before proceeding.

Kind regards,
Bill

Ross Moulton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2023

Thank you very much Bill! I just tried adding re-fetch, still not seeing anything in the board however I noticed it was the first success on the log. But not sure still. Thanks for your help. 

Screenshot 2023-10-19 at 10.44.39 AM.png

 

Screenshot 2023-10-19 at 10.47.13 AM.png

Bill Sheboy
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.
October 19, 2023

In the audit log, you can see a Show more link for each rule execution.  Please expand that first one which shows as successful, and post what you see.

That will show the issue keys and rule steps as they processed, and hopefully explain better what is happening.

Suggest an answer

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

Atlassian Community Events