It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I am new to JIRA & trying to insert/add multiple values in Single Select list field using REST API. I tried in lot of ways, but im able to insert/add only single value in select list using REST API through 3rd party plugin(rest-api-browser). But i can't add multiple values, so anyone have an ideas on this, please let me know or guide.
single select list, by definition, holds a single value - Im trying to add extra values/options in drop down list.
Example : Name field having 2 values as John, Peter in select list. Now i would like to add Jack, Nelson, Victor, etc in that list by REST API.
I got an example from 3rd party plugin(Extender for JIRA) by inserting more than 1 values in Single Select list. FYI refer this link - http://www.itlab.net.pl/plugins/extender-for-jira/#ffs-tabbed-33|ffs-tabbed-11|ffs-tabbed-41|ffs-tabbed-21
Response Body :
{ "parentOptionId":"10105", "optionName":["New option 1", "New Option 2"] }
so im trying to implement the same. But its not working.
Oh. You mean you are adding options, not setting the field to a value as you said before.
The REST API does not yet support doing that, so I assume that's what you have the extender add-on - have you got that installed?
The response you've got there looks like it's for a cascading select? What are you posting?
I installed that plugin and running on POSTMAN as per steps given in that link. I m able to retrieve all custom fields and also getting configuration scheme for custom field, but unable to
POST url -
{JIRA_URL}/rest/extender/1.0/customField/getValue/{configSchemeId}
{JIRA_URL}/rest/extender/1.0/customField/getValue/10104
POST body Request -
{ "optionName":["New option 1", "New Option 2"] }
But im getting status as 404 Not Found :
<status>
<status-code>404</status-code>
<message>null for uri: http://localhost:8080/rest/extender/1.0/customField/getvalue/10110</message>
</status>
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreIn this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.