You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Configure repositories and branches to integrate with work tracking](../../repos/git/configure-repos-work-tracking.md)
194
181
-[Configure pipelines to support work tracking](../../pipelines/integrations/configure-pipelines-work-tracking.md)
195
182
-[Add work items](add-work-items.md)
196
183
-[Git overview](../../repos/git/index.yml)
197
-
-[Link GitHub commits and pull requests to work items](../github/link-to-from-github.md)
198
-
-[Create your backlog](create-your-backlog.md)
199
-
200
-
::: moniker-end
201
-
202
-
::: moniker range="<= tfs-2018"
203
-
184
+
-[Link GitHub commits and pull requests to work items](../github/link-to-from-github.md)
185
+
-[Link to work items from other objects](../../notifications/add-links-to-work-items.md)
204
186
-[Add work items](add-work-items.md)
205
-
-[Git overview](../../repos/git/index.yml)
206
-
-[Create your backlog](create-your-backlog.md)
207
-
208
-
::: moniker-end
187
+
-[Git overview](../../repos/git/index.yml)
209
188
210
189
Keep in mind that the **Development** section only appears within the web portal work item form. The work item tracking experience and forms that appear in Visual Studio or other supported clients don't display several of the features that are available from the web portal.
To support integration and traceability across Azure DevOps services with pipelines, you can configure several options. You can report pipeline status, copy the syntax for status badges, and set up automatic linking of work items to builds and releases.
18
18
@@ -70,7 +70,7 @@ The following table summarizes the integration points between Azure Boards and A
70
70
:::column-end:::
71
71
:::column span="1":::
72
72
YAML, Azure DevOps Server 2020 and later
73
-
Classic, TFS 2018 and later
73
+
Classic, TFS 2017.2 and later
74
74
:::column-end:::
75
75
:::row-end:::
76
76
---
@@ -90,13 +90,14 @@ The following table summarizes the integration points between Azure Boards and A
90
90
::: moniker-end
91
91
:::row:::
92
92
:::column span="2":::
93
-
View work items linked to a build or release
93
+
View list of work items linked to a build or release
94
94
:::column-end:::
95
95
:::column span="2":::
96
96
Review and open the work items included in a build or release.
97
97
:::column-end:::
98
98
:::column span="1":::
99
-
Azure DevOps Server 2020 and later
99
+
YAML, Azure DevOps Server 2020 and later
100
+
Classic, TFS 2017.2 and later
100
101
:::column-end:::
101
102
:::row-end:::
102
103
---
@@ -128,6 +129,12 @@ The following table summarizes the integration points between Azure Boards and A
128
129
::: moniker-end
129
130
130
131
132
+
## Prerequisites
133
+
134
+
- To configure the integration options for a Classic release pipeline, you must have permissions to edit the release.
135
+
- To link work items to commits and pull requests, you must have your **Edit work items in this node** permissions set to **Allow** for the Area Path assigned to the work item. By default, the Contributors group has this permission set.
136
+
- To view work items, you must have your **View work items in this node** permissions set to **Allow** for the Area Path assigned to the work item.
137
+
131
138
132
139
## Open pipeline settings, build options, or integration options
133
140
@@ -167,7 +174,6 @@ This setting isn't available for Azure DevOps Server 2019 or earlier versions.
167
174
168
175
Open the build pipeline, choose to edit the pipeline, and then choose the **Options** tab.
169
176
170
-
171
177
::: moniker range=">= azure-devops-2019"
172
178
:::image type="content" source="media/pipelines-integration/open-classic-build-properties-options.png" alt-text="Screenshot of Classic Build pipeline, Options tab.":::
173
179
::: moniker-end
@@ -180,7 +186,7 @@ The Build properties page appears.
For details on each setting, use one of the following links:
189
+
For details on each setting, use one of the following links:
184
190
-[Build number format](../release/index.md#how-do-i-manage-the-names-for-new-releases)
185
191
-[Automatically link work items](#auto-link-work-items-builds)
186
192
-[Create work item on failure](#create-work-item-on-failure)
@@ -291,24 +297,39 @@ This feature isn't supported for YAML pipelines in Azure DevOps Server 2019.
291
297
292
298
:::image type="content" source="media/pipelines-integration/build-view-work-items.png" alt-text="Screenshot of link to view work items linked to build.":::
293
299
300
+
1. Save your pipeline.
301
+
294
302
# [Classic Release](#tab/classic-release)
295
303
296
304
<aid="classic-report-boards" />
297
305
298
306
::: moniker range=">= azure-devops-2020"
299
-
307
+
300
308
Prior to choosing your integration options, you should set up the release stages as described in [Define your multi-stage continuous deployment (CD) pipeline](../../pipelines/release/define-multistage-release-process.md).
301
309
302
310
1. Open **Options>Integrations** for the release pipeline as describe in [Release integration options](#classic-release-options).
303
311
304
-
1. Check the **Report deployment status to Boards** checkbox. Map the **Deployment type** to each stage, or leave **Unmapped**. Select this option if you want to create links to all work items that represent associated changes to the source, when a release is complete.
312
+
1. Check the **Report deployment status to Boards** checkbox. Map the **Deployment type** to each stage, or leave **Unmapped**. Select this option if you want to create links to all work items that represent associated changes to the source, when a release is complete. This option must be enabled in order for the work item form [**Deployment**](../../boards/work-items/work-item-deployments-control.md) control to work.
305
313
306
314
:::image type="content" source="media/pipelines-integration/release-settings-stages-1.png" alt-text="Screenshot of Report deployment status to Boards, Classic release, 5 stages.":::
307
315
308
316
To view a list of work items linked to the release, choose **Release (old view)** from :::image type="icon" source="../../media/icons/actions-icon.png" border="false"::: **More commands**, and then choose the **Work Items** tab.
309
317
310
318
:::image type="content" source="media/pipelines-integration/release-pipeline-view-work-items.png" alt-text="Screenshot of link to view work items linked to a release.":::
311
319
320
+
1. Save your pipeline.
321
+
322
+
To verify the integration is working, perform the following steps:
323
+
324
+
1. Link one or more work items to a commit or pull request in Azure Repos Git repository. For details, see:
325
+
- [Drive Git development from a work item](../backlogs/connect-work-items-to-git-dev-ops.md)
326
+
- [Link to work items from other objects](../../notifications/add-links-to-work-items.md)
327
+
1. Run the pipeline.
328
+
329
+
1. Open one of the linked work items and view the [**Deployment**](../../boards/work-items/work-item-deployments-control.md) control control. As shown in the following image, the **Deployment** control shows release information for two release stages those work items that have been linked to a Git commit or pull request for a release pipeline configured to integrate with Azure Boards.
330
+
331
+
:::image type="content" source="../../boards/backlogs/media/deployments-control/deployment-control-intro.png " alt-text="Screenshot of Work item form, Deployment control.":::
332
+
312
333
::: moniker-end
313
334
314
335
@@ -344,7 +365,7 @@ If a build pipeline fails, you can automatically create a work item to track get
344
365
345
366
346
367
> [!TIP]
347
-
> The option to **Create work item on failure** is only supported for Classic pipelines.To accomplish this with a YAML pipeline, see the [Create Bug on Release failure](https://marketplace.visualstudio.com/items?itemName=AmanBedi18.CreateBugTask) marketplace extension.
368
+
> The option to **Create work item on failure** is only supported for Classic pipelines.To accomplish this with a YAML pipeline, see the [Create Bug on Release failure](https://marketplace.visualstudio.com/items?itemName=AmanBedi18.CreateBugTask) marketplace extension.
348
369
349
370
350
371
<aid="classic-options-integrations" />
@@ -356,6 +377,10 @@ If a build pipeline fails, you can automatically create a work item to track get
356
377
For example, here we choose the Bug work item type and specify the Priority and Tags fields and their values.
357
378
358
379
:::image type="content" source="media/pipelines-integration/create-work-item-failure-yaml.png" alt-text="Screenshot of Create work item on failure in build options.":::
380
+
381
+
3. Save your pipeline.
382
+
383
+
To learn the reference name for a field, look it up from the [Work item field index](../../boards/work-items/guidance/work-item-field.md). For custom fields you add through an inherited process, Azure DevOps assigns a reference name based on friendly field name prefixed with *Custom.*. For example, you add a field named **DevOps Triage**, the reference name is Custom.DevOpsTriage. No spaces are allowed within the reference name.
359
384
360
385
<aid="enable-status-badge" />
361
386
@@ -382,6 +407,8 @@ If a build pipeline fails, you can automatically create a work item to track get
382
407
383
408
:::image type="content" source="media/pipelines-integration/classic-build-status-badge.png" alt-text="Screenshot of classic build properties, status badge section.":::
384
409
410
+
3. Save your pipeline.
411
+
385
412
# [Classic Release](#tab/classic-release)
386
413
387
414
Select this option if you want to display the latest outcome of a stage deployment on an external website.
@@ -506,11 +533,11 @@ See [Speed up testing by using Test Impact Analysis (TIA), Enable Test Impact An
506
533
## Related articles
507
534
508
535
-[Define your multi-stage continuous deployment (CD) pipeline](../release/define-multistage-release-process.md)
536
+
-[Link and view work items to builds and deployments](../../boards/work-items/work-item-deployments-control.md)
-[Configure repositories to support work tracking](../../repos/git/configure-repos-work-tracking.md).
511
539
-[How to retrieve all work items associated with a release pipeline using Azure DevOps API](https://devblogs.microsoft.com/premier-developer/how-to-retrieve-all-work-items-associated-with-a-release-pipeline-using-azure-devops-api/)
512
-
-[Link and view work items to builds and deployments](../../boards/work-items/work-item-deployments-control.md)
513
-
-[Associate work items to commits](../../boards/backlogs/connect-work-items-to-git-dev-ops.md)
540
+
-[Drive Git development from a work item](../../boards/backlogs/connect-work-items-to-git-dev-ops.md)
514
541
-[Link to work items from other objects](../../notifications/add-links-to-work-items.md)
0 commit comments