Custom fields sum date and numbers field using Trello and Butler Powerup

Anders September 23, 2020

In Trello Im using the Butler Power up. When setting due date on a card I update the first linked cards due date to the main cards date plus 3 days.

 

@Iain Dooley helped me solve this with the following code:

when a due date is set on a card, find the first card linked in the attachments, set custom field "Due" to "{triggercardduedate}", and set due on the date in custom field "Due" plus 3 days

 

But instead of always adding 3 days I want to have a custom filed on the next card with OffsetDays that I add to Due date. So I set the Due date of the second card to Due + OffsetDays.

Something like this:

when a due date is set on a card by anyone, find the first card linked in the attachments, set custom field "Due" to "{triggercardduedate}", and set due on the date in custom field "{{%Due}} + {{%OffsetDays}}" 

 

But I cant figure out how to add days using a custom field variable.

1 answer

1 accepted

1 vote
Answer accepted
Anders September 23, 2020

Finally solved it

 

when a due date is set on a card by anyone, find the first card linked in the attachments, set custom field "Due" to "{triggercardduedate}", set custom field "NewDate" to "{{%Due}+{{%DaysOffset}}wd}", and set due on the date in custom field "NewDate"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events