webissues icon indicating copy to clipboard operation
webissues copied to clipboard

Feature Request: Auto-Subscribe to Self-Posted Issues - Thank You!

Open samtto opened this issue 11 months ago • 4 comments

Is it possible to add a feature that automatically subscribes users to issues they create? This way, if someone replies to an issue, the creator can receive an email notification immediately. Thank you very much!

samtto avatar Feb 14 '25 02:02 samtto

You can configure a personal alert using a "Created by Me" view and you will receive notifications about all replies and modifications made by other users.

mimecorg avatar Feb 17 '25 09:02 mimecorg

You can configure a personal alert using a "Created by Me" view and you will receive notifications about all replies and modifications made by other users.

I am very happy to receive your reply. As the person in charge of the operations and maintenance team, I regard the issues recorded by my team members as a knowledge base, which I would like to share with other team members. However, it is regrettable that not everyone is able to document these anomalies effectively. Therefore, after the members have recorded them, I will provide some feedback. I hope that they can receive email notifications regarding the content of my replies. This is a rather urgent requirement. Thank you.

samtto avatar Feb 17 '25 12:02 samtto

With the help of AI, the above issue has been resolved.

// 自动订阅当前用户到该问题
        $subscriptionManager = new System_Api_SubscriptionManager();
        $currentUserId = System_Api_Principal::getCurrent()->getUserId();
        $subscriptionManager->addSubscription( $issue, $currentUserId );

        $result[ 'stampId' ] = $stampId;

samtto avatar Mar 03 '25 08:03 samtto

Great

With the help of AI, the above issue has been resolved. // 自动订阅当前用户到该问题

Great. In order to help others who are not very familiar with web programming, could you perhaps post exactly what is the change you are proposing and in which file? Preferably in English?

Thanks.

gh658804 avatar May 27 '25 07:05 gh658804