I use JIRA REST Java Client Library 4.0.0.
https://ecosystem.atlassian.net/wiki/spaces/JRJC/overviewI want to update issues by deleting values of duedate and the following types of customfields with it.
・datepicker
・datetime
・userpicker
・float
・select list
・cascadingselect
・radiobuttons
Could you show me how to update issues by deleting values of these with JIRA REST Java Client Library?
The following is my source code. It can't update issues by deleting values.
JiraRestClientFactory jrcf = new AsynchronousJiraRestClientFactory();
JiraRestClient jrc = jrcf.createWithBasicHttpAuthentication(new URI([JIRAURL]), [USERID], [PASSWORD]);
IssueRestClient irc = jrc.getIssueClient();
Map<String, FieldInput> valMap = new HashMap<String, FieldInput>();
valMap.put("duedate", new FieldInput("duedate", null));
valMap.put("customfield_[CUSTOMFIELDID]", new FieldInput("customfield_[CUSTOMFIELDID]", null));
IssueInput ii = new IssueInput(valMap);
irc.updateIssue("[ISSUEKEY]", ii).claim();