#1438  Add an option to send new issue notification to the reporter
Closed
Artur opened 10 months ago

Right now 1dev sends email notifications about new issue or issue updates to all except the person who created or changed the issue. This is fine in most cases.

However, in one of our projects we use 1dev as a helpdesk platform and we integrate 1dev with our external system through API. So a user fills the form in our external system and then the system connects to 1dev over rest api to create the issue. In this scenario it would be very useful to send an email about the new issue to the user who reported the issue. Just as a confirmation that the ticket has been opened and our team will look at it.

Could you please, add an option to allow emails notifications for the issue reporters?

Robin Shen commented 10 months ago

Thanks for telling me the usage scenario. Will add this in a patch release later.

Artur commented 10 months ago

Thanks a lot!

Robin Shen commented 10 months ago

I am investing this, and feel that it is more appropriate to put logic of notifying user of created issue in the place where you can calling OneDev api to create issue.

This is so as OneDev api is only responsible to create the issue and return id of created issue, and api caller decides what to do with the newly created issue, including notifying user. For instance, the help desk system in OneDev notifies user of issue link when create issue from mail inbox.

To do this, you can continue to call issue api to get issue basic info with returned issue id, and construct issue link from issue number in issue basic info.

Robin Shen changed state to 'Closed' 10 months ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (5)
Reference
onedev/server#1438
Please wait...
Page is in error, reload to recover