Migrating Work Item from Azure DevOps to GitHub Issues - Blogs

Migrating Work Item from Azure DevOps to GitHub Issues

Overview: This blog will let you know migrating work items from Azure DevOps to GitHub. Work Item are nothing but we can say In Azure DevOps, a need can be stated by generating a work item Here in this scenario we have  one PowerShell script which help to migrate the work items from Azure DevOps to GitHub .


  • Install Azure DevOps and GitHub cli where this is running (i.e. action or locally; GitHub-hosted runners already have)
  • Use these reference for Repository.
  • Create a label for each work item type that is being migrated (lower case) in GitHub .
  1. user story
  2. bug
  3. task
  4. feature
  • Define under what area path you want to migrate.

Things That Migrated:

  • Title
  • Description
  • State (if the work item is done / closed, it will be closed in GitHub)
  • It will try to assign the work item to the correct user in GitHub - based on ADO email
  • It uses the -gh_update_assigned_to and -gh_assigned_to_user_suffix options to added users to GitHub org.
  • Migrate acceptance criteria as part of issue body.
  • Adds in the following as a comment to the issue.
  • Original work item URL
  • Entire work item in a JSON format.

Steps to do :

The recommendation is to use a GitHub App to run the Migration - a GitHub app has higher rate limits than using a user PAT.

  • Create GitHub App (Following these reference) Use the following permission.
    • Repo: Content: Read
    • Repo: Issues: Read and write
    • Org: Members: Read
  • Create Private Key for GitHub App (Following these reference)
  • Obtain App ID and Installation ID (Following these reference)
  • Create the following action secrets ADO_PAT & PRIVATE_KEY
  • Use the Actions and update the App ID and Installation ID.
  • Update the details in the actions i.e. Azure DevOps organization and Project and GitHub Organizations and Repository.
  • Ensure the action exists in Repository’s default branch.
  • Run the Workflow.
  1. Go to Azure DevOps Create One  BUG Work item and add TAG.


  1. Navigate to GitHub Repository main page and Click on Issues and add the Label (Lower Case)


  1. Now Click on Actions and Run the workflow.


  1. You'll find the Work item on the GitHub Issues Tab as soon as the workflow runs successfully.


Conclusion :

I hope this blog post has given you further insight into how to migrate work items from Azure DevOps to GitHub. Additionally, it provides you with a brief overview of how to create GitHub Apps, private keys, edit the data, etc.


Using XMPP and Openfire Server in Windows Phone 8

Implementing Extensible Messaging and Presence Protocol (XMPP) in Windows phone 8 is really a tough ...

Read More >

GitHub Codespaces Features and Capabilities

Codespaces are a safe, configurable, and dedicated development environment that has all of the capab...

Read More >

Supercharging GitHub Actions with Job Summaries and Pull Request comments

A new feature on GitHub allows you to write job descriptions for your actions with Job Summaries and...

Read More >

How to upload the files in Selenium using AutoIt

Selenium   WebDriver Test Automation framework allows us to write the automation scripts f...

Read More >

How to Set Up Selenium WebDriver in Visual Studio Enterprise 2015?

Pre-requisite : Visual Studio Enterprise 2015 application should be installed into the system.Create...

Read More >


Subscribe using the form below to get updates on our future webinars!!! We will ensure you to send u...

Read More >

Twitter Bootstrap – An UI Framework for Web Applications

Twitter Bootstrap is an open source front end framework for HTML, CSS and JS, using which we can cre...

Read More >

NAV – Connecting Microsoft Dynamics CRM customized entities

This blog is intended to see how Microsoft Dynamics NAV (here onwards NAV) can be connected to exter...

Read More >

Microsoft Azure : Mobile Services - HTML with JavaScript

 OverviewWe will add cloud-based backend service to HTML app using Azure Mobile Services. We wi...

Read More >


Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive

Contact Us
  • *
  • *