TheBuildGuy
TheBuildGuy

Reputation: 83

Is there a way to update the 'Deployment' section of a work item?

Does anyone know of a way to update the 'Deployment' section of a work item? I haven't been able to find any working examples of tasks that can do this, cli commands or API calls. This seems to be an exclusive feature of Azure DevOps Releases product; but I would like to be able to implement something similar using the multi-stage YAML pipelines.

Deployment section updated via Releases product

Upvotes: 2

Views: 1215

Answers (1)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51093

The release deployments control shows release information for those work items that have been associated to a commit which is part of a build being released.

The release deployments control currently works with classic release pipelines and with Azure DevOps Services (cloud) only.

How to Configure:

First thing you must do is configure the release definition to post deployment information back to Azure Boards.

  1. Open Release definition, Options and Integrations

enter image description here

  1. Select the "Preview: Report deployment status to Boards" option and configure the stages and deployment types

enter image description here

Now any release status changes will auto updated in 'Deployment' section of that related work item.

For details please kindly refer our official doc here-- Link work items to deployments

Upvotes: 2

Related Questions