Open kleneway opened 2 hours ago
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
I've completed my work on this issue and have created a pull request: JACoB PR for Issue Update Email Notifications to Include All JACoB Users with Repository Access.
Please review my changes there.
Description
Currently, when a new issue is created, our system sends an email notification only to the issue creator. We need to enhance this functionality to notify all users who have access to the repository and are also registered JACoB users. This will ensure that all relevant team members are informed about new issues, especially those created through integrations like Jira.
Objectives
Modify
/src/server/webhooks/github.ts
to:users
table in our database.users
table.Rationale
Since JACoB can create issues from other integrations like Jira, it's important for development managers to be able to update their entire team efficiently. Notifying all relevant team members provides them with:
This ensures better coordination and accelerates the development process.
Expected Outcome
When a new issue is created (including those originating from integrations like Jira):
Only users who meet both criteria (repository access and registered JACoB user) receive the notifications.
Additional Notes
users
table to find matching usernames and obtain their email addresses.