I know that I can update one field of an issue over the REST API, but if I work upon an issue it may be that I edit more than one field. How can I update this issue on the whole. ...or do I have to update each field with a separate REST call to the JIRA API?
I see...
I have to use a Map. ...maybe this way:
final Map<String, FieldInput> map = new HashMap<String, FieldInput>();
map.put("description", new FieldInput("summary", issue.getSummary() + " --> xxxxxxxxxxxxx"));
final IssueInput newVals = new IssueInput(map);
jiraRestClient.getIssueClient().updateIssue(issueKey, newVals).claim();
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.