OK, I have a couple of related issues. It's possible that some of the things I want to do are already there and I just can't figure out how to set them. It's also possible that they're not possible right now, in which case, consider this a feature requests.
Just to give a quick bit of background on the site -- it's basically a project that a couple of friends are working on, nothing commercial, nothing fancy. We installed the Support Ticketing System because we anticipate that we will start receiving quite a lot of e-mail with questions and such, and so STS will allow us to easily keep track of which ones have already been responded to by which admins. For our purposes, we would prefer it if users are not (or barely) aware that there is even a helpdesk installed; it would be great if for their purposes they just see an e-mail response to their query, and didn't even know that the system had actually opened a support ticket for them. As such, it is currently set up so that regular authenticated users can't even access STS from Drupal at all; the only way they can create a ticket is by sending e-mail to a specific address.
So here's some of the problems I have run into with this:
1) User sends mail to the specified address. Mail gets downloaded into STS. A new ticket is created. That works fine. The admins, who are auto-subscribed to the ticket, get an e-mail saying that there is a new ticket. Also fine. The user does not get an e-mail saying a ticket was created for them. That is indeed how I'd prefer it to be; also fine.
However, the user does not get any e-mails when one of the admins responds to their ticket. (The auto-subscribed admins do, so it is not an issue with sending mail.) This is something essential that needs to happen, because the user cannot access STS except by e-mail, so unless they get an e-mail they will not know there was an update. It is worth noting that the user is not auto-subscribed to their ticket, which I didn't do because I didn't want them to be sent a notification that a new ticket was created (which is what I assume would happen).
2) E-mail customization. I am guessing this is not currently possible without hacking the code and would therefore be a feature request. It'd be nice if the admins can configure how e-mails are outputted, and to be able to specify different formats for regular notifications, and ones that are sent to the creator of the ticket. The way e-mails are currently formatted, it looks like a lot of technical gibberish, which is fine for the admins, but I'd prefer for the users creating the tickets to get a much more 'human' response.
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | comments.png | 18.51 KB | coloryan |
| #21 | permissions.png | 38.66 KB | coloryan |
| #8 | autosubscribe.patch | 2.9 KB | Anonymous (not verified) |
Comments
Comment #1
jeremy commented> However, the user does not get any e-mails when one of the admins responds to their ticket.
Users will only receive emails if they are subscribed to the ticket. That is what subscription is.
> 2) E-mail customization.
Directions on how to do this are provided in the MAIL.txt document that comes with the support module.
When creating tickets, please limit them to one topic apiece -- when you cram multiple topics into one issue, it quickly becomes confusing for all involved.
Comment #2
xiehan commentedActually, going through the settings again, let me rephrase since I misstated myself in #1;
I did not explicitly change settings to auto-assign the creator to their own tickets.
The admins are auto-subscribed to all tickets for the client.
I did not find an option to automatically auto-subscribe a user to the tickets they create.
When I went to look at the global settings just now, I found
(which is checked, but that is irrelevant) Does that indicate that the user creating the ticket should always be automatically subscribed?
Because they're not, and that seems to be why they aren't getting any e-mail notifications.
Comment #3
jeremy commented> Does that indicate that the user creating the ticket should always be automatically subscribed?
> Because they're not, and that seems to be why they aren't getting any e-mail notifications.
Yes, I will see if I can duplicate that. That would be a bug. But note that when this is working correctly, they will also get a notification when the ticket is first created, not just when it is later updated.
Comment #4
timl commentedcan confirm I'm having this issue as well with support-6.x-1.x-dev.tar.gz
Comment #5
timl commentedIn support_save_message()
The corresponding section in nodeapi is as follows:
created_by_email not carrying through?
Comment #6
Anonymous (not verified) commentedI'm not 100% positive, but it appears that this may be due to some permission checking that is called from within support_subscribe_user
Line 670, within support_nodeapi, tries auto-subscribe the ticket creator via a call to support_subscribe_user
Line 1297, within support_subscribe_user, tries to verify the user is able to access the 'client' via a call to support_access_clients
Line 380, within support_access_clients, returns if a given account (e.g. the newly created ticket author) has access to 'administer support' or 'access tickets' -- of which a newly created ticket author has neither.
Comment #7
neubreed commentedI am also having this issue. I can't even subscribe the original creator and thus unable to respond to their email.
Comment #8
Anonymous (not verified) commentedHere's my very hacky patch to force the auto-subscribe to happen...
I don't recommend using the patch in production, but it's useful for testing.
Comment #9
darrenj1 commentedhi, have you had much luck with the patch? Ive been trying to get this support module up and running for weeks but cant code things myself, can you let me know if it works?
Comment #10
Ghostthinker commentedThe patch works - but not with current head. Manually appling works fine for me
Comment #11
coloryan commentedYes, I'll confirm that the patch works. Manually applied and it did exactly what I was hoping for.
Comment #12
namalik commentedThanks for the patch.. I have patched support 6.x-1.3 and it works... however, i keep on getting PHP internal server errors when i run cron job or add new comments to a ticket.. However, very few times after couple of retries the error does not come... When i update the support.module with the original file (the unpatched one), these errors are gone.. Hence cannot put it in the production env.. Any one else facing the same issue.???
Comment #13
namalik commentedI have even tested the version 6.x-1.x-dev as of today and the bug is still in there.. The users who create a new request by email do not get subscribed to the ticket notification, even if we have 'Prevent user creating or updating ticket from unsubscribing' checked in the setting page. Hence they do not get an email that the request is created, or any updates..
Comment #14
coloryan commentedSorry, I can't reproduce the error. My system is live and running well.
Comment #15
namalik commentedI think you are creating a request by logging in with a user. Have to tried creating a request by sending an email.. where the support module add a new user (if he/she does not already exist) to the durpal system, and creates a new ticket. Now, at this stage, the support module should also subscribe this user to the new ticket, since he/she is the one who has created it. This is precisely what is not happening. If you are using the support module with integrated email, can you please test this above mentioned scenario and let us know the result? Many Thanks..
I am not wondering if perhaps the other people who are unable to reproduce this error are trying to reproduce it by creating the ticket from the support module itself instead of sending an email. Also, the title of this Issue does not mention that this issue is specific to the setup where email is integrated. Perhaps i should try to change the title.
Comment #16
namalik commentedI have changed the subject to clarify the issue/bug.
Apart from this bug, however, the original issue creator apparently also have another requirement of an option of making the ticket creator/author (through email) only get the update email messages (notification) and not the initial new ticket email message (notification). Thus, the original issue creator is requested to create another issue request regarding the same, which i believe will be categorized as future request (instead of a bug), as this particular issue entry is now focused to address the bug.
Comment #17
coloryan commentedMy request comes from an email sent from the contact form, not a user.
Comment #18
namalik commentedDear All,
I think I found the solution..
go to /admin/user/permissions and enable 'access ' for the 'authenticated user' column. This will enable the notifications to be sent to the user email that originally created the ticket (since that user is authenticated user and needs to have the permission to access any property of the ticket (notifications in our case).
Comment #19
namalik commentedAlthough giving the permission to 'access client tickets' to the authenticated users does solve the problem of emails being sent to/received by the email based ticket creators, however, doing so enables the names of these users to appear in the assigned drop down list of the tickets, as if these users could be assigned the tickets to find a resolution.
Perhaps the permission entry 'access client tickets' mean:
1) Only the users with the permission entry 'access client tickets' can be subscribed to the the tickets (or any thing other access).
2) The users with the permission entry 'access client tickets' fall into the group of users that can provide support to solve the tickets.
What do you all think is the right solution to this problem? I have been thinking a lot on this and came up with the following possible solution (from the functional aspect), but I am not sure if it is practical and can be implemented from the technical perspective. I will mention it over here, and if it is not correct, at least it will give some material to think about for progress:
- Email based ticket creators get the 'access client tickets' permission automatically assigned to them.
- Only users with the additional and new 'can be assigned tickets' permission will have their name appear in the assigned dropdown list for tickets. Of course for this to work, the users must also have the permission of 'access client tickets'. Other users with only 'access client tickets' and not the 'can be assigned tickets' permission will not be able to be assigned the tickets.
Suggestions?
Thanks..
Comment #20
namalik commentedYep, tested further.. and I think user having permission to 'access client tickets' and being able to get assigned ticket is not correct.. There should be another permission for users that can be assigned the tickets.. In the current scenario where i have given the access client tickets permission to all authenticated users, the email based ticket creators do get the email notification, however , if i have 5 support staff, and 50 users/customers, and all of them are listed in the assign dropdown list.. when instead only 5 support staff should have been listed.
Comment #21
coloryan commentedhere are two screenshots. One of my permissions, the other of a comment field (those are only my employees, and there are currently 96 users in the database. Those 96 comprise of both employees and support ticket people. The ticket people fill out a webform, it's POP'd into the support module, and replied to from there.
My clients include three or four email addresses (general, reservations, accounting, marketing, tech, etc...)
That's about all I can offer, hope that it helps.
Comment #22
alfthecat commentedHi,
I'd be in favor of the second option. Access tickets resulting in updates being sent to the email address that created the ticket, and the permission of 'can be assigned tickets' preventing all available Drupal users from appearing in the 'assign to' list.
Comment #23
namalik commentedLet me now present the other option which is the default and part of the original specifications. After proposing a change in functional specification (Above), and playing with the module for a while, i am now tilting back to the original specifications. The original specification seems to be simple:
- All email based ticket creators get subscribed to the notification for that new ticket (i believe this is not working at the moment, and can be fixed with the patch provided by mankind)
- 'Access client permission' is meant for the client support staff, and all users with this permission get their names in the assigned dropdown list (i think this is working fine).
So in all and all, if above is the original functional specification, perhaps only fixing this bug will solve the problem.
What do you all think?
Comment #24
rsevero commented@namalik in #23:
This could work but in this case the documentation should explain that 'Access client' permission actually means the user will access this clients tickets AND be included in the assignable users list for that client.
Comment #25
iler commentedSo has there been any progress in this automatic subscription issue?
Comment #26
jeremy commentedUpdating version and priority. Still needs to be resolved.
Comment #27
alfthecat commentedPatch from #8 no longer seems to be valid with the lates 6.x dev (from dec. 1)
I tried it and got:
patching file support.module
Is there any advice to get the functionality working, so that ticket updates are sent to the email authors?
Thanks in advance!
Comment #28
mahimajulka commentedsubscribing ..
Comment #29
tnfno commentedWas this bug never fixed? I have the same problem now in 7.x and it makes the module pretty useless when the customer who mails in the ticket never gets any notifications.
Comment #30
murugan11 commented#21 how to so all active user in the assigned drop down list...Right now its showing admin only
Comment #31
capfive commentedis this going to be fixed? I am also having issues in this, I can't even subscribe the creator of the ticket...
Comment #32
capfive commentedChange to 7.x-1.x-dev due to the age of the old issues
We have the user being subscribed when the email gets fetched, but once a comment is applied the user isn't subscribed anymore
Comment #33
jvdkolk commentedSo the solution for me (or better: a workaround) was to give Authenticated User all 'Access tickets' permissions.
As our clients only communicate via e-mail, this is ok for us.
The only thing is that we should remember to grant a new permission for each new Support client added.
Comment #34
ilclaudio commentedThank you koosvdkolk your workaroud helped me too with Drupal 7.50.
Howerver I still have a problem with this module.
With this permission enabled, when a visitor opens a ticket he (the visitor) receives a notification.
When an operator submits the first response the visitor receives another email.
And this is good.
If the visitor replies to this email, the system captures and associates the message to the right thread.
But if an operator replies to the ticket for the second time, no emails arrive to the visitor.
So it seems that only the first response is redirected to the person that opened the ticket.
Has anybody had the same problem?
Thank you
cld
Comment #35
glennnz commentedUpdated version.
I'm running this on D7.67 with automatically being correctly assigned to the ticket, the user automatically being created, but NO notification emails going to the email creator of a ticket.
Comment #36
glennnz commentedUpdate.
If I add 'Authenticated User' to the 'Access client_name Tickets' permission, notifications begin to arrive.
I'll test further to see that they continue to arrive.
Comment #37
sibro commentedI am unable to find Access client_name Tickets Do I need a patch I am at 7.x-1.0-rc2+0-dev. Notification to requester is very important
Comment #38
purencool commented