So currently I am trying to progress my JIRA workflow with the Jira Issue Updater plugin in Jenkins. Attached are my config screenshot and my workflow. However i get this error when I execute a commit triggered build.
Unable to connect to REST service java.io.IOException: Server returned HTTP response code: 400 for URL: http://*******:9055/rest/api/2/search?jqlFinished: SUCCESS
This does not have any effect on my Jira workflow.
Thanks for the help in advance and let me know if more information is needed. Hadi
EDIT: I got a 404 meaning the JQL is incorrect, but when I try to use that in incognito mode I get an empty string, However, if i am locally logged in, I get all issues in xml format.
I ended up using the JIRA plugin instead. I used Progress JIRA Issues by workflow action step after build successful phase. Attaching a screenshot of the configuration.
I am still trying to figure how to pull the issue number from the commit message for this action.
This is a following question and answer if anybody else gets stuck:
How can I get JIRA issue number from a commit message in Jenkins