Add more placeholders to service desk custom templates
requested to merge 285512-service-desk-emails-sent-using-custom-templates-don-t-include-unsubscribe-link into master
What does this MR do and why?
Add more placeholders for the Service custom templates.
Thank you email
-
%{UNSUBSCRIBE_URL}
: unsubscribe URL -
%{SYSTEM_HEADER}
: system header message -
%{SYSTEM_FOOTER}
: system footer message -
%{ADDITIONAL_TEXT}
: custom additional text
New note email
-
%{UNSUBSCRIBE_URL}
: unsubscribe URL -
%{SYSTEM_HEADER}
: system header message -
%{SYSTEM_FOOTER}
: system footer message -
%{ADDITIONAL_TEXT}
: custom additional text
Screenshots or screen recordings
Screenshots are required for UI changes and are strongly recommended for all other merge requests.
How to set up and validate locally
Unsubscribe URL
- Create a customer service desk email template
.gitlab/service_desk_templates/new_note.md
withUNSUBSCRIBE_URL
placeholder - Email the service desk to create an issue
- Respond with a comment on the issue
- Observe the 'unsubscribe' link in the response email
System header and footer
- Create a customer service desk email template
.gitlab/service_desk_templates/new_note.md
withSYSTEM_HEADER
andSYSTEM_FOOTER
placeholders - Enable header and footer in emails
- Email the service desk to create an issue
- Respond with a comment on the issue
- Observe the system header and footer in the response email
Custom additional text
- Create a customer service desk email template
.gitlab/service_desk_templates/new_note.md
withADDITIONAL_TEXT
placeholder - Add custom additional text
- Email the service desk to create an issue
- Respond with a comment on the issue
- Observe the custom additional text in the response email
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #285512 (closed)
Edited by Mykhailo Maisdanskyi