I am referring to Trigger a Jenkins project build from a Test Plan from Xray docs to trigger a Jenkins build from a Jira issue. While setting up the Custom Web Item, what link should I point to? I have just copied the link from the document.
On REST Endpoint setup, I got errors on requestMethod, getResponseCode(), and getResponseMessage() methods
I am not sure if ScriptRunner execution history is also not showing full payload info.
Jira DC v8.9.0
ScriptRunner v6.51.0
Xray v6.1.3
Jenkins v2.263.1
Would appreciate any help!
The problem is due to the deprecation of UrlConnection class. You should update the code to use the HttpURLConnection class instead. It could be something like this: