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

Create Issue via API returning "Option value is not valid" for Multi Select List custom field

I'm trying to create an issue via the Rest v3 API and pulling my hair out.

Customfield _10930 is a Multi Select List.

What am I doing wrong?

 

{
 "fields": {
  "project": {
   "key": "PM"
},
  "summary": "This is a test issue",
  "issuetype": {
   "name": "Task"
},
  "customfield_10930": [
{
   "id": "12533"
}
]
}
}
If I do a "GET" on an  issue, I receive back:
"customfield_10930": [
{
"value": "dog",
"id": "12533"
}

2 answers

1 accepted

0 votes
Answer accepted

It turns out I had an "test" Field Context setup and I couldn't see it because my list was so long. By scrolling to the bottom of the list it allowed me to delete the extra context.

0 votes
Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 17, 2023

Hi @Adam Witek 

You api post shoul look like this:

{
"fields": {
  "project": {
"key": "REST"
},
  "summary": "Issue created from REST API",
  "issuetype": {
"id": "1"
},
  "customfield_10300": {
"value": "Mammal",
"child": {
"value": "Elephant"
}
}
  }
}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events