how to set default ticke tytpe on a new phone ticket?

Moderator: crythias

Locked
ccummings
Znuny newbie
Posts: 35
Joined: 16 Aug 2012, 18:55
Znuny Version: 3.1.8
Real Name: Craig
Company: IIT

how to set default ticke tytpe on a new phone ticket?

Post by ccummings »

How can I set the default ticket type on the new phone ticket page?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: how to set default ticke tytpe on a new phone ticket?

Post by crythias »

If you're asking this question, you're probably not using Type properly.
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: how to set default ticke tytpe on a new phone ticket?

Post by crythias »

Or, better stated: you could use a javascript hack to set this.
More to the point, Dynamic Fields is better suited for that purpose.
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
ccummings
Znuny newbie
Posts: 35
Joined: 16 Aug 2012, 18:55
Znuny Version: 3.1.8
Real Name: Craig
Company: IIT

Re: how to set default ticke tytpe on a new phone ticket?

Post by ccummings »

Can you elaborate? I'm trying to to use it to define 2 types of tickets...Incident and Change Request...similar to what is shown in the attached screenshot from OTRS Agent and Key User Training Module 4.

I want it to default to Incident since most of our tickets will be Incidents vs. Change Requets.
ticket type.png
You do not have the required permissions to view the files attached to this post.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: how to set default ticke tytpe on a new phone ticket?

Post by crythias »

OK, I stand corrected but still you can drop this at the bottom of your .dtl

Code: Select all

<script type="text/javascript">
document.getElementById('TypeID').selectedIndex = '2';
</script>
where "2" varies according to what makes sense for your implementation.
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
ccummings
Znuny newbie
Posts: 35
Joined: 16 Aug 2012, 18:55
Znuny Version: 3.1.8
Real Name: Craig
Company: IIT

Re: how to set default ticke tytpe on a new phone ticket?

Post by ccummings »

Thank you! Worked like a charm. :-)
Locked