Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Custom Field - How Set value of selection list from java

Rachmad Budi Septiawan May 17, 2023

Hi All, 

I have a selection type custom field. There are 3 options.

Ex: 1. EN, 2. NL, 3. FR

Then I want to choose one of them from Java. So I follow the documentation.

https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-idcard-customfield-idcustomfield-item-put

API : 'https://api.trello.com/1/cards/{idCard}/customField/{idCustomField}/item?key=APIKey&token=APIToken'

Body :

{ "value": { "text": "<string>", "checked": true, "date": "2018-03-13T16:00:00.000Z", "number": 2154 }

But in the documentation, there is no clue to fill the selection type custom field.

 

Hope you all can help me out :)

1 answer

0 votes
Theodoro Reato
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 19, 2023

Hi there,

Welcome to the community, 

This question would be better handled by the Atlassian Developer Community, 

However, this documentation will help you set the Custom Fields value: https://developer.atlassian.com/cloud/trello/guides/rest-api/getting-started-with-custom-fields/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events