title: Unable to connect to REST service java.io.IOException: Server returned HTTP response code: 400 for URL: https://jira.xyz.abc.com/rest/api/2/search?jql
body: <p>I'm trying to integrate Jenkins to Jira to have a Jenkins push the Console log into JIRA Issue as a <code>Comment</code>.</p>
  <p>I have installed <code>Jira Issue Updater</code> and configured the plugin in Jenkins.</p>
  <p>Using the rest endpoint, I'm able to push a comment into JIRA via <code>SOAPUI</code>, however the Jira Issue updater always throws below error</p>
  <pre><code>-------------------------------------------------------
  JIRA Update Results Recorder
  -------------------------------------------------------
  Unable to connect to REST service
  java.io.IOException: Server returned HTTP response code: 400 for URL: https://jira.xyz.abc.com/rest/api/2/search?jqlBuild step 'JIRA Issue Results Updater' marked build as failure
  Finished: FAILURE
  </code></pre>
  <p>Please help if any pointers.</p>