How to validate custom field [select list] value

Yew Teng Ui June 29, 2017

I am creating a jira case via REST API.

How should I know the customfield[select list] value that I am insert is a valid value?

And is there anyway to retrieve all the available customefield[select list] option via the RESt API?

1 answer

1 accepted

0 votes
Answer accepted
Stefan Arnold
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.
June 29, 2017

How to retrieve available options for a multi-select customfield via Rest Api

Docs says this:

 

 

 

Status 400

Returned if the input is invalid (e.g. missing required fields, invalid field values, and so forth).
Example
{
    "errorMessages": [
        "Field 'priority' is required"
    ],
    "errors": {}
}

So you should get Error response if you insert an invalid value

Suggest an answer

Log in or Sign up to answer