Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automated message is a ticket is in WFC for x amount of days

Marija Aleksejeva June 15, 2025

We would like to set up an automation that reminds customers about their tickets in 'Waiting for Customer' status.

We would like to send a message when the is in 'Waiting for Customer' status for 1, 2 and 3 weeks.

So far, I have made 3 different automations with trigger Scheduled and added a JQL 

  • 'status = "Waiting for customer" AND updated < -1d'
  • 'status = "Waiting for customer" AND updated < -2d'
  • 'status = "Waiting for customer" AND updated < -3d'

However, the automation adds all 3 comments right away, not after 1, 2, 3 days as I would like to. 

2025-06-16_08h27_08.pngPlease note that I have added days instead of weeks for now because it's still a test automation. 

Thank you for your help!

3 answers

1 vote
Marc - Devoteam
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.
June 17, 2025

HI @Marija Aleksejeva 

Set the JQL for the scheduled triggers as follows

Status = "Waiting for customer" AND (updated <-1d  OR updated = -2d)

Status = "Waiting for customer" AND (updated <-2d OR updated = -3d)

Status = "Waiting for customer" AND updated <-3d 

Marija Aleksejeva June 20, 2025

Hi Marc,

I have set the triggers like this and it's not working somehow.

I have set the ticket to WFC on 17th June and no comment was added since :(

Marc - Devoteam
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.
June 20, 2025

HI @Marija Aleksejeva 

Use these JQL clauses in the search, what are the outcomes per JQL?

0 votes
Bharat Kumar Bondalapati
Contributor
June 16, 2025

@Marija Aleksejeva 

I have this in my automation and it works as expected.
WFC.jpg

The trick here is I check the box "Only include issues that have changed since the last time this rule executed". 

You can find more info here: https://support.atlassian.com/automation/kb/Only-include-issues-that-have-changed-since-the-last-time-this-rule-executed/

0 votes
Anandhi Arumugam _Cprime_
Community Champion
June 16, 2025

Hi @Marija Aleksejeva Can you try a custom field counter? Or validate the previous comment content before sending the email?

Marija Aleksejeva June 16, 2025

Hi @Anandhi Arumugam _Cprime_ ,

Not sure how I can do it, can you please explain?

Thank you

 

Anandhi Arumugam _Cprime_
Community Champion
June 18, 2025

Hi @Marija Aleksejeva I think the answer suggested by  @Marc - Devoteam would work. As an alternate,

Whenever an email is sent by automation, add another action to increment a custom field value, validate this to see the email counts sent to the user. You can use the Smart value {{#=}}{{issue.<Customfield_name>|0}} + 1{{/}}

Suggest an answer

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

Atlassian Community Events