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

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 do I create an automation to move a card that's been inactive for X days?

I've tried figuring this out through the Butler interface but can't find any options for actions that occur after a certain period of inactivity. I've also seen some commands online such as this one: "for each card in list "To Do" inactive for more than 5 working days, add the red label"

I could adapt this command for my own purposes,  but can't find a place in Butler where you can enter a command like this using this code/script alone. Is there such a place?



2 answers

@Matt Jarman 

Below is the solution I shared with Brett. It does mean signing up to my Superhero Power or developed you own endpoint to support this. You can also used the variable in the way that works for you. The thing is Butler does not handle if conditions. 

every day at 8:55 pm, create a report in variable "last_activity" with all cards using pattern "{cardlastactivitydate~YYYYMMDD}^{date-7d~YYYYMMDD}^- The date of last activity of this [{cardname}]({cardlink}) in this List {cardlistname} is more than 7 days ago. The last activity was on {cardlastactivitydate}.", post to url "<registry ID>&module=5f8f85b37e48935f02fa954e" with payload "{\"report_variable\" : \"{$last_activity}\"}", and send an email notification to "" with subject "Last Activity More 7 days Ago" and message "Here's your report : \n\n {httpresponse.condition_met_list}"

@Matt Jarman  Look at this post on a undocumented variable for dateLastActivity and also look at the solution in my post for Brett K.

Thanks for this - I looked through the threads and {cardlastactivitydate} does sound like it would help with what I'm looking for. But I'm not sure where to put it or raw code that contains that variable in it.

Where do I go for that? I'm currently using Trello Gold.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

222 views 10 9
Join discussion

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