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

Export As JSON (API Key)

Hello, I want to know how the JSON file of "Export as JSON" is composed by means of GET functions of the Trello development page.
I have seen some GETs but none are like the one Trello does automatically.

I'm sorry about my English.

I look forward to your answers, greetings.

 

 

1 answer

0 votes
Iain Dooley Community Leader Nov 08, 2018

@Samuel Smith I don't really understand the question, are you able to link to some resources that describe what you're referring to and give me an idea of what you're trying to achieve?

Iain Dooley Community Leader Nov 09, 2018

@Samuel Smith okay so that's the API call that you wanted and the problem is now resolved? Or do you still have a question.

What would you like to know about the JSON returned from that API call?

I'm having the same issue, but @Samuel Smith's fix doesn't totally do it.  Basically, I'm trying to mimic the export functionality provided by https://trello.com/b/{board_id}.json using the Trello API call.

I use the following link: https://api.trello.com/1/boards/{board_id}?key={api_key}&token={api_token}&fields=all&actions=all&action_fields=all&actions_limit=1000&cards=all&memberships=all&labels=all&card_fields=all&card_attachments=true&lists=all&list_fields=all&members=all&member_fields=all&checklists=all&checklist_fields=all&customFieldItems=all&organization=false

 

 

But when I run a diff of that output vs. what I get from using Trello's built-in export functionality at https://trello.com/b/{board_id}.json, I'm missing the following fields on all the cards:

  1. email
  2. pluginData
  3. customFieldItems 

Any ideas?  I've read that maybe emails aren't shown for security reasons (see https://stackoverflow.com/questions/42247377/trello-api-e-mail-address-of-my-card-returns-null) but that doesn't explain the other missing fields.

Iain Dooley Community Leader Jan 13, 2019

@Alex Hetherington The powerups and custom fields APIs were implemented after the boards API so probably you'll have to grab all your board data then loop through and fetch the powerup and custom fields individually.

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...

296 views 10 16
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