I have created automation when the task is transitioned in waiting for approval and there is no update within 48 hours, so the task reporter should get comment.
The automation works, but there are cases when the task is in the waiting for approval status, the reporter receives a comment for 2 hours. or 1 day Please help me understand why it works like that.
@Hayk Tadevosyan welcome to the community!
Can you share a screenshot from your automation? and automation audit logs?
Hello this is automation screenshots
Thank you in advanc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Hayk Tadevosyan it is all because of your JQL. You are looking for issue that is in "Waiting for Approval" status which is correct. However, you are not checking if the status change for "Waiting for Approval" happened before 48 hours ago, so your automation returns true even if you changed to "Waiting for Approval" just 1 minute ago.
The correct JQL should be something like this:
status = "Waiting for Approval" and status changed to "Waiting for Approval" before "-48h"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.