Migrating Work Item from Azure DevOps to GitHub Issues - Blogs
X
22Jul

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 .

Prerequisites:

  • 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.

              AzoWI

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

              GHWI

  1. Now Click on Actions and Run the workflow.

              GHACTIONS

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

              GHISSUESAFTERMIGRATI...

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.

Related

Instructions for configuring the VS2010 Virtual image in Windows Virtual PC (Windows 7)

Instructions for setting up VS2010 Hands-on labs:Minimum Hardware requirements: Processor :  &n...

Read More >

MS Dynamics

Canarys team has built a few vertical solutions on Microsoft Dynamics platform. These products are b...

Read More >

How to write custom code in NAV 2013 R2 Report layout design?

You may want to add custom code to the RDLC report to do more actions than what's already provid...

Read More >

Design Microsoft Dynamics Navision 2013R2 RDLC Report Part-2

 In this post we will move to next step, and there we will go through two more data item groupi...

Read More >

Introducing Azure DevOps Earlier (VSTS)

Microsoft recently announced Azure DevOps and an evolution of Visual Studio Team Services (VSTS) whi...

Read More >

Ansible Ad-Hoc Commands and Playbooks

An ansible ad-hoc command is a one-line command that lets you perform basic tasks efficiently withou...

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 >

Key Metrics to Measure DevOps Success

DevOps words means many things to many people and all the definitions might be partly right. DevOps ...

Read More >

Business Process Testing Framework in QTP

Business Process Testing Framework Business Process Testing (BPT) is the core integration of QT...

Read More >

Integration of Git into Eclipse IDE

The Eclipse IDE provides support for the Git version control system. You can easily perform the nece...

Read More >

Share

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

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Text/HTML
Contact Us
  • *
  • *