The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Export As JSON (API Key)

Samuel Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2018

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Iain Dooley
Community Champion
November 8, 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?

Samuel Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2018
Iain Dooley
Community Champion
November 9, 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?

Deleted user
December 31, 2018

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 Champion
January 13, 2019

@[deleted] 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.

TAGS
AUG Leaders

Atlassian Community Events