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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.