Able to customize all email templates (OD-1139)
Stanislav N. opened 3 years ago

When creating request via email (a.k.a service desk) to get requester to understand if message was received almost all other helpdesks and service desk software sends back a notification that email was received. This thing is missing from 1dev. Can it be implemented please?

  • Robin Shen commented 3 years ago

    It does send back an email including link of created issue. If issue is not created or feedback email is not sent, please check server log to see if there is any errors.

  • Stanislav N. commented 3 years ago

    Yes, for some reason I haven't received a notification for first time with no error in logs. Yet, even after fresh start, notifications about issue creation via email works.

    Then I think this issue should be renamed into requesting ability to customize template for new issues notifications as currently it sends a message with link to issue which I want to avoid as 1dev deployed on network constrained environment without access to internet.

  • Stanislav N. changed title 3 years ago
    Previous Value Current Value
    Service Desk issue creation notification (with possibility to customize email template)
    Service Desk issue creation notification - possibility to customize email template
  • Robin Shen commented 3 years ago

    The issue link will be generated based off the server url specified in system setting. Even if it does not have internet access, it should not be a problem to access the issue link I guess.

  • Stanislav N. commented 3 years ago

    Main thing about my idea is to change new issue notification template and remove that link.

    My use case here is a customer support. Customers able to submit requests via email and should get back request ID for reference (e. g. via different communication channel). And they should not get non-accessible link in such notifications.

  • Robin Shen commented 3 years ago

    I see, thanks for clarification.

  • Carlos Palavecino commented 2 years ago

    Hello, is there a way to edit the issue mail template created by helpdesk?

    I mean inside the container or even inside the code? My first language is Spanish, so I would like to edit the content and the language of this notification. Thanks

  • Carlos Palavecino commented 2 years ago

    I found the original message in "/server-core/src/main/java/io/onedev/server/mail/DefaultMailManager.java" and the messages are hardcoded within the code. Write a plugin that give us the option to customize all this messages it's complicated right? I am not an experienced developer and I don't know Java. The easy solution might be to edit the source and make my own build, right?

  • Robin Shen commented 2 years ago

    Yes, you can of course edit the source and make your own build. It should be easy just by running "mvn clean package".

    OTOH to make this task easier, I will improve OneDev to make the email template customizable. Which one do you want to customize exactly?

  • Carlos Palavecino commented 2 years ago

    That would be great, thanks!!!! In my case (my main language is Spanish, so...) I need all the email templates initially. Reviewing the code and seeing how it is implemented, I feel that perhaps it would be better to have an internationalization system, that way anyone could adjust the notifications, emails and we could include the interface in the future, an one day have onedev translated into multiple languages. If you find it interesting I could translate it into Spanish.

  • Robin Shen commented 2 years ago

    Making the interface i18n means a lot of work, both initially and for future maintenance. So this will not be considered in the near future...

    Nevertheless, I will make all email templates customizable in next release.

  • Robin Shen changed title 2 years ago
    Previous Value Current Value
    Service Desk issue creation notification - possibility to customize email template
    Able to customize all email templates
  • OneDev changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 2 years ago

    State changed as code fixing the issue is committed (1fdf1e1c)

  • OneDev changed state to 'Released' 2 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 2 years ago

    State changed as build #3927 is successful

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (2)
Watchers (6)
Reference
OD-1139
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover