title: Using Rest API to trigger a specific stage within a yaml pipeline
body: <p>Is there a way to execute a specific stage within a running yaml pipeline which uses an environment with approvals?</p>
  <p>I have an on-prem deploy and an on-prem destroy stage both have manual approvals.</p>
  <p>What I would like to do is run on-prem destroy stage in the past builds using rest api.</p>
  <p>What I achieved so far is get 10 recent builds in descending order for a specific source branch lets call it feature/on-prem-enterprise. Then I do some parsing and find past builds that had a successful deployment but failed, cancelled, or skipped destroy stage, using these results from timeline endpoint, I want to use rest api to run/re-run a destroy stage in those builds.</p>
  <p>We get into a situation where we have several deployments but nobody is manually running the destroy stage and because this pipeline is shared amongst all developers for dev builds, its very difficult to find those older builds manually.</p>
  <p>If it cannot be achieved, then other solution may be to compile this list of builds and send an email out, but would prefer to have less manual intervention here.</p>