Forums

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

CAB automation - once implantation date has past

Danielle David
Contributor
October 12, 2022

Hi, we are trying to run an automation however having issues with the last part.

Basically when a CAB is approved and in awaiting production deployment, after 72 business hours once the implantation date has past to add a note in the ticket.

 

We are getting stuck on the = start of day etc

 

status = "Awaiting production deployment" AND "Implementation completion date[Time stamp]" = startOfDay(-9)

1 answer

0 votes
Mark Segall
Community Champion
October 13, 2022

Hi @Danielle David So the issue with the query is that you're looking for an Implementation completion date time stamp that is exactly 9 days ago at midnight.  What you'll need to do is something like this:

status = "Awaiting production deployment" AND "Implementation completion date[Time stamp]" >= startOfDay(-9) AND "Implementation completion date[Time stamp]" < startOfDay(-8)

This will get anything that falls between midnight to midnight 9 days ago.

Suggest an answer

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

Atlassian Community Events