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

Is there a way to return the dueDate on checklist items using Trellinator

Feier Florin January 24, 2022

Hello!

I started using Trellinator and it is really something.

But I ran into a problem. I made a board to manage the company's car fleet.

There is a list called "Cars" and in this list there is a card for each car. On each card there is a checklist called "Expiration"  with expiration dates for various items (ensurance, first aid kitt, service period etc.) . Each item has a set duedate as the expiry date.

The goal is when the expiration date is getting close (x days before) the due date on this item should be removed and a new linked card should be created in a new list called "Overview"

The problem I encounter is ehwn I try to get the duedate from checklist item nothing happens... I try it like this: item.due().getTime()

and to check if the time interval is less than x days i do it like this:

if((item.due().getTime() - Trellinator.now().getTime())/1000*3600*24 <= x) { do whatever }

any ideeas?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events