Thank you for posting your question in the Microsoft Q&A forum
To import tasks from a .csv file and link them to an existing user story in Azure DevOps, you can follow these steps:
Steps to Import Tasks and Link Them to a User Story
1. Prepare Your CSV File
- Ensure your .csv file contains the necessary columns for the tasks you want to import. Common columns include:
a. Title: The name of the task.
b. Work Item Type: Set this to Task.
c. Parent: The ID of the user story you want to link the task to.
d. Description: (Optional) A description of the task.
e. Assigned To: (Optional) The user to whom the task is assigned.
Example CSV structure:
Work Item Type Title Parent
Task Task 1 12345
Task Task 2 12345
- Replace 12345 with the ID of the user story you want to link the tasks to.
2. Install the Azure DevOps Work Item Import Tool
- Azure DevOps does not natively support CSV imports, but you can use the Excel Add-in or third-party tools like Azure DevOps Migration Tools
Alternatively, you can use the Excel integration provided by Azure DevOps
3. Import Using Excel
- Open Excel and connect it to your Azure DevOps project:
a. Go to Team > New List (if the Azure DevOps plugin is installed).
b. Sign in to Azure DevOps and select your project.
- Paste the contents of your .csv file into the Excel sheet.
- Ensure the Parent column is correctly mapped to the ID of the user story.
Save and publish the changes back to Azure DevOps.
I hope the provided answer is helpful,
Please "Up Vote" if the information helped you. This will help us and others in the community as well.
Thanks