我正在尝试跟进此guide,但我在issueInputParameters上有错误(包issueInputParameters不存在)。我的代码是
IssueService issueService = ComponentAccessor.getIssueService();
final IssueService.IssueResult issueResult = issueService.getIssue(null, "JRA-1234");
final MutableIssue mutableIssue = issueResult.getIssue();
IssueInputParameters issueInputParameters = issueService.newIssueInputParameters();
issueInputParameters.setProjectId(12345L).setIssueTypeId("2");
我无法弄清楚问题是什么。我也添加了com.atlassian.jira.issue.IssueInputParameters。
答案 0 :(得分:0)
我想我明白了。我添加了一个与java客户端相关的额外.jar文件,可能是java .jar和api .jar之间存在冲突。