Along with labels, an issue/PR can contain a Project. The plugin's subscription system can support this field, to allow for creating subscriptions scoped to a given project. More info on the /github subscriptions command can be found here https://github.com/mattermost/mattermost-plugin-github?tab=readme-ov-file#slash-commands
In order to fetch information on projects, we can use GitHub's GraphQL API https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects
There is existing functionality in the plugin using GitHub's GraphQL API https://github.com/mattermost/mattermost-plugin-github/tree/master/server/plugin/graphql

Along with labels, an issue/PR can contain a Project. The plugin's subscription system can support this field, to allow for creating subscriptions scoped to a given project. More info on the
/github subscriptionscommand can be found here https://github.com/mattermost/mattermost-plugin-github?tab=readme-ov-file#slash-commandsIn order to fetch information on projects, we can use GitHub's GraphQL API https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects
There is existing functionality in the plugin using GitHub's GraphQL API https://github.com/mattermost/mattermost-plugin-github/tree/master/server/plugin/graphql