-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 2.275
Jira Plugin 3.1.3
When using the Jira plugin to search for items and trigger a transition, I get the following error.
Started by user XXXXXXX Running as SYSTEM Building in workspace /jenkins/var/lib/jenkins/workspace/Transition XXXXXX FATAL: com.atlassian.jira.rest.client.api.SearchRestClient.searchJql(Ljava/lang/String;)Lcom/atlassian/util/concurrent/Promise; java.lang.NoSuchMethodError: com.atlassian.jira.rest.client.api.SearchRestClient.searchJql(Ljava/lang/String;)Lcom/atlassian/util/concurrent/Promise; at rocks.inspectit.releaseplugin.JIRAAccessTool.getTicketsByJQL(JIRAAccessTool.java:268) at rocks.inspectit.releaseplugin.ticketing.ModifyTicketsTemplate.applyModifications(ModifyTicketsTemplate.java:125) at rocks.inspectit.releaseplugin.ticketing.JIRATicketEditor.perform(JIRATicketEditor.java:76) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803) at hudson.model.Build$BuildExecution.build(Build.java:197) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513) at hudson.model.Run.execute(Run.java:1907) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE
We were running a 3.0.x version of the plugin with Jenkins 2.227 but updated both to the latest with the same error. Script output with full plugin versions.
I checked the JQL and it is valid and works within JIRA.
# cat /etc/*-release NAME="Amazon Linux AMI" VERSION="2018.03" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2018.03" PRETTY_NAME="Amazon Linux AMI 2018.03" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2018.03:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/" Amazon Linux AMI release 2018.03
# /etc/alternatives/java -version openjdk version "1.8.0_265" OpenJDK Runtime Environment (build 1.8.0_265-b01) OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
This is an RPM based install.