Hi,
Iam integrating Jira & Jenkins and have used Jira software Cloud and Jenkins on AWS VM
Followed the DOC : https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication and test connection was successful
openjdk version "1.8.0_302"
1, Configured JIRA Trigger Plugin 1.0.1 in Jenkins tried with 1.0.0 but no luck
While doing the basic testing in jira job has not trigger in Jenkins, Jenkins logs
java.lang.IllegalAccessException: Processing this request relies on deprecated behavior that will be disallowed in future releases of Java. See https://jenkins.io/redirect/stapler-reflective-access/ for more information. Details: Class org.kohsuke.stapler.RequestImpl can not access a member of class com.ceilfors.jenkins.plugins.jiratrigger.JiraCommentTrigger with modifiers "private"
Could any one guide me
hey @venkatakrishanan r have you got any success on the above?
For me, alongwith the above in logs, i m getting below but could not get any clue
Caused by: java.lang.IllegalArgumentException: Text must not be null or empty
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:203)
at groovy.json.JsonSlurper$parseText.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.processEvent(JiraWebhook.groovy:56)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook$processEvent.callCurrent(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.doIndex(JiraWebhook.groovy:51)
Hi @Anil Sharma . We were using this with onprem jira and was working fine. However, See the same error as above when using the cloud SAAS JIRA. Were you able to make it work ?
Apr 17, 2024 5:30:57 PM WARNING org.eclipse.jetty.server.handler.ContextHandler$Context log
Error while serving https://jenkinsurl/jira-trigger-webhook-receiver/
java.lang.IllegalArgumentException: Text must not be null or empty
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:203)
at groovy.json.JsonSlurper$parseText.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.processEvent(JiraWebhook.groovy:56)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook$processEvent.callCurrent(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.doIndex(JiraWebhook.groovy:51)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the cloud version seems does not support this. We have left this task for good as of now .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anil Sharma @Muthu Kumaran Kamaraj The Jenkins Integration for Jira app supports both Jira Data Center and Jira Cloud and can trigger builds in Jenkins from Jira using a manual issue action or a workflow post function.
It can also include issue field as build parameters.
Disclaimer, I'm the developer of the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Rekveld . I tried this but unfortunately looks like the jenkins plugin doesnt support our current version of jenkins 2.332.3
Warning: This plugin is built for Jenkins 2.361.4 or newer. Jenkins will refuse to load this plugin if installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just checked if I can simple add support for 2.332.3, but it doesn't seem to be simple version switch, and also requires code updates.
Do you have any plans to update your Jenkins instance to a newer version? 2.332 was released back in January of 2022.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.