Jira - custom select field, invalid value when updating

Jim Murphy August 15, 2013

I have a custom field that uses a selectCFType. The data I populate the option value with has "-" and ".". When I select a value and update the issue, I recieve an error that says Invalid value and allowed values are -1. Is there a way around this?

Thanks,

-Jim

1 answer

1 accepted

1 vote
Answer accepted
Bhushan Nagaraj
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.
August 15, 2013

Hi Jim,

The option you are adding should be already available to the SelectCFType custom field.

On the customfield call the getOptions method. If you do not see your options there, you need to add the option to the custom field and then update the customfield with that option.

Cheers

Bhushan

Jim Murphy August 16, 2013

Thanks Bhushan. That was most helpful!

Suggest an answer

Log in or Sign up to answer