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,551,905
Community Members
 
Community Events
184
Community Groups

Custom Field - How Set value of selection list from java

Edited
Rachmad Budi Septiawan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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