Automate - Add Cover color?

Michael Williams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2024

Is there a way to automate so a cover color is added to a card when moving it?

I know I can add labels. I was hoping to also add a cover.

 

Thank you,

Michael

2 answers

1 accepted

2 votes
Answer accepted
Brittany Joiner
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 21, 2024

@milynnus is correct, you'll need to use the Trello API to do this (you'd use the edit card method - docs here: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put , and pass information about the cover you want. )

You might be able to do this inside of Trello automation though. Pick your trigger and then go to "content" actions, and scroll to the bottom. 

image.png

Click on "get" and then you can use the "put to" and pass the payload with the information about the cover. 

The URL will will look something like this. 

`https://api.trello.com/1/cards/{cardid}?key=APIKey&token=APIToken`

And the payload will probably look something like this, but you'll have to play around with formatting: 

(Notice you can use {cardid} wrapped like that because Automation Variables let you get that dynamic information about the card: https://support.atlassian.com/trello/docs/butler-variables/

I made this video that shows how to get an API key and Token from Trello: https://youtu.be/RDg3TYFDuzg

Step should probably look something like this: 

image.png

Brittany Joiner
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 29, 2024

@Michael Williams if this was helpful, would you mind clicking the Accept Answer button so folks who are looking for the same know there's an answer in here? 

Also, you might be interested in joining the Trello Trailblazers Atlassian Community Events chapter! We have events each month talking about how to do cool things in Trello: https://ace.atlassian.com/trello-trailblazers/

1 vote
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2024

@Michael Williams 

Did it for a client in Spain. He has an access system from which he triggers all of its cards move across his bought via email to board. One of those he wanted to set a colour for cards that are moved into the list. You need to use the Trello api to handle this. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events