7

To compare the related work items between the current release and a previous release I can use the following:

Associated workitems

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.

Ralf de Kleine
  • 11,464
  • 5
  • 45
  • 87

1 Answers1

8

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.

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53