While the idea seems simple, I don’t understand why you would want to do this.
The GitHub issue tracker is … an issue tracker, with
- issue numbers
- milestones
- open/closed states (that don’t block discussion)
- issues that can be referred to and marked as closed from commits
- automatic links to and from pull requests
- etc
Discourse is a forum. Why would you want to import issues into it?