Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,332,540
Community Members
 
Community Events
169
Community Groups

Compare two dates and create an SLA for cloud

Hey!

 

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

 

0 comments

Comment

Log in or Sign up to comment