Hi,
I want to now if the due date is between two other dates (startDate & endDate).
The startDate and endDate are in a variable (obtained via a web request). According to the documentation I can use isAfter to determine if the duedate is after the startDate.
{{startDate.toDate.format("yyyy-MM-dd").isAfter(issue.duedate)}}
And this to see if endDate is before the duedate
{{endDate.toDate.format("yyyy-MM-dd").isBefore(issue.duedate)}}
I also tried diff & compareTo but it does not work.
How can I accomplisch this?
Hi Rudy,
If you are trying to get the value for if/else block, then you can use Advanced comparison condition, right. I think its {{smart values}} condition in cloud.
It's a bit more complex since I have to iterate over a list in a JSON object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.