Hello 😊
I am currently working on a Python script that creates a test execution via the Jira Xray API. I have to specify the ‘fixVersions’ in the payload. Unfortunately, I always get an error back:
Error message: Unrecognised field ‘fixVersions’ (Class com.xpandit.raven.beans.execution.TestExecutionInfoBean), not marked as ignorable
Here is the relevant part of my payload:
Python payload = {
‘info": {
‘project": “Project”,
‘summary": “Execution of automated tests for release project”,
‘description": “This execution is automatically created when importing execution results from an external source”,
‘testEnvironments‘: [’XYZ"],
‘fixVersions‘: [{’set‘: [{’name": “1.0”}]}] # Here is the problem },
‘tests": tests }
I tried to change the format of the ‘fixVersions’, but the API still does not accept it.
Unfortunately, I could not find a clear answer in the Jira Xray documentation as to whether ‘fixVersions’ is supported at all in this context. 🤔
Does anyone have experience of using ‘fixVersions’ in Jira Xray? Many thanks in advance for your help! 🙏
Fix version need to be set via the Jira API.
You would need to do an API call via the Jira API to update the issue created via the Xray and set the Fix version value on the issue
Thanks, but I managed to set it when creating the test-execution using "version" (https://docs.getxray.app/display/XRAY/Import+Execution+Results) instead of fixVersions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.