Hey Community members,
I have an Issue/key in JIRA, in which there is a multiselect field, and a value is selected in that field like below example.
field_name="DataCenter"
{value= "first"}
{value= "second", selected}
{value= "third"}
And when I search an issue with jira api with query like DataCenter="first", then it returns
response text = {"errorMessages":["The option 'first' for field 'DataCenter' does not exist."],"errors":{}}
but it works with other values like "second" and "third".
Do you know why this is happening?
Thanks in Advance!
Hello Himanshu,
Can you please check if the first option was not disabled from the select list? Note that an option could be only disabled and still exists in a select list.
To check this, follow the steps below:
- Navigate to JIRA Settings > Issues > Custom Fields
- Find your Select list and click to configure
- Check if the word (disable) is appearing in the field option like below:
We will be waiting for your answer.
Thanks Goncalves for your response.
That option was activated
We found that there were multiple fields with the same name. I added the key of the field in my query and it worked.
Sorry to bother you. This Issue can be closed
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad to know you were able to solve your issue, Himanshu.
Have a nice weekend!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.