I am trying to change Project Lead by API, but I am getting the error:
{ "errorMessages": [ "Can not deserialize instance of java.lang.String out of START_OBJECT token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@3e2799bc; line: 2, column: 5] (through reference chain: com.atlassian.jira.rest.v2.issue.project.ProjectInputBean[\"lead\"])" ]}
I am doing a PUT to here:
https://server/rest/api/latest/project/PROJKEY
Of this content:
{ "lead": { "key":"jsmith" } }
Any ideas please?