I apologize if this feature exists and I simply overlooked it.

My staff members will primarily respond/comment tickets through email subscriptions and not through Drupal. Is there a way for staff to change a ticket's status from active -> resolved? Perhaps at the beginning of a reply body-text?

Comments

jeremy’s picture

Nope, this is not currently possible. Leaving open as a feature request.

bdragon’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Assigned: Unassigned » bdragon
Status: Active » Needs review
StatusFileSize
new1.19 KB
new7.76 KB

I've been working on bugzilla style @-commands for support.module as a Tag1 internal project.

Here's the current state of the patch, which I will review with Jeremy.

bdragon’s picture

Of course, I *just* missed all the changes Jeremy was making in support_timer today, so I already need to reroll. ;)

jeremy’s picture

Status: Needs review » Needs work

Thanks! Patch committed:
http://drupal.org/cvs?commit=473632
http://drupal.org/cvs?commit=473628

This new feature/module needs to be documented. Perhaps as an update to MAIL.txt, at minimum simply listing all tokens that can be updated via email, as well as a couple of examples? Also, please provide an inline example of how to update the ticket status via email with this new module, the original request of this ticket.

bdragon’s picture

Status: Needs work » Needs review
StatusFileSize
new7.47 KB

* Disable @client because the rest of the system doesn't cope with it well.
* Add @status as a synonym of @state because I'm sure it will be typoed that way a lot.
* Add more access checks to match the form version. (missed the conditional display stuff on the form)
* Add "unassign" / "unassigned" to @assigned.
* Update CHANGELOG.txt / MAIL.txt.

How to update status with this:

With support_mailcmd.module enabled, you can change metadata on the ticket by putting a list of key / value pairs at the top of the email in @key = value format, one per line.

From: reporter@example.com
Subject: Example ticket

@state = resolved

The problem should be fixed now.

This assumes the account associated with the sender of the incoming email has permission to make that change.

jeremy’s picture

Status: Needs review » Fixed

Excellent cleanup, thanks!
http://drupal.org/cvs?commit=474360

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.