Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Select all values for a multi-select field through JIRA REST API

Abdel Rahman
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!
April 15, 2024

Hi Community,

I am creating a bunch of issues through JIRA REST API, one of the fields for the issues is a multi-select field.

I knew that for selecting one/more fields I could pass the options as follows:

[{"value": item}, {"value": item}, {"value": item}]

My question is: Is there a way to select all the options for the multi-select field rather than passing all the fields in a list like the above example?

1 answer

0 votes
Bill Sheboy
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.
April 15, 2024

Hi @Abdel Rahman -- Welcome to the Atlassian Community!

No, I do not believe there is.  You would need to pass all of the id (or value) items to select them.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events