-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement: addition of a custom ticket prefix #1386
Improvement: addition of a custom ticket prefix #1386
Conversation
Sorry, a copy & paste fail - basically |
@chilek, this has been fixed. |
@miknowak: RT# is not harcoded from some time. You can always use configuration variable settings to format notifications and thus adjusting them to your requirements/needs.
%tid could be converted to %[sprintf_like_symbols]tid as for example: Any way thanks for contribution - it is seldom seen for LMS project ;-) |
@chilek, I understand what these vars are for, don't get me wrong and its not just the notifications that I am concerned about. My primary concern is that the following line has an
Hope this makes sense now, and puts this PR into perspective for you. Sure, no problem re the contributions :) |
@mikenowak I seen now! Let's change it to phpui.helpdesk_ticket_prefix with %tid substitution symbol value. It'll allow to customize format for user. For example: |
Perhaps we should go further and allow to format whole subject this way: |
@chilek, ok so as discussed in #1380, I will be implementing this as phpui.helpdesk_notification_ticketid_format. I will stick to the ticketid format only, and ignore the %subject just as you've described in the below comment sourced from #1380.
|
I lost focus on why we were making these changes, so I dediced to go back and look at this issue again. I found that the real reason why the email replies are not linked to existing tickets is becasue both of the below checks in
On this one it turns out that the References header in the original email from LMS has a value of
Next, which is what has been already discussed here.
This fails because my |
Which original post do you mean?
Will you describe your test scenario? |
* phpui.helpdesk_message_keep_original_title - controls whether the replies to helpdesk messages should always use the subject of the original message (1st one received) * phpui.helpdesk_message_mail_subject - allows to specify a custom message subject in helpdesk (i.e. [ISP#%tid] %title)
@chilek, can we merge this please? |
Could You also use newly added ticket prefix in PR? |
This is done by now. The code contains |
Currently the
RT#
ticket prefix is hardcoded, so these of us who would like to use a custom one are out of luck. This PR adds support for specifying custom ticket prefix viart.ticket_prefix
.For completeness, I want to clarify that that the users willing to take a full advantagage of this would also need to adjust
helpdesk_notification_mail_subject
accordingly.