Jira automation. Reminder for users - forcing them to be active

Maksym Kyreiev November 21, 2023
We have a problem - people who create tasks are not very actively involved in their further verification or testing. For example, we received a task, then the programmer asked a question or solved a problem and submitted it for testing, and the task can wait several days until the user responds to our question or comment. The project manager has to run after them and remind them to get on with the task. It is very uncomfortable. I want to set up an automation rule in the JIRA ATOMATIOM, that will:
  1. Check how much time has passed since the programmer’s last comment,
  2. If more than one day has passed AND If the status of the task differs from “DONE”, an automatic comment with a reminder should appear in the task and this should continue until the user leaves a comment and changes the status of the task.

I can't find how to bind to the date of the last comment from a specific user. All I found in automation was the task update date, but this doesn’t suit me. I would appreciate any help/advice.

2 answers

2 accepted

2 votes
Answer accepted
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.
November 21, 2023

Hi @Maksym Kyreiev 

Regardless of solving this symptom with automation, or other practices, please consider if there is a different root cause, leading to the question: why if help was asked for, the response was not used for several days?

For example, is the amount of work-in-progress (WIP) so high that developers took a while to respond, and so a tester moved on to other tasks?  Or was the request communicated in a way that was not visible quickly?  Or are the priorities shifting and so the request / response was less relevant?  And so on...

Understanding the cause may help to solve the underlying problem, reduce the need for the reminders as the current work will be the focus of all involved, and so help remove delays to completion.

Kind regards,
Bill

Maksym Kyreiev November 21, 2023

100% agree with you @Bill Sheboy ! 

0 votes
Answer accepted
Muhammad Moazzam Hassan
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.
November 21, 2023

Create automation rule - Trigger on Schedule basis on every hour daily and filter out those issues whose status is not equals Done and then compare the last comment difference if it is greater than 0 then it will add a comment.

{{now.diff(issue.comments.last.created).days.abs}}

image.png

Maksym Kyreiev November 21, 2023

@Muhammad Moazzam Hassan thanks a lot! Could you also tell me how to add a condition with the author of the comment? I tried something like this: "issue.comments.last.author.name = John.Doe but it doesn't work

Muhammad Moazzam Hassan
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.
November 21, 2023

If you want to match any user then you can match via account ID, you have to fetch john accounts id then use smart value {{issue.comments.last.author.accountID}} equals then match it with account ID. 

Like Maksym Kyreiev likes this

Suggest an answer

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

Atlassian Community Events