Hi,
I would be grateful for a little help here!
Basically I want to move all cards to a to-do list when their dependencies have been completed.
I have achieved this already by adding a checklist and checking off each dependency using the following and adding an attachment of the child card to the parent.
when a card is added to list "Completed", for each card linked in the attachments, check item "{triggercardname}"
when checklist "Pre-requisites" is completed in a card, move the card to the top of list "ToDo"
This works on the template board I have set up BUT the issue is when I use the template to create a new board the attachments in the new board relate to the template board and the rule thus marks the checklist on the template board.
I can't see any other way of doing this - and I need to use a template board for repeatable projects.
Any help will be gratefully received,
Thanks
Simon
@Simon Pidduck yeah you need to kind of initialise the links when the project starts. One way would be to move cards into a list with the same name as the parent card, then have a command which said something like:
when a card is moved to list "{*}" find card with name "{listwildcard1}" and add item "{triggercardlink}" to checklist "Sub-tasks"
However depending on the intricacy of your template setup this might be cumbersome.
One way I do this when I need a sophisticated setup in Trellinator is something like:
https://gist.github.com/iaindooley/26258599480e5c1ec1c2a64d88c036af
This will recursively descend from parents through to blocked tasks replacing links in checklist items and attaching a link to the parent card, to the blocked task.
The above code also triggers when you create a card in the "Create Project" list on a board, and links the created board to the card so you have a "board of boards".
You can read more about Trellinator here:
Thanks for your input
I've managed this by having two checklists (Parent) (Child) on all cards.
Then rule 1
When a card is moved to completed check all child items in checklist child
Then rule 2
When an item is checked find a card titled {checklistitemname} check item {triggercardname}
This finds the card in the child checklist on the parent card and marks the parent as checked in the parent checklist of the child card
Then rule 3
When all items in the checklist parent are completed move the card to the "to do" list.
There a reverse rule in case the PARENT card is moved out of the complete list but it all works well.
This way I can set up my dependacies in my template without needing any dynamic linking
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.