keesschollaart81 / vsts-sprint-goal

Azure DevOps Extension - Enables you to set your sprint goal
MIT License
17 stars 16 forks source link

Get Sprint Goals via Wiql #287

Open Agazoth opened 2 years ago

Agazoth commented 2 years ago

Is there a way to get Sprint Goals via Wiql?

afroze9 commented 2 years ago

Is there a way to get Sprint Goals via Wiql?

From my understanding of the way this extension works, data related to Sprint Goals is stored via the Extension Data API on Azure DevOps/TFS. This data is not part of any work items, and it is not possible to fetch it via WIQL (which only works for Work Items).

To fetch this data for reporting purposes, I believe you can call the same API as the extension (this might break in case the manner of storing data changes in the future).

To save this data inside work items, I believe would be a major rewrite of how the extension works, plus it would require additional work items types to be created.

Agazoth commented 2 years ago

You are right. I dropped the Goals approach entirely and added a custom field to a work item instead.

pabrams commented 2 years ago

suggest closing this item