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
Community Members
Community Events
Community Groups

A ? B return C - Project Ading


Butler is my default go-to automation for Trello boards.

Project Ading is yet another Butler Http Request action project to complement Butler in the areas of 'conditionals' such that it will take two variables A and B and will return you variable C if the condition is met for example if A <= B set C to be "True", A != B return C="True" or if A in B return C="Hooray be", etc.

This can be easily be extended to A + B = C or A / B = C or replace A in B replace with C and return C=new B.

This implementation is made possible because recent enhancements for "conditionals" and other existing modules such a text action, list action and calculator...etc on the backend system. 

More importantly, the endpoint does not need your API key or your token for it to work.

How would you use it in Butler? You can set C to a custom field which acts as a trigger to your Butler commands. 

Feel free to comment, watch,...etc. Let me know how you might want to use it. I will update this post with more information.


The endpoint is<see list of actions>&operator=<list of operators>



List of operators are "GE", "LE",...etc as in this dictionary : {"GE" : ">=", "LE" : "<=", "EQ" : "==" , "GT" : ">", "LT" : "<", "NE" : "!=", "IN" : "in"}

Payload : {"var_a" : "text, number or variable", "var_b" : "text, number or variable", "var_c" : "some text"}

Return : {httpresponse.result} for which you are expecting text in var_c

Note : Operator=IN allows you to check whether var_a is part var_b


List of operators are : add, subtract, multiply, divide

Payload : {"var_a" : "number or variable", "var_b" : "number or variable")

Return : {httpresponse.result} or {httpresponse.var_c} 



There is no operator. Note find and replace of text is case sensitive

Payload : {"var_a" :  "find this text in var_b", "var_b" : "any string", "var_c" : "text to replace all instances of var_a in var_b"}

Return : {httpresponse.result} or {httpresponse.var_c}  for which you are expecting text from var_b but replaced with var_c for all instances of var_a

Like Vitaly Andrianov likes this

@milynnus Hello,

You are doing really great job!

I just want to inform you that Smart Fields for Trello Power Up will do this task without any coding.

@Vitaly Andrianov 

Thank you for your feedback. By using Butler HTTP request action, it can be embedded with your Butler commands. As far I remembered, Smartfields values is not accessible from Butler like most Power Ups. 

@milynnus Yes it is not possible to access SmartFields values from Butler directly, but Now it's possible to trigger Butler rules from SmartFields by updating Custom field. You can use special Field like a Flag and update that Flag using conditions reached in SmartFields. Also you can mirror all necessary SmartFields to Custom Fields to use this data in Butler. 

@Vitaly Andrianov 

Yes, that is would be quite similar. Since A, B , C can be variable or constant it opens up a range of automation that would not be possible like testing for day of week, age of cards, days on list, etc. 


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

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,361 views 28 40
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