Enhance YAML Pipelines 'Changes' API Endpoint to allow user to specify the 'artifact'

Copper Contributor

There exists an API endpoint that allows a user to request the changes for a Classic Release run and pass the Artifact Alias that they would like the changes from:
https://vsrm.dev.azure.com/{collection}/{project}/_apis/Release/releases/{releaseId}/changes?artifac...}
If a team replicates this type of pattern in YAML pipelines where there is a build pipeline (or multiple) and then a multi-stage YAML 'release' pipeline, there is no way to get the changes from the build artifacts. You can request the changes from the API for the multi-stage 'release' pipeline, but you cannot get the changes for the build pipelines IN THE CONTEXT OF the currently releasing stage.

The build artifacts are specified in the release pipeline in the resources:

 

resources:
  pipelines:
  - pipeline: myBuildPipeline
    source: myBuildPipeline
    trigger:
      branches:
        include: 
        - main

 

0 Replies