Subtasks including custom fields
Asked by RH:

Hi,

When I create a subtask from the main card into a new list.

the information in the customfields is not included and do not see an option for this.

how do I get this information in the subtask card?


Answers:
author: RH
body: Another Question.

How do I do this;

When a Parent card in list project is archived. -\> archive all child cards

comments: author: Dreamsuite Mike
body: > When a card in list "Project" is archived, for each item linked in checklist "Subtasks", archive the card


author: RH
body: Where do I find "the for each item linked in checklist "Subtasks"

In the Cascade menu I only see "for each card linked or for each checklist item...


author: RH
body: I did this and it seem to work;

when a card in list "Project" is archived, for each card linked from an item in checklist "SubTasks", archive the card


author: Dreamsuite Mike
body: Hi [@QC QC](/t5/user/viewprofilepage/user-id/5114070)

Are you creating the subtasks by using the "convert checklist item to card" automation?

comments: author: RH
body: HI Mike,

I have been following your tutorial on parent-child card linking.

But think i need a more elaborated explanation.

especially on how to implement this in on my board.

I will check/add the "convert checklist item to card"


author: Dreamsuite Mike
body: To my constant annoyance, it isn't easy to lookup custom field values from a linked card. However, in your case, I think there is a solution...

Luckily this is a scenario I have had before too...

It is a relatively tricky one, however...

#### Instead of convert the checklist to card you actually copy the card with automation... {#toc-hId-260766812}

![ezgif.com-video-to-gif (17).gif](https://community.atlassian.com/t5/image/serverpage/image-id/271215iE9B43F9E8DDAE074/image-size/large?v=v2&px=999 "ezgif.com-video-to-gif (17).gif")  
Here is the automation:

![Screenshot 2023-07-26 091924.png](https://community.atlassian.com/t5/image/serverpage/image-id/271211iE56905541C3EEFE1/image-size/large?v=v2&px=999 "Screenshot 2023-07-26 091924.png")

*Note, you have to have the condition "when an item not starting with <https://trello.com/c>" to stop an infinite loop.*


author: RH
body: Hi Mike,

Thanks for the fast response.

I have found this way as well. Not the way I would like to see it.

But the main info is visible.

On the parent-child tutorial im facing a issue and I do not know why it is not working for me.

I can delete from the parent card the task and it will delete the child card in the "to do" list

but when I delete the child in "to do" card it still shows up on the parent card.

![Screenshot 2023-07-26 at 11.17.30.png](https://community.atlassian.com/t5/image/serverpage/image-id/271225i7FA870B95F007F13/image-size/large?v=v2&px=999 "Screenshot 2023-07-26 at 11.17.30.png")


author: Dreamsuite Mike
body: For that, the automation that *should*work is:
> when a card not in list "Project" is archived, find the first card linked in attachments and remove the item "{triggercardlink}"

Let me know if that does/doesn't work...


author: RH
body: Thanks I now see where I went wrong with this automation.

I had "is in" instead of "not in"

Now it does what it suppost to do.

Now to figure out how to implement this in the working board


author: RH
body: Hi Mike,

I need your help again.

After the child card are moved to the done list. I have created a action that the parent card moves from the project list to the invoice list.

How do I get all the child card to move as well?

comments: author: RH
body: ![Screenshot 2023-08-25 at 10.44.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/277114iF66A9693EC62FC6C/image-size/large?v=v2&px=999 "Screenshot 2023-08-25 at 10.44.33.png")


author: Dreamsuite Mike
body: I think the first automations would be:

1)
> When the checklist "Subtasks" is completed, move the card to the list "Invoice"

2)
> When a card with the checklist "Subtasks" completed is moved to the list invoice, for each item linked in checklist "Subtasks", move the card to the list "Invoice"

<br />

Do you really want the subtasks to go to the Invoicing list though?   
In setups like this, I would have an automation that archives the subtasks when parent card moves to "Invoice Paid"


author: RH
body: I was thinking the same thing.

but after some discussions here we decided to keep the subtasks for the invoice.

The parent card contains the entire scope of the project. and than be dived in smaller sub projects which need to be billed once that particular job has been completed.

a parent card can stay for a long period of time.

Is there a guide on creating automations? It all seems pretty straight forward but I notice there are alot of extra things you can do like "linking cards" which is not really being explained.

thus I keep coming back to the forum for answers but this can take a lot of time.