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

update a custom field (select list) by API

Gurinder Summan February 20, 2025

We are using SAP and Jira (data center) in our organization
There is a select list field in SAP that contains about 1000 options in this field (for keeping drivers national codes)
We want to have this information in issues in Jira
So we have to create a custom field in Jira and get options from field in SAP
So we have to use API

1 answer

0 votes
Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 20, 2025 edited

Hi, @Gurinder Summan 

You can try request like this:

curl -D- -u *:* -X PUT --data "{\"fields\" : {\"customfield_10614\": [{ \"value\": \"TST1\" }, { \"value\": \"TST2\" }]}}" -H "Content-Type: application/json" http://jira.*.com:8080/rest/api/2/issue/XYZ-1000

Just adopt it to your credentials, and customfiled ID

Gurinder Summan February 20, 2025

where should I use curl codes?

Gurinder Summan February 21, 2025

image (1).png image.png

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events