0
votes

I found Manual Interventions - Get https://docs.microsoft.com/en-us/rest/api/azure/devops/release/manual%20interventions/get?view=azure-devops-rest-5.1#manualinterventionstatus with GET-https://vsrm.dev.azure.com/{organization}/{project}/_apis/Release/releases/{releaseId}/manualinterventions/{manualInterventionId}?api-version=5.1

this as REST API to get the details, but the issue is, m not able to find/determine the 'manualInterventionId' in this API. I created release pipeline, set pre-deployment approver details in it, but can someone tell me the exact flow to get Approver details using Manual Interventions task in classic release pipeline.

1
How about the issue? Does the answer below resolved your question, If yes, you could Accept it as an Answer , so it could help other community members who get the same issues and we could archive this thread, thanks.Leo Liu-MSFT

1 Answers

1
votes

How to get Approver details using Manual Interventions task in classic release pipeline using REST API

To get the manualInterventionId for the REST API Manual Interventions - Get, we could use the REST API Manual Interventions - List to list all manual interventions for a given release.

Manual Interventions - List:

GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/Release/releases/{releaseId}/manualinterventions?api-version=5.1

Then we could get all manual interventions:

enter image description here

Now, we could use the Id with REST API Manual Interventions - Get:

enter image description here