Hello,
I am trying to create a ticket using rest api. One of the fields that I include in payload is customfield
"schema": {"type": "any","custom": "com.riadalabs.jira.plugins.insight:rlabs-customfield-default-object","customId": 19509}
When i check the json of this field in existing ticket it shows me this
"customfield_19509": ["Team123 (PTCI-1549)"]
So my json is
"customfield_19509" = ("Team123 (PTCI-1549)") | ConvertTo-Json
but i am getting this error
{"errorMessages":[],"errors":{"customfield_19509":"expected Object"}}
When i send the object it says data was not array, please help