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

Getting Custom Fields values using window.Trello.boards.get(board.id + "/lists")

I'm getting a board's lists using this logic:

window.Trello.boards.get(board.id + "/lists", { cards: "open", fields:'all' }, successCB, errorCB)

This work fine but I can't get the customFields from cards. I was trying to add customFieldItems:true or card_customFieldItems:true in params but this isn't working. 

Removing the "/lists" options custom fields come with the cards. But cards are not under it list.

 

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
bentley Atlassian Team Feb 22, 2019

It looks like you can't actually get customFieldItems from the lists nested resource.

The easiest way to get a board's lists, cards, and customFieldItems is via the following:

> window.Trello.boards.get(board.id, cards: "open"fields: "all", lists: "open", card_customFieldItems: true  }, successCB, errorCB)

The actual API URL this calls to is:

https://api.trello.com/1/boards/{idBoard}/?lists=open&cards=open&fields=all&card_customFieldItems=true

Hi Bentley,

It services hasn't the same structure but has the complete data. Thanks for you response. It works for me 

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

261 views 8 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