> ## 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.

# Get Work Item Template

Returns a single work item from a template.

<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-item-template?view=azure-devops-rest-7.1\&tabs=HTTP).
</Note>

## Basic 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). |
  | Type         | The work item type name.                                                                                                                                                                                     |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                               |
  | --------- | ----------------------------------------- |
  | Fields    | Comma-separated list of requested fields. |
</div>

## Example Output

```json theme={"dark"}
{
	"fields": {
		"System.WorkItemType": "<string>",
		"System.AreaPath": "<string>",
		"System.TeamProject": "<string>",
		"System.IterationPath": "<string>",
		"System.State": "<string>",
		"System.Reason": "<string>",
		"Microsoft.VSTS.Common.StateChangeDate": "2023-10-22T00:11:42",
		"System.ChangedBy": {
			"displayName": "<string>",
			"url": "<string>",
			"_links": {
				"avatar": {
					"href": "<string>"
				}
			},
			"id": "<string>",
			"uniqueName": "<string>",
			"imageUrl": "<string>",
			"descriptor": "<string>"
		},
		"System.CreatedBy": {
			"displayName": "<string>",
			"url": "<string>",
			"_links": {
				"avatar": {
					"href": "<string>"
				}
			},
			"id": "<string>",
			"uniqueName": "<string>",
			"imageUrl": "<string>",
			"descriptor": "<string>"
		},
		"Microsoft.VSTS.Common.Priority": 375
	},
	"_links": {
		"workItemType": {
			"href": "<string>"
		},
		"fields": {
			"href": "<string>"
		}
	},
	"url": "<string>"
}
```

## Workflow Library Example

[Get Work Item Template with Azure Devops and Send Results Via Email](https://library.blinkops.com/workflows/get-work-item-template-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/get-work-item-template-with-azure-devops-and-send-results-via-email/canvas" />
</div>
