Hi,
I have structure where all the tickets are grouped by assignee: I want to check when the resource is free
WITH maxDueDate = MAX(dueDate) WITH currentDate = NOW() WITH daysDifference = ROUND((currentDate - maxDueDate) / (1000 * 60 * 60 * 24)) WITH availabilityStatus = IF (currentDate > maxDueDate) : "Free since " + daysDifference + " days" ELSE IF (currentDate == maxDueDate + 1 day) : "Free today" ELSE : "Free in " + (maxDueDate - currentDate) / (1000 * 60 * 60 * 24) + " days"
Thank in advance
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.