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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.