These functions will allow you to scrape work item information from a particular Azure DevOps project.
vsts_get_workitems(domain, project, auth_key, id, query = list())vsts_get_workitem(domain, project, auth_key, id)
The name of the Azure DevOps organization.
Project ID or project name
authentication key generated by using vsts_auth_key
ID of the work item to retrieve
a list of extra parameters that can be sent to the API call:
ids
[character] a comma-separated list of up to 200 IDs of the work items to get
fields
[character] a comma-separated list of up to 100 fields to get with each work item. If not specified, all fields with values are returned. Calculated fields such as Attached File Count must be specifically queried for using this parameter.
asOf
[Date] gets the work items as they existed at this time
ErrorPolicy
[character] determines if the call will throw an error when encountering a work item (default behavior)
that doesn't exist (throw
) or simply omit it (omit
)
For more information about work item API calls check https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/work-items.