If you store all your code in GitHub, why not create all your issues there too?
You might be reluctant to move your backlog to GitHub from Azure DevOps as you don’t want to lose the metrics functionality.
But you can easily sync all your GitHub Issues to Azure DevOps automatically to have the best of both worlds.
Here's a quick guide in setting it up for your GitHub Repository and Azure DevOps.
E.g. SSW uses this template for their projects, you may need to change the new and closed states depending on your environment.
name: Sync issue to Azure DevOps work itemon:issues:types:[opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]jobs:alert:runs-on: ubuntu-lateststeps:- uses: danhellem/github-actions-issue-to-work-item@masterenv:ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"ado_organization: "${{ secrets.ADO_ORGANIZATION }}"ado_project: "${{ secrets.ADO_PROJECT }}"ado_wit: "Product Backlog Item"ado_new_state: "New"ado_close_state: "Done"ado_bypassrules: true
✅ Figure: Good Example - GitHub Action to Sync Issues to Azure DevOps
✅ Figure: Good Example - GitHub Issues Syncing to Azure DevOps
More information about this GitHub Action can be found here https://github.com/danhellem/github-actions-issue-to-work-item
To avoid people adding a PBI to the Azure DevOps, add a PBI at the top of your backlog to indicate that they should add it to GitHub issues.
Figure: Add the PBI at the top of your backlog
Figure: Inform users where to add new PBIs