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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API for Map Power Up

The Map power up is a useful addition for many applications you can built around Trello.

Are there any API and or implementation of it that will allow developers to add locations into a card. The py-trello on github allows developers do it with custom_fields. Can it be done for api. The API documentation has a get <field> so to retrieve seems possible but what about to set and change the values?

 

Related to Map. would it be possible to have more than 1 location in a card. 

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader Jun 02, 2020

@SGi Admin you're correct, you can retrieve pluginData but not update it.

It would appear strange that you can retrieve and update the location on the iOS Trello app that this cannot be done via an api. Do you know if this is would be considered for a future feature?

Iain Dooley Community Leader Jun 02, 2020

@SGi Admin I'm pretty sure the ability to update pluginData from an API key other than that used to create the app in the first place would be a security risk. Imagine for example some situation where data had been stored by a plugin that then expected that data to be in a particular format for use with other information from other cards, then when combined with faulty data posted by another app it would render the entire thing corrupt or be subject to some sort of malicious attack or denial of service.

Not sure I can agree with you. That is precisely what API is suppose to do when made available to Developers. For example the Power Up for Custom Fields has a set of published API to get the definitions, retrieve fields by name, and a set method to update the values. In the case of Maps, I have inspected the json output for Action when a location is entered has several fields include the longitude and latitude, user name for the location and one more. Typically an front end E.g. a bot would take in a location values like what you would normally do on WhatsApp, iMessage or Telegram when you share location with a friend to update the values. It is just that for Maps Power Up the method to update(set) is not published or made available. See py-Trello in Github for one implementation of the API. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

752 views 13 30
Read article

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