Comments (5)
I was able to reproduce this. It looks like GEI is generating links in the PR description back to the AzDO work items, but the format of the link is not what the AzDO Boards <-> GitHub Integration expects. If the link format in the GH PR was AB#123
then the Boards Integration would kick in and automatically create the link on the AzDO side.
from gh-gei.
Thanks @ArinGhazarian. In the meantime if anyone else has this issue, I have managed to work around this limitation right now by writing a script that after migration goes through all the migrated repos PRs, finds any that have "AzureDevOps/#" in the body and updates that piece of text to be "AB#". As pointed out by Dylan above, this is what the Azure Boards integration is expecting and it then does its thing and links all the PRs so they show in the ADO work items correctly.
from gh-gei.
from gh-gei.
Thanks @dylan-smith and @ArinGhazarian for your input. Ive had a look but don't see where its putting those PR comments in. I assume it happens inside the GitHub CLI migration logic?
I did try to see if I could work around this limitation by querying all the PRs in GitHub and then calling ADO REST APIs to add a link to the GitHub PR, but from the ADO side its not possible to programmatically patch work items with a GitHub link due to that being controlled by the ADO GitHub app (which has a token for the connection to GitHub).
https://github.com/github/gh-gei/blob/main/src/ado2gh/Commands/ConfigureAutoLink/ConfigureAutoLinkCommandHandler.cs looks like it runs after the migration of the repo in order to configure the auto link for future PRs right? So I don't think modifying/adding to that would help unless I'm wrong.
Is this an issue that needs to be raised against the GitHub CLI itself?
from gh-gei.
👋 @WillEllis,
Yes, this needs to be fixed in the backend since the actual repo migration happens in the GEI backend and the CLI just initiates it. I will create an issue to address this.
from gh-gei.
Related Issues (20)
- SSL error during migration from ADO to GH: "error:140E0197:SSL routines:SSL_shutdown:shutdown while in init" HOT 3
- PowerShell's convertfrom-json fails if there is non-English in gh api's output HOT 2
- Support for Migrating from Bitbucket to GitHub Enterprise Server HOT 2
- Gh-gei unsupported for the Linux-386 HOT 2
- Validate `--bbs-shared-home` and `--archive-path`
- Unable to run gh gei migrate-repo HOT 2
- MigrateRepositoryJob: Pushing a batch of 1 Git refs failed on attempt 4/4. HOT 2
- [ado2gh] Unable to rewire pipeline when ADO Team Project has many BuildDefinitions (+10000)
- [ado2gh] RewirePipeline - Accept definitionId (int) for ado-pipeline parameter HOT 3
- ado2gh migrate-repo requires admin:org permission to complete migration from ADO to Github organization HOT 1
- Support linux-arm64 HOT 4
- Support for BitBucket HTTPS Token due to SSO/SAML authentication restrictions HOT 1
- Support darwin-arm64
- ado2gh migrate-repo optional overwrite of existing repo in github HOT 6
- `rewire-pipeline` Command Switches YAML Triggers HOT 4
- [gei] Secret scanning alert matching logic might need to be reversed for locations
- [gei] Add support for migrating secret scanning resolution comments
- 403 Forbidden Error unrelated to PATs/Permissions HOT 1
- Support linux-386 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gh-gei.