Hello team...I have a legacy rule that prompt the customer for a response if it is in "waiting on customer" state for 5 business days. I want to move this rule to the new automation scheme ...but alittle unsure how to do that. I have the legacy rule in the attachments... thank you in advance
@Rob I agree with Bill's suggestion, but what I have used in the past is a JQL query like the below to create similar automation rules for prompting the customers by adding a comment on the ticket:
project = "your project name or key"
AND status = "Waiting on customer"
AND updated < -3d
Hope it helps!
I almost suggested using updated and then considered that other changes could have occurred and the issue remain in the same status. I guess the approach depends upon the specifics of what Rob wants to test to indicate "not changing in last 3 days".
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy Correct, I agree it depends on Rob's requirements! But I was wondering if the JQL query can further be modified as below to cover that scenario:
project = "your project name or key"
AND status = "Waiting on customer"
AND updated < -3d and NOT updated > -3d
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rob
Nope, not with JQL for business days. This was asked for in the past and marked as "Won't Do": https://jira.atlassian.com/browse/JRACLOUD-21928
But within the rule you can do this by adding a condition to check for greater than 3 business days, such as
{{now.diff(issue.updated).businessDays}}
If the days in the range were weekends the condition would skip them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rob
You may want to use a scheduled trigger with JQL, running your rule every day, or more often. Your JQL could be based upon the status not changed for 3 days. For example
project = myProject
AND status = "Waiting on customer"
AND NOT status CHANGED AFTER -3d
Then use an action to add the comment.
To learn more about the new rules, please see here:
https://www.atlassian.com/software/jira/automation-template-library#/label/all/1453
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.