Forum Discussion

yugandhar1's avatar
New Contributor
4 years ago

Zephyr for JIRA plugin 1.5 in Jenkins is giving error as "JSONObject["jobProgressToken"] not found"


I have integrated "Zephyr for JIRA plugin 1.5 " with Jenkins to push selenium automation results to JIRA.

But after building Jenkins job I am getting below error.


20:18:50 [ZapiTestResultReporter] [INFO] Examining test results...
20:18:50 Build result is SUCCESS
20:18:51 Total Test Cases : 2ERROR: Build step failed with exception
20:19:08 org.json.JSONException: JSONObject["jobProgressToken"] not found.
20:19:08 at org.json.JSONObject.get(
20:19:08 at org.json.JSONObject.getString(
20:19:08 at
20:19:08 at
20:19:08 at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(
20:19:08 at hudson.tasks.BuildStepMonitor$1.perform(
20:19:08 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(
20:19:08 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(
20:19:08 at hudson.model.Build$BuildExecution.post2(
20:19:08 at hudson.model.AbstractBuild$
20:19:08 at hudson.model.Run.execute(
20:19:08 at
20:19:08 at hudson.model.ResourceController.execute(
20:19:08 at
20:19:08 Build step 'Publish test result to Zephyr for JIRA' marked build as failure
20:19:08 [WS-CLEANUP] Deleting project workspace...


Below are the tools versions:-

JIRA - Jira v8.12.3

Jenkins- Jenkins 2.235.5

Zephyr for JIRA plugin in Jenkins  -1.5

Plugin instructions followed from below link:-