Forums

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

customfield_XXXX":"data was not an array"

Rajneesh Tyagi June 18, 2018

Dear All,

i am using insight add on for asset management , while creating ticket through REST api, i am getting 

"errorMessages":[],"errors":{"customfield_XXXX":"data was not an array" error,

can anybody help on this.

Thanks.

1 answer

1 vote
Alexey Matveev
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 18, 2018

Hello,

Kindly have a look at this article on how to set an insight field using Rest Api:

https://documentation.riada.se/display/ICV49/Insight+with+JIRA+REST-API

Rajneesh Tyagi June 19, 2018

Thanks Alexey,

 

is there any way around to pass String in place of object key

Alexey Matveev
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 19, 2018

It is not possible as it is written in the documentation:

All Insight custom fields are using ARRAYs of keys, even if you only work with single Insight custom fields

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events