> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Work Items IDs

Retrieve a list of Work Item IDs.

<Note>
  External Documentation

  To learn more, visit the [Azure DevOps documentation](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-items/get-work-items-batch?view=azure-devops-rest-7.1\&tabs=HTTP).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                                                                                  |
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Organization | The Azure DevOps Organization. You can view the Organizations list in the [Azure DevOps Organizations page](https://portal.azure.com/#blade/AzureTfsExtension/OrganizationsTemplateBlade).                   |
  | Project      | The Project ID or Project name. You can view the Projects list in the [Azure DevOps Projects page](https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.DevCenter%2Fprojects). |
  | Team         | Team ID or team name.                                                                                                                                                                                        |
</div>

## Example Output

```json theme={"dark"}
{
	"asOf": "The date the query was run in the context of.",
	"columns": [
		{
			"name": "The friendly name of the field.",
			"referenceName": "The reference name of the field.",
			"url": "The REST URL of the resource."
		}
	],
	"queryResultType": "The result type",
	"queryType": "The type of the query",
	"sortColumns": [
		{
			"descending": false,
			"field": {
				"name": "The friendly name of the field.",
				"referenceName": "The reference name of the field.",
				"url": "The REST URL of the resource."
			}
		}
	],
	"workItemRelations": [
		{
			"rel": "The type of link.",
			"source": {
				"id": 0,
				"url": "REST API URL of the resource"
			},
			"target": {
				"id": 0,
				"url": "REST API URL of the resource"
			}
		}
	],
	"workItems": [
		{
			"id": 0,
			"url": "REST API URL of the resource"
		}
	]
}
```

## Workflow Library Example

[List Work Items Ids with Azure Devops and Send Results Via Email](https://library.blinkops.com/workflows/list-work-items-ids-with-azure-devops-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-work-items-ids-with-azure-devops-and-send-results-via-email/canvas" />
</div>
