Can't you just serialize all issues into the repository and then write scripts/hooks to sync them in/out of textfiles in the repo?
All the issues, wiki, PR review are stored in Git as well. You still need a Pagure instance (that you can self host if you want) to provide the web ui, but you can easily just clone the repo and put it to a different instance, keeping all your metadata.