Create new workitems from a pre-defined list and assign them to a specific sprint.
- create the config.yaml file (see config.sample.yaml)
- create the workitems.yaml file (see workitems.sample.yaml)
- run the main.py Python script
This file contains the general configuration parameters used to connect to your Azure DevOps environment.
It also (optionally) contains the Area and Iteration which will be assigned to every work item.
Make sure you get a personal access token first!
organization: 'myAzureOrganization'
project: 'MyProjectName'
url: 'https://dev.azure.com/myAzureOrganization'
token: 'myPersonalAccessToken'
area: 'myArea'
iteration: 'iteration\sprint'
This file contains details for each work item that will be created. Multiple YAML documents can be put in this file, each delimited by --- (three dashes). Optional Subtasks will be created and linked to a work item if specified. The subtasks will use the same area and iteration but will not be assigned to anyone.
The following fields are currently supported:
- type: work item type
- title
- assigned: assigned to
- description (supports formatting such as <div> for new line)
- tasks (creates linked Task work items with inherited area and iteration)
type: Issue
title: test 1
assigned: John Doe
description: test item 1
---
type: Issue
title: test 2 multiple lines
description: line 1 in item 2<div>
line 2 in item 2<div>
line 3 in item 2
---
type: Issue
title: test 3
description: test item 3
tasks:
- Write release note
- Write test book
- Send release note