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
Copy file name to clipboardExpand all lines: docs/boards/queries/import-work-items-from-csv.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.author: chcomley
9
9
author: chcomley
10
10
ms.topic: how-to
11
11
monikerRange: "<=azure-devops"
12
-
ms.date: 11/26/2024
12
+
ms.date: 11/14/2025
13
13
#customer intent: As a team member, I want to import and export work items in CSV format to create or update them in bulk by using Excel.
14
14
---
15
15
@@ -43,15 +43,29 @@ To import work items in bulk, your CSV file must include the **Work Item Type**
43
43
- Verify that all fields in the CSV file match the fields for the work item types in the target project.
44
44
-**Handle invalid values:** If the imported CSV file contains work items with invalid values, you must edit and correct these work items after import before they can be saved.
45
45
46
+
> [!TIP]
47
+
> Work item fields vary between different process templates (Agile, Scrum, CMMI) and Azure DevOps versions. Before importing, verify the available fields for your work item types by:
48
+
> 1. Creating a sample work item of the desired type in your project
49
+
> 2. Viewing the available fields in the work item form
50
+
> 3. Or exporting existing work items to see the current field structure
51
+
>
52
+
> Field names and availability might differ from the examples shown in this article based on your process template and Azure DevOps version.
53
+
46
54
Do the following steps to import new work items.
47
55
48
56
> [!NOTE]
49
57
> You can import up to 1,000 work items at a time. If you have more than 1,000 work items to import, break them into multiple files and import them separately.
50
58
51
59
1. Create a local *import.csv* file and open it in Visual Studio Code or Excel.
52
-
2. The file must contain the **Work Item Type** and the **Title** fields. You can include other fields as needed. For a list of default fields, see [Work item field index](../work-items/guidance/work-item-field.md).
60
+
2. The file must contain the **Work Item Type** and the **Title** fields. You can include other fields as needed.
61
+
62
+
> [!TIP]
63
+
> To determine the correct field names for your Azure DevOps instance:
64
+
> - Export a few existing work items from your project to view the exact field names
65
+
> - Create a new work item and review the available fields
66
+
> - Check the [Work item field index](../work-items/guidance/work-item-field.md) for standard field references
53
67
54
-
The following example includes the **Priority** field.
68
+
The following example includes the **Priority** field. Your available fields might differ based on your process template:
55
69
56
70
```csv
57
71
Work Item Type,Title,Priority
@@ -85,6 +99,13 @@ Do the following steps to import new work items.
85
99
86
100
### Tips
87
101
102
+
-**Field compatibility:** Different Azure DevOps versions and process templates (Agile, Scrum, CMMI, or custom) have different available fields. Always verify field names by exporting existing work items from your project before importing new ones.
103
+
-**Process template differences:**
104
+
-**Agile process**: Uses User Story, Task, Bug, Epic, Feature, Test Case
105
+
-**Scrum process**: Uses Product Backlog Item, Task, Bug, Epic, Feature, Test Case
106
+
-**CMMI process**: Uses Requirement, Task, Bug, Epic, Feature, Test Case
107
+
- Your field names and available options might vary based on which process your project uses.
108
+
88
109
-**Parent-child links:** You can add parent-child links between work items you import by indenting the title columns, as shown in [Can I import a CSV file that have parent-child links?](#tree-items). However, you can't specify any other link types when you import or update work items.
89
110
-**Default State field:** When you import new work items, the **State** field is set to *New* by default. You can't specify a different state during the import process. If you need to change the state of imported work items, use the following workaround:
90
111
@@ -120,7 +141,7 @@ Do the following steps to import new work items.
120
141
1. Make the edits to your work items. Your CSV file must contain the **ID**, **Work Item Type**, and **Title** fields. Any other fields you want to include are optional.
121
142
122
143
> [!NOTE]
123
-
> When you import identity fields, enter the name and email in the following format `"Display Name <email>"`. For example, to assign work to Jamal Hartnett, specify `"Jamal Hartnett <[email protected]>"`. If you specify a value that isn't recognized as a valid user to the system, you may encounter problems with the import.
144
+
> When you import identity fields, enter the name and email in the following format `"Display Name <email>"`. For example, to assign work to Jamal Hartnett, specify `"Jamal Hartnett <[email protected]>"`. If you specify a value that isn't recognized as a valid user to the system, you might encounter problems with the import.
124
145
125
146
In the following example, we change values on existing working items.
Copy file name to clipboardExpand all lines: docs/extend/develop/using-host-dialog.md
+60-64Lines changed: 60 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ai-usage: ai-assisted
8
8
monikerRange: '<= azure-devops'
9
9
ms.author: chcomley
10
10
author: chcomley
11
-
ms.date: 07/02/2025
11
+
ms.date: 11/14/2025
12
12
# customer-intent: As an Azure DevOps extension developer, I want to create modal dialogs that block user interaction with the entire page so I can collect user input, display forms, and provide focused user experiences in my extensions.
13
13
---
14
14
@@ -29,8 +29,6 @@ Use modal dialogs in your extensions to:
29
29
30
30
## Prerequisites
31
31
32
-
Before you can create modal dialogs in your Azure DevOps extension, ensure you have the following:
33
-
34
32
| Category | Requirement | Details |
35
33
|----------|-------------|---------|
36
34
|**Extension setup**| Working extension project | A valid `vss-extension.json` manifest file |
@@ -42,7 +40,7 @@ Before you can create modal dialogs in your Azure DevOps extension, ensure you h
|| Extension API | Install: `npm install azure-devops-extension-api`|
44
42
|**Extension permissions**| Manifest scopes | Include appropriate scopes in `vss-extension.json`, for example: `"vso.work"`, `"vso.project"`|
45
-
|**SDK imports**| Required modules | Import SDK and services: `import * as SDK from "azure-devops-extension-sdk"`and `import { CommonServiceIds, IHostDialogService } from "azure-devops-extension-api"`|
43
+
|**SDK imports**| Required modules | Import SDK and services: `import * as SDK from "azure-devops-extension-sdk"`|
46
44
47
45
## Dialog contents
48
46
@@ -140,78 +138,76 @@ The `uri` property references a page that is rendered within the content area of
140
138
141
139
## Show the dialog
142
140
143
-
To show the dialog (for example, when a user selects an action on a toolbar or menu), call the `openDialog` function on an instance of the HostDialogService, passing the fully qualified identifier of the dialog content, for example `my-publisher.my-extension.registration-form` and any dialog options:
141
+
To show the dialog (for example, when a user selects an action on a toolbar or menu), call the `openDialog` function on an instance of the HostDialogService:
A function can be called when the OK button is selected. This function is specified by `getDialogResult` in the options you provide when showing the dialog.
164
+
A function can be called when the OK button is selected. You specify this function by setting`getDialogResult` in the options you provide when showing the dialog.
167
165
168
166
If a call to `getDialogResult` returns a non-null value, this value is then passed to the function specified by `okCallback` (also in the options) and the dialog is closed.
169
167
170
168
In this example, the `attachFormChanged` callback gets called when inputs on the form change. Based on whether the form is valid or not, the OK button is enabled or disabled.
0 commit comments