Hello! I am using Jira/XRay cloud version and would like to update XRay's Test Environments field for all existing Test Executions. I have tried to use the following api call but I am getting an error "Issue does not exist or you do not have permission to see it".
The fail message is not really correct as I have admin rights in the system.
Here is the api call I am using:
curl --request PUT \ --url '<jira_issue>' \ --user '<username>:<token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "update": { "Test Environments": [ { "set": "New_test_environment" }] } }'
Any tips?