I created a board for my org using the Trello API but I can't find it using search.

I used the POST request to this api call: https://api.trello.com/1/boards/.

I named the board and put in the relevant info.  The request returns a 200 OK status and I get json back with a url to the board.  The first board I created, I was able to get to using the url.  But I created a second board and I can't get to it with the url.  I also can't search for it by name using the Trello API or by typing in the name of the board in the web interface (for either boards).

How can I create a board that is searchable and able to be found?

Here's the request in node for the second board:

var options = { method: 'POST',
  url: 'https://api.trello.com/1/boards/',
  qs: 
   { name: 'Test Create Board 2',
     defaultLabels: 'true',
     defaultLists: 'true',
     idOrganization: '53c6704277052fbf73abc702',
     idBoardSource: '59529021034d0b27e6be620e',
     keepFromSource: 'lists',
     prefs_permissionLevel: 'org',
     prefs_selfJoin: 'true' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});

 

Here's the response I get back:

{ "id": "59765969a4b726efee6381c6", "name": "Test Create Board 2", "desc": "", "descData": null, "closed": false, "idOrganization": "53c6704277052fbf73abc702", "pinned": false, "url": "https://trello.com/b/gz2Hq7YQ/test-create-board-2", "shortUrl": "https://trello.com/b/gz2Hq7YQ", "prefs": { "permissionLevel": "org", "voting": "disabled", "comments": "members", "invitations": "members", "selfJoin": true, "cardCovers": true, "cardAging": "regular", "calendarFeedEnabled": false, "background": "blue", "backgroundImage": null, "backgroundImageScaled": null, "backgroundTile": false, "backgroundBrightness": "dark", "backgroundColor": "#0079BF", "canBePublic": true, "canBeOrg": true, "canBePrivate": true, "canInvite": true }, "labelNames": { "green": "Style", "yellow": "HLN", "orange": "Sponsorship", "red": "Tech", "purple": "Global", "blue": "Money", "sky": "", "lime": "", "pink": "Entertainment", "black": "Priority" } }

 

1 answer

1 accepted

1 vote
Oscar Triscon Community Champion Jul 24, 2017

Looks like the board was created successfully. The problem may be that you don't have access to the board. If you create the board with a token for another user, and don't add yourself to the board (or make the board public), your user will not be visible/findable by you.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Feb 02, 2018 in Trello

Atlassian User Groups: Trello edition

You’re invited to our first ever Trello User Groups   Good news for current and aspiring Trello enthusiasts! We’re launching Trello User Groups so that you can network, share ideas, solve ...

1,743 views 14 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you