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

Butler Calendar Command's Trigger, conditioned by "List X is not empty"

Hi, For a project items I would like to perform this logic 5 minutes before every midnight:

If the list "Done Today" is not empty, rename it to "Current Date", and create a new list "Done Today".

I have this command at the moment:

every day at 11:55 pm, rename list "Done Today" to "{date}", and create a new list named "Done Today" in position 3

Problem is that it fires also in days when nothing was done (completed). In such a day it creates an empty list. I would like to avoid from create empty lists.

It seems a trivial task but I can't see how to create the appropriate Butler rule.
Is this possible?

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader Mar 11, 2020

@Doron_Cohen Yeah it looks like the ability to count cards and conditionally take action based on the result didn't make it into the powerup version of Butler, here's a Trellinator command that would do it:

https://gist.github.com/iaindooley/1f0257a436af9bab9efef1ea3ece3328

You can read more about Trellinator here:

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

Suggest an answer

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

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,484 views 12 4
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