I am setting up a flow to leave chaser comments on a ticket if it has been in a status for 2 weeks, 3 weeks, and then 4 weeks without an update
However, I can't figure out how to exclude comments left by the previous automations when checking for updates
This is my desired flow
Chase 1: No updates in the last 2 weeks -> Action: leave a comment tagging the assignee
Chase 2: No updates since the automated comment was left and 3 weeks since there has been an update on the ticket -> Action: leave a comment tagging the assignee with a bit more urgency
Chase 3: No updates since the automated comment left in chase 2 and 4 weeks since there has been an update on the ticket -> Action: tag two specific users to follow up with the stakeholder(s) directly
I know how to set up the desired actions but my initial approach for chase 2 of using the following JQL condition was unsuccessful as 'updates' includes the automated comment left in chase 1
status = "With business" AND statusCategoryChangedDate <= -21d AND updated <= -21d
Is there a way to set up these chasers to check for if a comment has been left excluding comments left by the previous automations?
Hi @Phoebe_Thomas and welcome to Community!
You can use smart values to run conditions on the last comment:
If {{issue.comments.last.author.displayName}} equals Automation for Jira, then the last comment was left by Automation.
If {{issue.comments.last.body}} contains "Whatever text you want to check", then the last comment was your chase 1.
Hope this helps!
- Manon
Thank you for your reply! Sorry for the delay in getting back to you
This is very helpful thank you
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.