mattermost-plugin-github icon indicating copy to clipboard operation
mattermost-plugin-github copied to clipboard

#866 Set user as Busy in GitHub when status in Mattermost is OOO

Open akshat-khosya opened this issue 2 months ago • 7 comments

Summary

Adds a feature to automatically sync a user's Mattermost "Out of Office" status to their GitHub status.

When a user sets their status to "Out of Office" in Mattermost, their GitHub status will be set to "Busy" with the message "Out of office". When the user's status is no longer "Out of Office", their original GitHub status will be restored.

This is implemented using the UserStatusHasChanged hook in the Mattermost plugin API and the changeUserStatus GraphQL mutation in the GitHub API. The user's original GitHub status is stored in the plugin's key-value store.

Ticket Link

https://github.com/mattermost/mattermost-plugin-github/issues/866

akshat-khosya avatar Oct 30 '25 19:10 akshat-khosya

Hello @akshat-khosya,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.

Please help complete the Mattermost contribution license agreement? Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.

This is a standard procedure for many open source projects.

Please let us know if you have any questions.

We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

mattermost-build avatar Oct 30 '25 19:10 mattermost-build

/check-cla

akshat-khosya avatar Oct 30 '25 19:10 akshat-khosya

As a user I would absolutely NOT want this behavior. If this gets merged I hope it will be configurable and off by default.

ThiefMaster avatar Oct 30 '25 21:10 ThiefMaster

@akshat-khosya one other consideration. Can this be opted in for users? Not everyone will want their statuses sync'd.

wiggin77 avatar Nov 08 '25 03:11 wiggin77

As a user I would absolutely NOT want this behavior. If this gets merged I hope it will be configurable and off by default.

Thanks for the feedback @ThiefMaster. I agree, this will be opt-in.

wiggin77 avatar Nov 08 '25 03:11 wiggin77

/check-cla

akshat-khosya avatar Nov 14 '25 05:11 akshat-khosya

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

mattermost-build avatar Nov 25 '25 01:11 mattermost-build