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

# Update Work Item

Update an existing work item in a specified project.

<Note>
  External Documentation

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

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Fields       | A JSON array of field objects to add to the created work item:<br /><br />"value" - the value to fill in the field.<br /><br />"path" - the path of the field to be filled. Set to "/fields/System.`Field Name`" in case of a pre-existing field or to<br />"/fields/Custom.`Field Name` in case of a custom field. Examples of common fields: System.Title, System.Description,<br />System.State, System.Reason, System.Tags, System.AreaPath, System.IterationPath.<br /><br />"from" - set to null.<br /><br />"op"   - set to "add". |
  | ID           | The id of the work item to update. You can get the Work Item ID using the `List Work Items IDs` action.                                                                                                                                                                                                                                                                                                                                                                                                                                   |
  | 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).                                                                                                                                                                                                                                                                                                                              |
</div>

## Example Output

```json theme={"dark"}
{
	"id": 299,
	"rev": 6,
	"fields": {
		"System.AreaPath": "Fabrikam-Fiber-Git\\Website",
		"System.TeamProject": "Fabrikam-Fiber-Git",
		"System.IterationPath": "Fabrikam-Fiber-Git",
		"System.WorkItemType": "Task",
		"System.State": "To Do",
		"System.Reason": "New task",
		"System.AssignedTo": {
			"displayName": "Jamal Hartnett",
			"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"_links": {
				"avatar": {
					"href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
				}
			},
			"id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"uniqueName": "fabrikamfiber4@hotmail.com",
			"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
		},
		"System.CreatedDate": "2014-12-29T20:49:21.617Z",
		"System.CreatedBy": {
			"displayName": "Jamal Hartnett",
			"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"_links": {
				"avatar": {
					"href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
				}
			},
			"id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"uniqueName": "fabrikamfiber4@hotmail.com",
			"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
		},
		"System.ChangedDate": "2014-12-29T20:49:27.98Z",
		"System.ChangedBy": {
			"displayName": "Jamal Hartnett",
			"url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"_links": {
				"avatar": {
					"href": "https://dev.azure.com/mseng/_apis/GraphProfile/MemberAvatars/aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
				}
			},
			"id": "d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"uniqueName": "fabrikamfiber4@hotmail.com",
			"imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=d291b0c4-a05c-4ea6-8df1-4b41d5f39eff",
			"descriptor": "aad.YTkzODFkODYtNTYxYS03ZDdiLWJjM2QtZDUzMjllMjM5OTAz"
		},
		"System.Title": "JavaScript implementation for Microsoft Account",
		"Microsoft.VSTS.Scheduling.RemainingWork": 4,
		"System.Description": "Follow the code samples from MSDN",
		"System.History": "Linking to a blog article for context"
	},
	"relations": [
		{
			"rel": "System.LinkTypes.Hierarchy-Reverse",
			"url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/297",
			"attributes": {
				"isLocked": false,
				"comment": "decomposition of work"
			}
		},
		{
			"rel": "System.LinkTypes.Related",
			"url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/300",
			"attributes": {
				"isLocked": false,
				"comment": "adding another task"
			}
		},
		{
			"rel": "Hyperlink",
			"url": "http://blogs.msdn.com/b/bharry/archive/2014/05/12/a-new-api-for-visual-studio-online.aspx",
			"attributes": {
				"authorizedDate": "2014-12-29T20:49:27.98Z",
				"id": 65275,
				"resourceCreatedDate": "2014-12-29T20:49:27.98Z",
				"resourceModifiedDate": "2014-12-29T20:49:27.98Z",
				"revisedDate": "9999-01-01T00:00:00Z"
			}
		}
	],
	"_links": {
		"self": {
			"href": "https://dev.azure.com/fabrikam/_apis/wit/workItems/299"
		},
		"workItemUpdates": {
			"href": "https://dev.azure.com/fabrikam/_apis/wit/workItems/299/updates"
		},
		"workItemRevisions": {
			"href": "https://dev.azure.com/fabrikam/_apis/wit/workItems/299/revisions"
		},
		"workItemHistory": {
			"href": "https://dev.azure.com/fabrikam/_apis/wit/workItems/299/history"
		},
		"html": {
			"href": "https://dev.azure.com/fabrikam/web/wi.aspx?pcguid=d81542e4-cdfa-4333-b082-1ae2d6c3ad16&id=299"
		},
		"workItemType": {
			"href": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItemTypes/Task"
		},
		"fields": {
			"href": "https://dev.azure.com/fabrikam/_apis/wit/fields"
		}
	},
	"url": "https://dev.azure.com/fabrikam/_apis/wit/workItems/299"
}
```

## Workflow Library Example

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