You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi! I'm trying to set a custom field when creating a card using the REST API.
I need to set the custom field with the same post as the one I'm creating the card with.
I've tried adding "customFieldItems" but it does not work for me.
Hi Henry - welcome to the community!
There is a PUT request available to update a custom field item on a card: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-idcard-customfield-idcustomfield-item-put
Feel free to search through the rest of the documentation to see what is available.
Hi Beverley!
So if I understand correctly there is no way to assign values to custom fields when creating the card, the card must first be created and then the custom field can be set with a second request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henry,
That's right - there isn’t a way to assign values to custom fields when creating a new card. You can only update custom field data in a separate API call after the card has been created. This is similar to how checklists and attachments work, as well. They can only be added to a card after the card has been created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.