Ticket with Pre filled values

Moderator: crythias

Locked
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Ticket with Pre filled values

Post by flippertom »

How can we create a ticket with some values prefilled. Mainly the queue and attachment.
I have seen the concept of templates in OTRS. But it seems that you can have only one ticket template (or am I wrong?Can we create multiple templates?).
And can have hardcoded attachment in the template?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Ticket with Pre filled values

Post by crythias »

No, and also this is a bad user experience to include an attachment with every new ticket. It would be better to include a link to the file. Also you don't want to clog your database with this attachment multiple times, do you?
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
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Ticket with Pre filled values

Post by reneeb »

There is a addon: http://feature-addons.de/otrs/Ticket/TicketTemplates

With that addon you can prefill several fields (including attachments)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Re: Ticket with Pre filled values

Post by flippertom »

crythias wrote:No, and also this is a bad user experience to include an attachment with every new ticket. It would be better to include a link to the file. Also you don't want to clog your database with this attachment multiple times, do you?
You are right. I'm going with the approach as you said..including the link instead of the attachment.
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Re: Ticket with Pre filled values

Post by flippertom »

reneeb wrote:There is a addon: http://feature-addons.de/otrs/Ticket/TicketTemplates

With that addon you can prefill several fields (including attachments)
Thank you!...will explore this option. Have decided not to go with the attachments part...but for other fields which are repeatedly used this seems like a useful add-on.
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Ticket with Pre filled values

Post by wurzel »

Hi,

you can use the "Templates" of OTRS4 to get predifined articles with (or without) attachements.

Another possibility is to use URL Actions for this
http://blog.otrs.org/2010/11/02/otrs-3- ... nt-page-1/

I never managed to get both things working together.

For REAL Templates I use the add on which was mentioned by reneeb

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Locked