Create
cancel
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

Does Butler have the ability to modify a card's cover?

With the recent change to allow for full card covers and colors I would like to setup a Butler rule or similar to where when a label on a card changes, the full card changes to match the label color. Is there a rule or automation available to allow this?

Something like:

when the green label is added to a card

add the green color to the card cover

 

2 answers

Hello @brad_patera 

Although Butler currently can't change a card's cover directly via an Action, you can do it indirectly using Butler's cool new HTTP requests Action to send a suitable PUT request to the Trello REST API to update the card and set the values you want for the cover.

To do this, create a Butler rule, add the Trigger you want, then add an Action of the type Content and the sub-type 'put to url with payload':

Trello Butler card cover Action.png

The url would be the REST API endpoint for cards, followed by the variable '{cardid}' that will be  substituted by Butler with the ID of the referenced card. The url would be:

https://api.trello.com/1/cards/{cardid}

The payload would be the JSON formatted request that would contain your REST API key, token, and the values you want to set for the card's cover. For example, this payload would change the card's cover to green, full size:

{"key" : "[your_rest_key_here]","token" : "[your_rest_token_here]","cover" : {"color" : "green","size" : "full" }}

Here is an example of a rule with that Action described above being Triggered when a new card is created on the board:

Trello Butler card cover rule #1.png

Here is a closer look at the rule, showing the Action in more detail:

Trello Butler card cover rule #2.png

You can set the Trigger to be whatever or criteria you want. By altering the HTTP request's payload, you could set the card cover's color, size, text brightness etc.

WARNING!! This method puts your personal REST API key and token in plain text inside a Butler rule. Anyone who has the rights to read your rules would be able to see potentially sensitive credential information. Use with caution.

0 votes
Esme Crutchley Community Leader Jun 04, 2020

Hi @brad_patera 

Welcome to the Community!

As the new features are really new, there aren't Butler rules for them yet. 

@Blair at Atlassian posted a reply to a similar question here (the original question was about automating card covers), and his reply has all the details about how to make a feature request and the roadmaps that Trello have (with all the links to the boards and feature sites).

Hope that's helpful!

Esme :)

Thank you so much, appreciate the link and details!

Suggest an answer

Log in or Sign up to answer
TAGS
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