Butler automation: setting due dates on linked cards converted from check-items
Asked by Hannah:

Hello! I'm wanting to automate setting a due date on a linked card.   

**This is what I've created so far and it's working fine:**   
*When a check-item is added to checklist "X", convert the check-item into a linked card, copy the labels, and move it to board "X"*   
--\>What I'm looking to achieve is to automatically set a due date on the linked card.   

<br />

**Ideal scenario:**   
Copy the due date from the parent card to the linked card and move it by "X" amount of days.  

**Bonus:**   
If the due date on the parent card changes, this should cause a cascading effect and update the due date by the same amount of time on the linked cards.  

<br />

Is this possible, or is there another way to achieve this so I'm able to automatically set the due dates on the linked cards? Open to other suggestions!  

Thank you! :)


Answers:
author: Iain Dooley
body: [@Bri](/t5/user/viewprofilepage/user-id/4160330) I think what you can do is add a label to the "parent" that will copy to the linked card, then have a separate rule triggering when a card is created with that label on it to look for the due date on the first card linked in the attachments, get the due date and set it on the trigger card.

The only trigger is that you'll need to first set the due date on a custom field in the trigger card then set the date to the date in the custom field (an unfortunate little workaround because there's no way to directly set one card's due date based on another card's due date)

comments: author: Hannah
body: Thanks, Iain! I'll do some digging.


author: milynnus
body: [@Bri](/t5/user/viewprofilepage/user-id/4160330)

If you are using only Butler, the first hurdle will be to use the date like a card due date to set the due date for another card.   
In my reply in this post <https://community.atlassian.com/t5/Trello-questions/Automated-planning-for-a-project/qaq-p/1749777#M49227>

I shared a piece of work that allows for dates to be set on a set of items and or it's linked subtask cards. The date input can be a start date or a deadline. Without the use of a custom field override it will be fixed days between items or card otherwise it will take a set of comma delimited numbers and apply to the checklist.

comments: author: milynnus
body: [@Bri](/t5/user/viewprofilepage/user-id/4160330)

This video is before I added the override.   
<https://youtu.be/6nSRM6WmDdI>


author: milynnus
body: [@Bri](/t5/user/viewprofilepage/user-id/4160330)

This implementation is more generic and it is intended to be used from within Butler

<https://trello.com/c/h9QvOF0R>


author: milynnus
body: [@Bri](/t5/user/viewprofilepage/user-id/4160330)

It is always good to learn a new way to do it.

**Update** : change pattern to {newcardlink}

**Lastly :**
> when a due date is set on a card, for each card linked from an item in checklist "Checklist A", rename the card to "{multipliercardname} {triggercardduedate}"

![Screen Shot 2021-07-21 at 9.27.22 AM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152130i9824A16031EA60F2/image-size/large?v=v2&px=999 "Screen Shot 2021-07-21 at 9.27.22 AM.jpg")


author: Hannah
body: Great - thank you! I'll take a look into it