I am trying to automate a process in Azure DevOps, using the REST API. I think it should go like this (at least, this is the current manual process):