Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I auto-delete a sub-task when I archive an attached card

Hello everyone :) 

It seems like a non-difficult task to perform with butler automation, but I just didn't find the right combination.

 

I will appreciate your help!

2 answers

@Asaf Hershkovitz 

If you have more than 1 checklist on the card remove checklist {*} will only remove the first checklist. 

 

But you can just remove the items

when a card is archived, remove all the items from all the checklists

Hi!

Thanks for the quick answer! unfortunately it is still not working.

Just to be clear, I'm adding 3 screenshots: 1. The project, and the check-list of sub tasks (each of the is linked to a card), 2. The cards as they appear in "Inbox" list, 3. The state after deleting a card, but the sub-task did not change. I wish It will be deleted.

@Asaf Hershkovitz  

Sorry I misunderstood your problem. Am I correct that you want to delete all the linked items in the checklist on the card that is archived? 

@Asaf Hershkovitz  Try this.

Couple of things to note (1) Trello will not let you delete a card, so I used archive instead. (2) From testing for other questions, I know that Butler does not had more than 1 checklist in a card when using {*}. So unless you know names of the checklists, below will handle just the first checklist linked items.

when a card is archived by me, for each card linked from an item in checklist "{*}", archive the card

To work the other way around, going to inbox to collect the cards and for each card link in attachment, there is no easy way for Butler to compare things.

Thanks for the suggestion!

Although it didn't work exactly as I wanted, It did helped me order the right commands for the rule! The final rule which does what I wish is:

when a card is archived by anyone, for each card linked in the attachments, remove item "{triggercardlink}" from checklist "Sub-tasks"

While "Sub-tasks" is the specific checklist name I wanted to delete from.

Thank you for the help! 

@Asaf Hershkovitz  Oh you wanted to removed the linked item pointing to the card that had been archived. Glad that you got it working. 

Like Asaf Hershkovitz likes this

Thanks community! 

The solution is:

when a card is archived by anyone, for each card linked in the attachments, remove item "{triggercardlink}" from checklist "Sub-tasks"

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

780 views 13 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you