I could use REST API to change the assignee.
https://jiraserver:8443/rest/api/2/issue/AUTO-1281
put method
{
"fields": {
"assignee":{"name":"xxx"}
}
But in JRJC, get null when using issue.getFieldByName("assignee").
Issue resolved, should use HttpsUrlConnection to send JSON request NOT Http.
To Get Assignee, you will have to use issue.getAssignee() or issue.getAssigneeUser;
I want to change assignee via JRJC, not just issue.getAssignee.
It looks like you're new here. Sign in or register to get started.