To compare the related work items between the current release and a previous release I can use the following:
Is there possible to create a query to get the same work items between two releases? Or alternatively the VSTS Rest API.
My reason for this is to create a list of Features > Stories > Tasks to fill the release notes. Using the above UI makes it pretty time intensive to find out the relation between the tasks and features.
If the associations are being created and the work items are being linked properly, you should be able to see that information in the Details tab under the Deployment section on the Work item page, as shown in the image below: Also, you can view all work items that were associated to a given release by going to the Summary page of a release run.
According to the API, the associated work items are not linked directly to a release run. Instead, they are linked through the build that generated the artifact that was used as source for the release pipeline.
Work items link to Git branches, commits, pull requests, builds, and more. Work item forms provide two controls to show and quickly navigate to development objects. The Deployment control is described in this article, and the Development control is described in Drive Git development from a work item.
In such cases, a Release Manager or a project manager or a Stage owner would like to view the Change Summary of work-items before approving/rejecting a release or any step in a release. For this, he/she need not come to the Release Management client but can do so through the Release Explorer (web client).
Retrieve work items by calling
https://{account}.vsrm.visualstudio.com/[teamproject]/_apis/Release/releases/{current release id}/workitems?api-version=4.1-preview.1&baseReleaseId={compare release id}
It just return the id, url of work items, you need to get details of work item through Get a list of work items REST API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With