How do I change the Assignee using CURL - Jira Rest API?
I tried the following:
@jqlassignuser.json -H "Content-Type: application/json" https://p97networks.atlassian.net/rest/api/2/issue/ACB-65/assignee > results.tx
where jqlassignuser.json contains the following:
{
"fields": {
"assignee": {
"name": "charles.teague"
}
}
}
Here are the results:
{"errorMessages":["Unrecognized field \"fields\" (Class com.atlassian.jira.rest.v2.issue.UserBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@11835c39; line: 1, column: 14] (through reference chain: com.atlassian.jira.rest.v2.issue.UserBean[\"fields\"])"]}