JSON error while importing test execution result using Rest API

Chetan Bhangale
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2022

Hi 

 

Am trying to import the test execution result in JSON format using the Rest API /rest/raven/1.0/import/execution

The Python code for the same is embedded in the Jenkins job. 

While posting the JSON result it gives the following error

"Error assembling issue data: Version name \u00276.0.0\u0027 is not valid"

Somehow it doesn't like the version and the unicode which i guess id due to the Python json.load and json.dumps statements while posting to the Rest API, though in the result JSON file the version is specified as a  string like any other string value.

Please help here, kind of stuck here.

 

Thanks, Chetan

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events