question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: Add "issue subscriptions" to manage notification logic

See original GitHub issue

Overview

As described in the wiki page, notifications are sent out to specified users when an event occurs. This contrasts current GitHub functionality which has the concept of subscriptions to determine who is notified.

I propose that we introduce the concept of subscriptions to issues in Gitbucket. For the purposes of this proposal, the term issues includes pull requests

Subscribing

At issue creation, the following users will be auto-subscribed:

  • Repository owner and collaborators
  • Issue creator
  • Repository watchers (if implemented in the future)

Additionally, the following events will auto-subscribe a user:

Finally, any user can subscribe or unsubscribe to an issue via a new UI element to be added on the view issue page. This UI element only appears for logged-in users

Sending Notifications

All subscribers to an issue will receive a notification for the following events:

  • Issue creation
  • Comment creation
  • Status update

Exception to above: the user who initiates the action will not receive a notification

Database Table

Issue subscriptions will be tracked in a new table

ISSUE_SUBSCRIPTION

  • USER_ID
  • REPOSITORY_NAME
  • ISSUE_ID
  • SUBSCRIBER_USER_NAME
  • REASON - e.g. author, owner, assigned, subscribed, mentioned, collaborator, watcher

UI Mockup

Example Subscribe UI Example Unsubscribe UI
gitbucket-subscribe gitbucket-unsubscribe

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
takezoecommented, Jul 25, 2017

gitbucket-notifications-plugin will be bundled in default since GitBucket 4.15.0

0reactions
marklacroixcommented, Jul 31, 2017

Thanks guys. Looking forward to having this available in 4.15. Keep up the amazing work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage Community Notifications - Higher Logic
Manage notifications for each of your communities · Set override email addresses for your notifications · Enable automatic discussion notification ...
Read more >
Subscription-based notifications - ServiceNow Docs
Subscription -based notifications enable users to proactively subscribe to items that interest them and unsubscribe from messages that are not ...
Read more >
Auto-renewable Subscriptions - App Store - Apple Developer
Provide a seamless experience for auto-renewable subscriptions in your apps. You'll receive more revenue for qualifying subscriptions after one year, ...
Read more >
Azure managed applications with notifications - Microsoft Learn
Configure an Azure managed application with webhook endpoints to receive notifications about creates, updates, deletes, and errors on the ...
Read more >
Reader Aids :: Using FederalRegister.Gov - Federal Register
Subscriptions : To subscribe to notifications look for the green “subscribe” box with the RSS and email symbols (most often off to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found