Skip to content

Create new workitems from a pre-defined list and assign them to a specific sprint.

License

Notifications You must be signed in to change notification settings

filipjonckers/azure-devops-bulk-workitems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub top language GitHub GitHub issues

azure-devops-bulk-workitems

Create new workitems from a pre-defined list and assign them to a specific sprint.

Setup

  1. create the config.yaml file (see config.sample.yaml)
  2. create the workitems.yaml file (see workitems.sample.yaml)
  3. run the main.py Python script

config.yaml file

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'

workitems.yaml file

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

About

Create new workitems from a pre-defined list and assign them to a specific sprint.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages