Hi Vishal,
You've encountered a common misunderstanding about how Azure DevOps handles parent-child relationships during CSV imports. The "Parent" field is a computed, read-only value in Azure DevOps — you can't directly set it by adding a column in your CSV file. When you import your spreadsheet, Azure DevOps ignores any Parent ID values you've entered.
CSV Import with Title Indentation
Azure DevOps CSV import supports parent-child links through Title column indentation (Title 1, Title 2, etc.) This is the officially recommended approach. Here's how:
CSV Format:
ID,Work Item Type,Title 1,Title 2,Assigned To,State,Priority
28,Feature,Feature A,,,Active,2
,User Story,,Story 1 under Feature,,New,1
,User Story,,Story 2 under Feature,,New,2
,User Story,,Story 3 under Feature,,New,2
,Feature,Imported Feature,,,To Do,2
,User Story,,Story 1 under New Feature,,New,1
,User Story,,Story 2 under New Feature,,New,2
,User Story,,Story 3 under New Feature,,New,2
Key Points:
- Title 1 column = Parent level (Feature)
- Title 2 column = Child level (User Stories)
- For new children, leave the ID column empty
- The parent Feature should have its ID specified (1545586)
- Children titles go in Title 2, NOT Title 1
Import Process:
- Go to Boards → Queries → Import work items
- Select your CSV file
- Azure DevOps will automatically create the parent-child links based on the column indentation
- Click Save Items