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,465,762
Community Members
 
Community Events
176
Community Groups

Button with API POST request ?

Hi,

Is it possible to add a button on a trello card to send a POST request to an external API with data coming from this Trello card?

Thanks

L.

1 answer

@Laurent Lacoste 

Definitely. Doing it all the time. 

I have now an app that handles certain services that are either not available in Trello automation. The difference is that this app is your own http request api server/gateway (if you want to integrate to other software). 
https://alpha.deta.space/discovery/@milynnus/space_butler

ok thanks.

but what is this app exactly?

I don't know her.

milynnus Rising Star Dec 10, 2022

@Laurent Lacoste 

This app is a collection of code snippets that I have written to help solve some of the more complex Trello automation requirements. Now with the offering Deta, I am able to put this together as an app in which anyone can use. It sits in your personal cloud do not need to your your credentials with anyone. The services will either return results as {httpresponse} and you can use it in your Trello automation or effect some change on the board. The plus is that you do not need any server to host the app.

(1) eg if you do a lookup of card, you will not be able to use the CF of the card you found because the is no {{%foundcustomfieldname}}. Now you can get it from {{httpresponse.customfieldname}}

(2) You want to use a sticker from another card and add it to yours. Now you can.

(BTW due to a software upgrade, I suspect it created a problem on the app. Note, as you can see from the url, the offering by this company is in alpha)

Ok I see.

So by default, with trello, it's not possible to get custom fields values to insert them in a http post request?

because I have found this : https://support.atlassian.com/trello/docs/issuing-http-requests/

milynnus Rising Star Dec 10, 2022

@Laurent Lacoste 

I am not suggesting that you can’t. In some use cases like lookup or after you create new card or a copy, you would have problems with the CF from the source card. It depends on what you need to do. 

Trello automation is able to handle most automation scenarios. Sometimes it is more cumbersome and it can involve a combination of rules/commands. 

milynnus Rising Star Dec 10, 2022

@Laurent Lacoste 

The http request is what you use to call the app but if you need other logic between call, a native call using api is not enough. That is will you will need to call and endpoint and have it do all the if else stuff for you. 

Yes I see perfectly.

But just to do basic tests to start, do you know where can I find card variables for default fields and custom fields?

I mean, how can I call them in http post request?

milynnus Rising Star Dec 10, 2022

@Laurent Lacoste 

That’s a must use page when you have to work with Trello variables in general. 

Ok understood , many thanks 😉

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events