Automation does not work as required

Dewa Fakha Shiva
Contributor
April 2, 2024

Hi everyone, I have an issue about the automation for Jira Software.


I have read similar case like the link below:

https://community.atlassian.com/t5/Jira-Software-questions/Why-are-no-actions-being-performed-when-my-JQL-finds-issues-when/qaq-p/2431706

But I still have no idea why my automation did not working as required.

Here are some screenshot to help checking the situation:

1. This is the rule for the automation

a.png

I tried to run this automation every 10 minutes.

The JQL query that I run is:
status = "Production" AND status changed to "Production" BEFORE -2w

as per my understanding and explanation from ChatGPT, this query should be showing all of the issues that in the Production column and move to the Production column after 2 weeks.

and as you guys can see, when I validate the JQL query, it showing 134 issues found, I also tried in the filter functionality and see the same result.

2. This is the audit log for that automation

b.png

The audit log showing there is no action performed, I don't know why.

Can somebody help to get me out of this situation? thank you in advance.

2 answers

1 accepted

5 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 2, 2024

Hi @Dewa Fakha Shiva,

The problem is exactly what the message in the audit log says: you have selected the  checkbox just below your query to

Screenshot 2024-04-03 at 07.01.08.png

Since you are trying to close issues that have not been changed for 2 weeks, none of your 134 issues have been updated recently. So uncheck this box and your rule should run.

On a small side note about the filter itself: this query does not show all the issues that moved to the Production column after 2 weeks, but the ones that were moved more than 2 weeks ago. That may just be a typo, as I believe this is indeed what you want, but just making sure ...

Hope this helps!

Dewa Fakha Shiva
Contributor
April 3, 2024

Hi @Walter Buggenhout ,

Thank you so much, you help works like a charm!

Yes, for the JQL query, I'm aware of it, but as long as the condition match with my needs, I will go with it.

Once again, thank you!

0 votes
Geethanjali Katagani
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.
April 2, 2024

Hi @Dewa Fakha Shiva ,

I hope this email finds you well. I noticed that you have selected the checkbox in the schedule. However, when the checkbox is selected, it triggers automation to run only once for filtering issues. Therefore, I recommend unchecking the box.

Thank you,

Geethanjali

Dewa Fakha Shiva
Contributor
April 3, 2024

Hi @Geethanjali Katagani ,

Yes thank you, it works!

Suggest an answer

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

Atlassian Community Events