Hello Guys,
I created Jira Automation Rules with two conditions : project = A and last.comment.last.body does not equals "Thank you".
Please find below the rules :
trigger : Every morning
If block // Conditions : Project = A and status = "waiting for customer" and StatusCategoryChangedDate <= -7d and updatedDate <= -7d
AND
{{issue.comment.last.body}} does not equal "Thank you"
Action : add comment to work item "Thank you"
Unfortunately, even if the last comment equals the value "Thank you" the automation adds the comment on the work item. So i have the same comment twice.
Could you please help me find out how to make sure if the last comment is the same, so do not add comment ?