Forum Discussion

azaryanlena's avatar
17 days ago

Version ID not found when updating test case execution

Step: Send PUT request to https://jira.example.com/rest/atm/1.0/testrun/test_cycle_key/testcase/test_case_key/testresult with payload

{
  "version": "version_id"
}

Response: code 400 {
    "errorMessages": [
        "The value version_id was not found for field version on project project_key."
    ]
}

Before sending the request I get the version_id from Jira by version name

Are there any other conditions to make version_id recognizable in Zephyr?

1 Reply

  • Looking at the documentation here, the api is different compared you what you are sending. Are you pulling that URL from the Network log in your browser?

    I have done this before and not required the jira version. And with other calls that have it as an option they are not required fields so you could ignore them as they should not be needed for your PUT request