Automation: Chaser comments excluding updates made by previous automations

Phoebe_Thomas October 16, 2024

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?

1 answer

1 accepted

0 votes
Answer accepted
Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Hi @Phoebe_Thomas and welcome to Community!

You can use smart values to run conditions on the last comment:

  • Check last comment's author:

If {{issue.comments.last.author.displayName}} equals Automation for Jira, then the last comment was left by Automation.

comment-author.png

  • Check last comment's content:

If {{issue.comments.last.body}} contains "Whatever text you want to check", then the last comment was your chase 1.

comment-content.png

Hope this helps!

- Manon

Phoebe_Thomas October 24, 2024

Thank you for your reply! Sorry for the delay in getting back to you

 

This is very helpful thank you

Like Manon Soubies-Camy likes this

Suggest an answer

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

Atlassian Community Events