Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Prompt customer for a response

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 advanceScreenshot 2021-02-05 073544.png

2 answers

1 accepted

0 votes
Answer accepted

@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! 

Hi @Taranjeet Singh 

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!

Like Rob likes this
Taranjeet Singh Community Leader Feb 05, 2021

@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
Like Rob likes this

is there a way to make this 3 business days?

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.

Like # people like this

Gentlemen...very helpful. Thank you for your support

Like Taranjeet Singh likes this

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://community.atlassian.com/t5/Automation-articles/Jira-Automation-all-the-resources-you-need-in-one-page/ba-p/1388465

https://www.atlassian.com/software/jira/automation-template-library#/label/all/1453


Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,105 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you