I have a code in ruby to clone existing project base and from it update the deploymentprocess steps and i recieve this message:
"Changes to this deployment process could not be saved, because another user has made changes to the deployment process between when you started editing and when you saved your changes. Please reload or open a new tab to make your changes."
Thanks for reaching out and sorry for the delay. The JSON you are passing down on the PUT request doesnt have all the fields required by a deployment process.
What i would recommend you is to
Do a GET on your template deployment process and assign that value to a variable
Modify the values of that variable according to the needs of your new projects
I’ve done some more research and have determined that I’ll need to do this via the REST API. I ran into a issue and found a post where it recommended that this be done:
Do a GET on your template deployment process and assign that value to a variable
Modify the values of that variable according to the needs of your new projects
“ErrorMessage”: “There was a problem with your request.”,
“Errors”: [
“Changes to this deployment process could not be saved, because another user has made changes to the deployment process between when you started editing and when you saved your changes. Please reload or open a new tab to make your changes.”
Am I still missing something? Thanks for the help!
I’m also getting the “another user” error when trying to update the deployment process. I don’t see any resolution yet. Is this still being investigated?
As suggested above, I’m getting the JSON from a GET, modifying what I need to modify, and then sending it back to the server with a PUT. This a test project, and nobody else has access to it. Also, is there even any time between when I make changes and when I save them if I’m using the API? Aren’t those times, like, exactly the same instant?