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;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.