Code Monkey home page Code Monkey logo

github-issues-to-azure-devops-work-items-migration-script's Introduction

Github Issues to Azure Devops Work Items migration script

A simple script to migrate GitHub Issues to Azure Devops Work Items via the Devops Web API.

To be run from the command line using your PHP binary.

What GitHub Issue data is migrated

  • Work Item Type (User Story default and Bug if label Bug is present)
  • Title
  • Description
  • Comments
  • State
  • Tags
  • Milestones (as Tag)
  • AssignedTo
  • CreatedBy
  • CreatedAt

In addition a reference to the old GitHub issue will be placed inside the Azure Devops Work Item description.

Also, you are optionally able to specify a list of GitHub user to Azure Devops email mappings.

Make sure that the target Azure Devops Team and and Area Path exist for the matching to work properly.

Mandatory arguments

  • --import input file, relative to this file. See below for the required format of this file
  • --pat GitHub PAT with at least "repo" access
  • --version DevOps API version, e.g. "6.0-preview.3"
  • --organization DevOps organization, e.g. "my-org"
  • --project DevOps project, e.g. "Your Project"
  • --team DevOps project team, e.g. "My-Team"
  • --verbose Whether to display debug logs

Optional settings

  • list of user mappings in case you want don't want to use the user specified in the original GitHub issue See getUser()

Additional notes

The input file specified must be compliant to the format generated by the githubCsvTools @see https://github.com/gavinr/github-csv-tools

github-issues-to-azure-devops-work-items-migration-script's People

Contributors

mkerstner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.