Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Auto-close issue when commented

Drishti Maharaj
Contributor
September 5, 2024

 

Hi,

So I have an automation that when an issue is transitioned to a certain status, the requestor gets an email similar to below:

"Please acknowledge that you have received your item from the Procurement Team by responding to this email with "Received" in the body email."

The requestor responds with Received and that adds the comment back onto the issue.

That seems to be working.

However, the issue is, when that comment comes in, I want to transition the issue to a closed status.

I can't seem to get the attached automation working for that and I am not too sure where the issue is?

Thanks.

Screenshot 2024-09-05 142932.png

3 answers

0 votes
Susan Waldrip
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 6, 2024

Hi everyone, I'm trying to do the same thing as @Drishti Maharaj and have tried several things, but am looking for a solution that won't run an automation every time a comment is made (or am I misunderstanding the rule trigger?). Has anyone created such an automation or other means to achieve this?

Drishti Maharaj
Contributor
September 6, 2024

Hi @Susan Waldrip

I think the condition of looking at the specific words in the comment is what allows the automation to run only if that condition is met. If other comments are added but the words are not there, then the automation won't run. 

Like Susan Waldrip likes this
Susan Waldrip
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 6, 2024

Ah, thank you @Drishti Maharaj. I'm trying to keep our automation count as low as possible so if it fails (versus if it runs but doesn't find anything, which is what I was thinking counted as a "run"), then I'll "borrow" your automation with many thanks!

Like Drishti Maharaj likes this
0 votes
Drishti Maharaj
Contributor
September 5, 2024

Figured it out lol we had a minor spelling issue looking at the comment received via email 😅

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 5, 2024

Hi @Drishti Maharaj , what does your audit log show when the rule is triggered? Is it possible that there is not a transition to Done in the current status when commented?

Drishti Maharaj
Contributor
September 5, 2024

Hi @Jack Brickey - the audit log shows "No actions performed"

I think the issue might be on the field I picked.

I picked "comments" but I am not too sure if that is the standard field within JIRA itself?

So I do have a transition between that current status to Closed.

Screenshot 2024-09-05 144559.png

Like Susan Waldrip likes this
Drishti Maharaj
Contributor
September 5, 2024

Hi @Jack Brickey , I even tried to edit the automation to use the smart values as attached, but the audit log still shows "no actions performed".

Screenshot 2024-09-06 062822.png

Like Susan Waldrip 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