Create ticket with default SLA
Moderator: crythias
-
- Znuny newbie
- Posts: 16
- Joined: 11 Dec 2010, 22:13
- Znuny Version: 3.1.11
Create ticket with default SLA
I want to create ALL new tickets with a default SLA (ie, Standard) for all my customers. The Agent can choose a HighPriority SLA for business critical LOB applications/incidents, but otherwise, I want ALL new tickets to be assigned an default SLA.
Currently, it will show me the list of SLAs to choose from, but I don't want the Agent to "not select" a SLA. When we create a ticket now, the default entry is "-".
How do I force a specific SLA for all tickets?
Currently, it will show me the list of SLAs to choose from, but I don't want the Agent to "not select" a SLA. When we create a ticket now, the default entry is "-".
How do I force a specific SLA for all tickets?
ksbuchanan
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Create ticket with default SLA
Hi,
create a Postmaster-Filter and fill the correspondig fields:
here is an example which should help you
create a Postmaster-Filter and fill the correspondig fields:
here is an example which should help you
You do not have the required permissions to view the files attached to this post.
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny newbie
- Posts: 16
- Joined: 11 Dec 2010, 22:13
- Znuny Version: 3.1.11
Re: Create ticket with default SLA
Sorry, let me clarify.
If a ticket is created by an agent, how do I force the SLA to a specific/default SLA? Currently, it defaults to "-".
Thanks!
If a ticket is created by an agent, how do I force the SLA to a specific/default SLA? Currently, it defaults to "-".
Thanks!
ksbuchanan
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
Re: Create ticket with default SLA
How can you set an SLA to their service?
IE
3 Services, and each service has 2 unique SLA's, how can one force a default SLA for each service when the ticket comes in? I am thinking i need to reference the email address from with services for that email address, then set sla, but how?
cheers
IE
3 Services, and each service has 2 unique SLA's, how can one force a default SLA for each service when the ticket comes in? I am thinking i need to reference the email address from with services for that email address, then set sla, but how?
cheers
-
- Znuny newbie
- Posts: 16
- Joined: 11 Dec 2010, 22:13
- Znuny Version: 3.1.11
Re: Create ticket with default SLA
kmdot wrote:How can you set an SLA to their service?
IE
3 Services, and each service has 2 unique SLA's, how can one force a default SLA for each service when the ticket comes in? I am thinking i need to reference the email address from with services for that email address, then set sla, but how?
cheers
I'm beginning to think that creating a default SLA is impossible! I figured out how to do it it is submitted by e-mail, but 90% of our tickets are created by a phone call to the helpdesk. OTRS is good at many things, but isn't great. The ticket search function is very unpredictable, and the ability (or inability) to create a default SLA is nothing but astounding!! I guess someone will blast me and tell me "its open source...create your own module" or some BS like that. I still like OTRS, enough that I wouldn't replace with anything else I have seen (including paid/commercial applications). I just don't understand why a default SLA is like the Abominable Snowman!
ksbuchanan
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
v3.3.5 on Windows 2008r2 64-bit
Agent Auth: Windows LDAP
Customer Auth: Windows LDAP
Customer DB: Windows LDAP
Apache webserver
MYSql DB server
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Create ticket with default SLA
(the following is based upon 2.4 information, but may be applicable to 3.0)
The short answer: Set PossibleNone=>0 wherever it's requested for SLAs in each .pm you need it (AgentTicketPhone.pm and AgentTicketEmail.pm at minimum).
How did I get there?
First, for anyone else who's following along, SLAs are tied to services (many services to each SLA) and services are tied to customers, but customers are not tied to SLAs. This kinda stinks, because (if I understand the terminology properly) a customer is expecting an SLA for a specific service. ... the agreement is that the service will be performed at X level. But OTRS has the ability to provide multiple levels of agreements per service. ... The best way to work around that limitation is to create a specific SLA/Service pair which would apply to the customer.
When the Service is ajax-looked up, it is based upon the Customer <-> service mapping, and based upon the service chosen (not the customer), the SLA has an Ajax-lookup which starts with (-).
So... where is this list?
It comes from $Data{"SLAStrg"} in the .dtl files
each .dtl refers to a Modules/something.pm that calls
$Self->{LayoutObject}->BuildSelection(
Data => $Param{SLAs},
Name => 'SLAID',
SelectedID => $Param{SLAID},
PossibleNone => 1,
Sort => 'AlphanumericValue',
Translation => 0,
Max => 200,
This is called from Kernel::Output::HTML::Layout.pm
mostly, look for BuildSelection ...
Seems there's something that allows SelectedValue .. eh.. that doesn't work. I wonder where the option "">-</option> stuff is. Hmm. It's still in Layout.pm
if ($PossibleNone) {
$Output .= '<option VALUE="">-$Text{"none"}-</option>';
}
Aha! ... so, if I don't want the -, I should set PossibleNone to 0 ... and it works!
(thanks for reading the rambling!).
The short answer: Set PossibleNone=>0 wherever it's requested for SLAs in each .pm you need it (AgentTicketPhone.pm and AgentTicketEmail.pm at minimum).
How did I get there?
First, for anyone else who's following along, SLAs are tied to services (many services to each SLA) and services are tied to customers, but customers are not tied to SLAs. This kinda stinks, because (if I understand the terminology properly) a customer is expecting an SLA for a specific service. ... the agreement is that the service will be performed at X level. But OTRS has the ability to provide multiple levels of agreements per service. ... The best way to work around that limitation is to create a specific SLA/Service pair which would apply to the customer.
When the Service is ajax-looked up, it is based upon the Customer <-> service mapping, and based upon the service chosen (not the customer), the SLA has an Ajax-lookup which starts with (-).
So... where is this list?
It comes from $Data{"SLAStrg"} in the .dtl files
each .dtl refers to a Modules/something.pm that calls
$Self->{LayoutObject}->BuildSelection(
Data => $Param{SLAs},
Name => 'SLAID',
SelectedID => $Param{SLAID},
PossibleNone => 1,
Sort => 'AlphanumericValue',
Translation => 0,
Max => 200,
This is called from Kernel::Output::HTML::Layout.pm
mostly, look for BuildSelection ...
Seems there's something that allows SelectedValue .. eh.. that doesn't work. I wonder where the option "">-</option> stuff is. Hmm. It's still in Layout.pm
if ($PossibleNone) {
$Output .= '<option VALUE="">-$Text{"none"}-</option>';
}
Aha! ... so, if I don't want the -, I should set PossibleNone to 0 ... and it works!
(thanks for reading the rambling!).
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: Create ticket with default SLA
If you need such a kind of functionality please feel free to order a custom module at OTRS Inc.
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Create ticket with default SLA
With respect to the best practices around ITIL this behaviour is actually not incorrect.crythias wrote:This kinda stinks, because (if I understand the terminology properly) a customer is expecting an SLA for a specific service. ... the agreement is that the service will be performed at X level. But OTRS has the ability to provide multiple levels of agreements per service
You want to offer the same service to different customers at different service levels. Therefore it'd be necessary to not just specify the available services for customers but also the corresponding negotiated service level.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Create ticket with default SLA
I'm not disagreeing with you, generally. Once the customer is selected, however, he probably should only be presented with the SLA he's been assigned/purchased. Or am I missing something else in your statement?
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: Create ticket with default SLA
Hi,
I think this needs an example.
Let's imagine we've "Service A" which we're offering at the 3 SLAs "silver", "gold", "platinum".
In OTRS you now can specify "Service A" and attach all these SLAs to it. So far that's OK.
Now you've 2 customers. "Customer A" has bought "Service A" at SLA "silver" and "Customer B" has bought "Service A" at SLA "platinum".
So in OTRS you'd like to configure that tickets from "Customer A" for "Service A" should be restricted to SLA "silver". But this would only be possible by utilizing complex ACLs. An improvement would be to allow to associate not just the service to a customer but also the corresponding service level.
I understood your comment as you did not like the fact that a service could have more than a single SLA in general.
I think this needs an example.
Let's imagine we've "Service A" which we're offering at the 3 SLAs "silver", "gold", "platinum".
In OTRS you now can specify "Service A" and attach all these SLAs to it. So far that's OK.
Now you've 2 customers. "Customer A" has bought "Service A" at SLA "silver" and "Customer B" has bought "Service A" at SLA "platinum".
So in OTRS you'd like to configure that tickets from "Customer A" for "Service A" should be restricted to SLA "silver". But this would only be possible by utilizing complex ACLs. An improvement would be to allow to associate not just the service to a customer but also the corresponding service level.
I understood your comment as you did not like the fact that a service could have more than a single SLA in general.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Create ticket with default SLA
5 years ago ... but my complaint appears to have been the same thing. SLAs attached to services (generally okay as I understand a service could have multiple SLAs) but no Customer-Service-SLA assignment combo.Yves wrote:I understood your comment as you did not like the fact that a service could have more than a single SLA in general.
I think we're on the same page.
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: Create ticket with default SLA
I encountered this issue recently as we're now implementing ITSM with OTRS 5 and found this topic via Google.
But thanks for getting back to me even after this long time!
But thanks for getting back to me even after this long time!
