Search code examples
githubgithub-issues

GitHub Issues: how to reference issues from different repos in a tasklist


Tasklists in GitHub Issues allow to automatically reference others issues in the same repo using the format #ISSUE_NUMBER. This reference automatically shows the name of the Issue and it state.

While there exists a similar format (repo#ISSUE_NUMBER) for issues in a different repo, this does not work in a tasklist.

How can I create an automated reference like with #ISSUE_NUMBER bot for issues in a different repo?


Solution

  • You can create an automated reference to issues in a different repo (in a tasklist) simply putting the URL to that issue. For instance:

     - [x] #739
     - [ ] https://github.com/octo-org/octo-repo/issues/740
     - [ ] Add delight to the experience when all tasks are complete :tada:
    

    would render like this:

    RefIssues

    Source: GitHub Docs