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,458,181
Community Members
 
Community Events
176
Community Groups

A Powerful Combination

Edited
milynnus Rising Star Sep 13, 2020

Update : backend has been migrated see https://trello.com/b/POqPZOwG/just-a-butler-add-on

Many of you have already learned how to generate reports with Trello. Have you wished that you can take actions to effect changes on your board based on the reports you read?

Just last night I stumbled upon a powerful combination in using Butler. I learned that I can use report variables {$report_variable} to feed data to Butler Http Request to an endpoint to effect changes to your board or to return you values via httpresponse.anything the next Butler command.

You get to create report variables when you create a Board Button or a Calendar Command. Here's a simple example to illustrate this powerful combination.

1) it gathers the card ids of all cards that has a yellow label

2) it sends it to an endpoint where it runs a program to increment all the custom field "Number" by 1

create a report in variable "rep_list_card_ids" with all cards with the yellow label using pattern "{cardidlong}", and post to url "https://25368.wayscript.io/butler/?registry=5f216.....80f24ade5c6&module=5f5d92b......85e42bb3b8" with payload "{ \"rep_list_card_ids\" : \"{$rep_list_card_ids}\" , \"cf_name\" : \"Number\" }"

The above can be attached to a Calendar command to run it at the end of the day, 1st day of the month, ...etc or as a board button that you can activate manually.

This picture shows you the various criteria you can use to create your report variable.Screen Shot 2020-09-13 at 5.38.00 PM.png

Here's a video https://youtu.be/gr5_tWnO-Xw  of the above. (Yes, I need to do a better job when producing video content :{ )

As you can see I have already built the backend for the endpoint and have some pre-built modules. The application supports Butler Http Request, Trello webhook, Code by Zapier and a sandbox Trello board. The input can be fed from within Butler using variables including report variables or hand-coded.

Let me know what you think of the above especially ideas on the kind of processing you like to see and how it can be made available to you. Thanks.

 

 

0 comments

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events