Trello Subtasks with Trellinator

A while ago I wrote a "master/slave split" command in Butler that was quite a popular example on their support board, and subsequently implemented a similar function in my standard Benko Board Trellinator commands.

However, while doing some work for a client I created this more generic "Subtasks" system that I thought some of you might like ... I was also pretty happy with the elegance of the code and the solution -- really shows the power of the Trello API and Trellinator!

So firstly, here's the code:

https://gist.github.com/iaindooley/60b72145142387b7f875ec1fe99a956e

I've added comments in the code but basically what it does is creates a card for any checklist item added into a checklist called "Subtasks", then links to the card from the checklist item and links back to the master card from the newly created card.

You can then subtask your subtasks by adding a Subtasks checklist onto the created card and populating it with items!

The new cards are created in a list to the right of the list in which the trigger card resides.

Here's a quick screencast that shows it in action:

https://www.useloom.com/share/f9c9a7603c354a249b9b4c4406760d11

If you'd like to have a go at installing this subtasks function on some or all of your boards, you can follow these instructions to set up Trellinator:

https://community.atlassian.com/t5/Marketplace-Apps-articles/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events