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

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

Compare two dates and create an SLA for cloud



I was looking around for a way to compare two dates (custom date and resolved date) in the cloud version without an add on.

I found a way and wanted to share:

IF you use the following query:

 "Planned Completion Date" < startOfDay() AND (resolutiondate > startOfDay() OR resolutiondate is EMPTY) 

What is does is:

"Planned Completion Date" < startOfDay()- the SLA can only be breached if the planned date is in the past.

(resolutiondate > startOfDay() OR resolutiondate is EMPTY) - Once a ticket was resolved it will be greater than the start of the day and then the clock will stop, and of course if its still open it breached. 

I tested it and it works, once the ticket is closed it will show the time after the planned date was past. 2019-05-29 10_19_05-Facilities Help Desk - Service Desk.png




Log in or Sign up to comment

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