Issue Portal Service Desk Saving CustomField Validation.error / 404

matemiguel2005 May 1, 2019

Currently I have two environments (production and development), in development when making a request in the portal it works but in production I get the following error:

 

{"errors":[{"errorMessage":"Please provide a valid value for field 'País'","field":"customfield_10122"}],"reasonKey":"validation.error","reasonCode":"400"}

 

I have reviewed the POST that we made and I have found that it is sending the request differently.

 

For example, in Development we make this request and it works:
customfield_10122: 10269
customfield_10122: 10271
customfield_10122: 10270
customfield_10122: 10268
customfield_10122: 10272

But in production we make this request and it does not work.

customfield_10122: ["10269","10271","10270","10268","10272"]

 

Could you help me see what is happening?

 

 

 

1 answer

0 votes
Fadoua
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 1, 2019

@matemiguel2005 

Are both environments using the same Data?

Best,

Fadoua

iSoft STE May 1, 2019

Hi @Fadoua 

In both cases we have JIRA Server 8.1.0, with the same configurations of the customized field.

The POST shown above is taken using Google Chrome, Error Exception, that's how I realized that the environment is being sent as a Matrix, but from the development environment it is being sent one by one.

I have reviewed all the settings, both the portal (where I get the exception) and the custom field and both are the same.

 

Thank you for your response.

Suggest an answer

Log in or Sign up to answer