Hi,
I have to send a json to the jira api to create a ticket/issue.
Url api: https://mydomain.net/rest/api/3/issue
I add key and required fields of the project.
I have this field in my Jira tickets when I look into the XML file to see the structure ad fields:
....
<customfield id="customfield_10020" key="com.atlassian.servicedesk:vp-origin">
<customfieldname>Request Type</customfieldname>
<customfieldvalues> </customfieldvalues>
</customfield>
.....
1. The field "customefield_10020" features: are as follows:
name: Request Type
3 values:
1. Request
2. Done
3. Question
The json below gives me an error:
{
"customfield_10020": "Request",
}
error.
[\"Request Type: Invalid client request value\"],\"errors\":{}}
2. And if a I my json for this field is
}
"customfield_10020": {
"key": "customfield_10020",
},
It gives this error:
"{\"errorMessages\":[],\"errors\":{\"Concession\":\"data was not an array\"}}"
What json format should I send for this field customized?. I'm confused
Thanks