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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,628
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events