I try to update priority for an issue. I use jrjc version 5.1.0
IssueRestClient issueClient = restClient.getIssueClient();
IssueInput issueInput= ....
issueClient.updateIssue(issueKey,issueInput);
I find the function with have 2 param issueKey and issue.
But I just want to update one field. How can I do that?
Thank you,
IssueRestClient issueClient = restClient.getIssueClient();
IssueInputBuilder builder = new IssueInputBuilder();
builder.setPriorityId(priorityChangeId);
IssueInput issueInput= builder.build()
issueClient.updateIssue(issueKey,issueInput);
Just do like this ;)
Thanks for your help.
this code uses old code of the API ?
seems there is not existing empty constructor of IssueInputBuilder()
also no such existing method ' updateIssue'
issueClient.updateIssue(issueKey,issueInput);
will be helpful to get reference to some example project from latest version (or close...)
Thanks
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.