java.io.IOException: Server returned HTTP response code: 400 for URL: https://jiraintegrationplanit.atlassian.net/rest/api/2/search?jqlBuild step 'Jira Issue Updater' marked build as failure
welcome to the community.
The way you posted your request, it is a escaping problem, I think. You can please post your original request to make sure that that is not the problem and give us some more information what you want to do?
Hi Bastian,
JIRA Update Results Recorder ------------------------------------------------------- Unable to connect to REST service java.net.ConnectException: Connection timed out (Connection timed out)Updating JIRA tickets Operation: Add a comment Updating ticket: AIS-15998 ERROR Updating jira notifications net.rcarz.jiraclient.JiraException: Failed to retrieve issue AIS-15998 at net.rcarz.jiraclient.Issue.realGet(Issue.java:700) at net.rcarz.jiraclient.Issue.get(Issue.java:723) at net.rcarz.jiraclient.JiraClient.getIssue(JiraClient.java:90) at org.jenkinsci.plugins.jiraext.svc.impl.JiraClientSvcImpl.addCommentToTicket(JiraClientSvcImpl.java:78) at org.jenkinsci.plugins.jiraext.view.AddComment.perform(AddComment.java:78) at org.jenkinsci.plugins.jiraext.view.JiraExtPublisherStep.perform(JiraExtPublisherStep.java:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1823) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:542) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) at net.rcarz.jiraclient.RestClient.request(RestClient.java:126) at net.rcarz.jiraclient.RestClient.get(RestClient.java:243) at net.rcarz.jiraclient.Issue.realGet(Issue.java:698) ... 14 more Finish updating JIRA tickets
I am getting this error : when i try updating through Jira Issue Updated / Jira-EXT or using Jira Plugin. Does not seem to identify Jira URL. Proxy is set in jenkins and I see, rest API is installed by default. ( Wiki Jira Plugin reference). However i am not successful in connecting to Jira and updating.
Jenkins version : Jenkins ver. 2.121.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your connection timed out. So there is a problem with the connection between your servers maybe. Can you double check the proxy settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bastian,
I am trying to connect to Jira on Cloud.
Tried using Jira plugin, jira-ext, Issue updater, to connect through URL, authentication to Jira etc, but none seem to work.
Is there a possibility to connect to Jira on Cloud from Jenkins ?
Was not successful in finding a blog as well which allows me to do this.
Regards,
Sudha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try, if you can reach Jira from Jenkins at all, so that we can be sure, that it is not a connection/proxy problem.
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.