Problem

When running the REST API version 2.0 to update execution status it returns the following error:

"Some errors occurred while updating the Test Run: You do not have permissions to change Execution Status."


This error typically happens when the color attribute found in the uploaded JSON file does not match the status color:

The color value in the JSON file does not match the one in the status:


Solution

There are two options to solve this:
  1. Change the color value to the correct color of the status.
  2. Or, remove the attribute from the JSON file since it is not a required attribute.