How to detect re-opening of ticket
Moderator: crythias
How to detect re-opening of ticket
Hi!
I would like to send a notification to a customer, when she or he re-opens a closed ticked (for example replies on e-mail, after ticket is closed).
Any idea how to configure Notification (Event) to do this?
State update is not an option, because the same event happens when new ticket is updated from new to open state.
Or maybe another question: how to detect a new ticket is being updated to open state. I need both notifications, but with different text in e-mail.
Thanks!
Peter
I would like to send a notification to a customer, when she or he re-opens a closed ticked (for example replies on e-mail, after ticket is closed).
Any idea how to configure Notification (Event) to do this?
State update is not an option, because the same event happens when new ticket is updated from new to open state.
Or maybe another question: how to detect a new ticket is being updated to open state. I need both notifications, but with different text in e-mail.
Thanks!
Peter
OTRS 2.4.7 with ITSM 2.0.3. running on Linux Fedora 12
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
TicketStateUpdate in Notification (Event) does indeed allow you to choose what to do when a ticket state is open (or closed...)
In the sysconfig, Config Options: Ticket -> Core::PostMaster
PostmasterFollowUpStateClosed:
The state if a ticket got a follow-up and the ticket was already closed.
Let's say there is a new state called reopened ... define it as a TYPE of open but add it in Admin Status and write it in the box above as well. You'll also probably want to add it in Config Options: Ticket -> Core::Ticket
Ticket::ViewableStateType:
State types for a ticket to display.
Now you have a TicketStateUpdate that you can check, which should only be triggered by FollowUpState after a ticket is closed.
In the sysconfig, Config Options: Ticket -> Core::PostMaster
PostmasterFollowUpStateClosed:
The state if a ticket got a follow-up and the ticket was already closed.
Let's say there is a new state called reopened ... define it as a TYPE of open but add it in Admin Status and write it in the box above as well. You'll also probably want to add it in Config Options: Ticket -> Core::Ticket
Ticket::ViewableStateType:
State types for a ticket to display.
Now you have a TicketStateUpdate that you can check, which should only be triggered by FollowUpState after a ticket is closed.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: How to detect re-opening of ticket
This is really helpfull. Thanks a lot! I knew I should do something with states, but didn't know exactly what!crythias wrote:TicketStateUpdate in Notification (Event) does indeed allow you to choose what to do when a ticket state is open (or closed...)
In the sysconfig, Config Options: Ticket -> Core::PostMaster
PostmasterFollowUpStateClosed:
The state if a ticket got a follow-up and the ticket was already closed.
Let's say there is a new state called reopened ... define it as a TYPE of open but add it in Admin Status and write it in the box above as well. You'll also probably want to add it in Config Options: Ticket -> Core::Ticket
Ticket::ViewableStateType:
State types for a ticket to display.
Now you have a TicketStateUpdate that you can check, which should only be triggered by FollowUpState after a ticket is closed.
OTRS 2.4.7 with ITSM 2.0.3. running on Linux Fedora 12
-
- Znuny newbie
- Posts: 4
- Joined: 31 Jan 2011, 16:06
- Znuny Version: 2.4
Re: How to detect re-opening of ticket
What if i wanted to keep the closed ticket closed, but create a new ticket linked to the original? Is this something that could be accomplished easily?
-
- Znuny newbie
- Posts: 10
- Joined: 21 Jun 2011, 18:32
- Znuny Version: 3.0.8
- Real Name: Varga Viktor
- Company: Netlock
Re: How to detect re-opening of ticket
Yes, you can set it. 

-
- Znuny newbie
- Posts: 27
- Joined: 05 Jul 2011, 14:57
- Znuny Version: 2.4.9
- Real Name: George Elisha
- Company: QLogy Management Services Pvt Ltd
Re: How to detect re-opening of ticket
Hi Crythias,crythias wrote:TicketStateUpdate in Notification (Event) does indeed allow you to choose what to do when a ticket state is open (or closed...)
In the sysconfig, Config Options: Ticket -> Core::PostMaster
PostmasterFollowUpStateClosed:
The state if a ticket got a follow-up and the ticket was already closed.
Let's say there is a new state called reopened ... define it as a TYPE of open but add it in Admin Status and write it in the box above as well. You'll also probably want to add it in Config Options: Ticket -> Core::Ticket
Ticket::ViewableStateType:
State types for a ticket to display.
Now you have a TicketStateUpdate that you can check, which should only be triggered by FollowUpState after a ticket is closed.
I have done all the above stated but still I couldnt re-open the close ticket.. I would appreciate if you could point out the probable reasons??
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
The queue followup possible setting might be reject or new. (in admin, queue)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 27
- Joined: 05 Jul 2011, 14:57
- Znuny Version: 2.4.9
- Real Name: George Elisha
- Company: QLogy Management Services Pvt Ltd
Re: How to detect re-opening of ticket
Hi Crythias,crythias wrote:The queue followup possible setting might be reject or new. (in admin, queue)
Thank you very much for your quick reply.. But, New ticket is getting created instead of reopening the ticket.. please help..
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
read my answer again.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 27
- Joined: 05 Jul 2011, 14:57
- Znuny Version: 2.4.9
- Real Name: George Elisha
- Company: QLogy Management Services Pvt Ltd
Re: How to detect re-opening of ticket
I selected possible itself..Its testing error on my end..
Thanks a lot Crythias its working..

Re: How to detect re-opening of ticket
OK, I get it that it CAN be configured, but HOW? So, I changed "PostmasterFollowUpStateClosed" to "closed", but the an email with the ticket hook and ticket number in the subject does not open a new ticket, and updates the closed ticket. Help, please.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
Already answered in this topic. Followup possible in the queue.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: How to detect re-opening of ticket
OK, I don't mean to appear stupid here; however, I do not see a concise answer on how to do the setup on this.
From what I gather from this thread the following are the steps required to have OTRS create a new ticket when receiving an email follow-up of an existing ticket that is closed:
1. Core::PostMaster -> PostmasterFollowUpStateClosed = closed
...
I am not sure what to do after that.
From what I gather from this thread the following are the steps required to have OTRS create a new ticket when receiving an email follow-up of an existing ticket that is closed:
1. Core::PostMaster -> PostmasterFollowUpStateClosed = closed
...
I am not sure what to do after that.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
Don't look at SysConfig. Look at the queue.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: How to detect re-opening of ticket
Um, yeah, I see it now. Thanks.
So, for posterity, I will will re-iterate what I believe to be the use of the settings:
To disallow follow-ups on closed tickets, set the "Follow up Option" for a queue to either "Reject" or "New ticket". The "Reject" setting will cause a "new ticket rejection" message to be sent to the sender, and the "New ticket" option will cause an entirely new ticket to be opened.
Please, correct me if I have incorrectly described the situation.
So, for posterity, I will will re-iterate what I believe to be the use of the settings:
To disallow follow-ups on closed tickets, set the "Follow up Option" for a queue to either "Reject" or "New ticket". The "Reject" setting will cause a "new ticket rejection" message to be sent to the sender, and the "New ticket" option will cause an entirely new ticket to be opened.
Please, correct me if I have incorrectly described the situation.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
Only if there is a reject auto-response attached to the queue.caiblack wrote:The "Reject" setting will cause a "new ticket rejection" message to be sent to the sender
Yes.caiblack wrote:the "New ticket" option will cause an entirely new ticket to be opened.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 5
- Joined: 15 Sep 2011, 11:22
- Znuny Version: 3.0.8
- Real Name: Stefano Coletta
- Company: Unidata
Re: How to detect re-opening of ticket
Hello,
I've a further question on this topic.
In addition to reopen on followup, I would like to limit the time-frame a user can do it.
Example:
1. The user opens a ticket on day 1
2. The agent closes the ticket on day 2
3. The user re-opens the ticket on day 3
4. The agent closes the ticket again on day 4
Until now, it's all fine.
5. The user re-opens the ticket on day 20
That's the problem.
I would like the user is permitted to re-open tickets only for a configurable time-frame (ie. two weeks after it is closed). After that time-frame, a new ticket should be created.
Do you know if I can configure OTRS this way?
I'm using Otrs 3.0.11.
Thanks in advance!
Greetings,
Stefano Coletta
I've a further question on this topic.
In addition to reopen on followup, I would like to limit the time-frame a user can do it.
Example:
1. The user opens a ticket on day 1
2. The agent closes the ticket on day 2
3. The user re-opens the ticket on day 3
4. The agent closes the ticket again on day 4
Until now, it's all fine.
5. The user re-opens the ticket on day 20
That's the problem.
I would like the user is permitted to re-open tickets only for a configurable time-frame (ie. two weeks after it is closed). After that time-frame, a new ticket should be created.
Do you know if I can configure OTRS this way?
I'm using Otrs 3.0.11.
Thanks in advance!
Greetings,
Stefano Coletta
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to detect re-opening of ticket
In this case, I'd say no. The alternative to this is to set a pending auto-close for 20 days and not allow followups.
Certainly, it's likely to be able to be created as a programmed postmasterfilter (separate file, not through gui).
Certainly, it's likely to be able to be created as a programmed postmasterfilter (separate file, not through gui).
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask