automatically close ticket

Moderator: crythias

Post Reply
steeman
Znuny newbie
Posts: 67
Joined: 22 May 2013, 11:35
Znuny Version: 3.3.2
Real Name: Philip Steeman
Company: VIVES

automatically close ticket

Post by steeman »

Is it technical possible to close a ticket when you choose one specific answer template (with a self written perl module)?
Can you catch such an event (which one)? Can you test which template is used? ...

Thanks for some tips.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: automatically close ticket

Post by crythias »

Really? Version 3.x? I'd strongly suggest upgrading.

The gist of the URL adds all the fields to be filled. If you know the StateID of your closed state, you can append that on the URL.
http://OTRS.DOMAIN/otrs/index.pl?Challe ... &StateID=2

There are multiple parts with regard to this.
1) You want to close the ticket. If you don't want to send the customer a customized email, you might just close the ticket under Close. Make sure the closure is note-external/visible to customer and then use a generic autonotification that the ticket is closed.
2) You want to reply but in choosing a specific reply, it sets a state... see above

Also though this might have already been addressed: viewtopic.php?t=38844
(Maybe not....)
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
steeman
Znuny newbie
Posts: 67
Joined: 22 May 2013, 11:35
Znuny Version: 3.3.2
Real Name: Philip Steeman
Company: VIVES

Re: automatically close ticket

Post by steeman »

No it is recent version 6.0.27

My question was the following.
if I send one specific answer, can I close the ticket without manually setting the next ticket state to 'closed succesfully'?
The reason: it happens regularly that a agent choose 'close answer' but forgets to set the next ticket state to 'closed succesfully'.

PS: not a real problem, but it would be a small improvement.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: automatically close ticket

Post by jojo »

there are add ons on the market for this usecase
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: automatically close ticket

Post by skullz »

steeman
Znuny newbie
Posts: 67
Joined: 22 May 2013, 11:35
Znuny Version: 3.3.2
Real Name: Philip Steeman
Company: VIVES

Re: automatically close ticket

Post by steeman »

Thanks
didn't know of this site.

Philip
Post Reply