ADO: Update Work Item Commit links to migrated repo

Open
#1,608 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, csharp, github
Domain
cli, devops

Research direction

Start by reviewing the Azure Boards integration, the migration CLI, and the linked sample script for how Work Item development links are handled. Compare the migrated Work Item Commit links with the original ADO links; done means Commit links point to the migrated GitHub repository while existing PR handling remains intact.

Written by the indexing model from the issue text.

Description

Development links on Work Items still maintain the original ADO links to Commits & PRs.

PRs are handled by Azure Boards integration (and this script), however Commit links don't get updated.
We can't update the Commit message because they can't be edited as it would change the hash (AB# in commit message would trigger the relevant back-linking).

It is possible to manually update the Work Item link in ADO and have it link to GH as a one-shot.

This is a sample script that add these links (https://gist.github.com/XVII/0503313791b8a123ef0f24d4c927a896), though it would be nice if it was just handled by the migration tool.

Dominant language
C#
Stars
479
Forks
148
Avg merge
7d 21h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-gei

All issues in github/gh-gei

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.