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,457,359
Community Members
 
Community Events
176
Community Groups

How to find out List IDs? The JSON trick isn't working anymore

When adding .json to the end of the URL, I just get the 404 page. How do I find out the list IDs?

3 answers

1 accepted

1 vote
Answer accepted

@Stamina Overlook 

It can happen when you do not have access to the card/board.

 Update : self correction - you get a 401 instead.

@Stamina Overlook No issue get the board. Looks like it is a Public board

 

You are correct that with the full url and a .json it gets a 404

 

Screen Shot 2022-01-19 at 12.56.20 PM.jpg

Ahhhh, so I needed to take the name of the board out of the URL! Now it's all working, thank you so much :)

Like Laura Holton likes this

An easier way, if you have generated a key and token for using the REST API, is to query the Get Lists on a Board endpoint:

https://api.trello.com/1/boards/{board_id}/lists?key={your_key}&token={your_token}

Example JSON response:

[
 {
  "id": "602786e91c69d30e45a9ccdb",
  "name": "Backlog",
  "closed": false,
  "pos": 512,
  "softLimit": null,
  "idBoard": "602786e91c69d30e45a9ccd8",
  "subscribed": false
 },
 {
  "id": "60541af09b1c4353c8a3b29b",
  "name": "Due in 4 days",
  "closed": false,
  "pos": 1024,
  "softLimit": null,
  "idBoard": "602786e91c69d30e45a9ccd8",
 "subscribed": false
 }
]

0 votes
Laura Holton Community Leader Jan 18, 2022

Hi @Stamina Overlook 👋

Welcome to the Community! You should be able to get it via JSON:

  1. Go to your Trello Board
  2. Add ".json" to end of the URL
  3. Format the JSON so it's readable (you can find a JSON viewer online)
  4. Search for idBoard - this will list your full Board ID

URL should look like this:

https://trello.com/b/BaDyGlxp/<name of board>.json

You'll also find the list IDs in there under idList.

Option 2:

I dropped ".json" at the end of address in firefox and a pretty nice looking json display was rendered and the first item was "id", which worked for me.

I filtered "idBoard" and the only result was a "idBoardSouce" which was null. Maybe the "idBoard" has since changed to "id".

I hope this helps but if you have any other questions just ask away 😃

All the best,

Laura

Hello! Yes, I tried these methods, but like I said, adding .json to the end of the URL just sends me to the error 404 page. There's no JSON there - and nothing in the source, either. The source of the resulting page is just the source of the 404 page, with no hidden list IDs or anything.

Here, a screenshot that proves it:image_2022-01-18_133945.png

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events