Using custom ticket state values
Moderator: crythias
Using custom ticket state values
Is it possible to use custom status values?
For example in in Ticket -> Frontend::Agent::Ticket::ViewEmailNew, I changed the values of Ticket::Frontend::AgentTicketEmail###StateType to custom values I wanted. However, when I open a new ticket the 'Next ticket state' drop down list is empty.
Can I change the ticket 'state' values at all?
Thanks
For example in in Ticket -> Frontend::Agent::Ticket::ViewEmailNew, I changed the values of Ticket::Frontend::AgentTicketEmail###StateType to custom values I wanted. However, when I open a new ticket the 'Next ticket state' drop down list is empty.
Can I change the ticket 'state' values at all?
Thanks
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Using custom ticket state values
You have states, and you have state types.
State types are categories (groupings) of states.
If a SysConfig asks you to specify a state type, it assumes you have States that belong to that State Type.
You may add custom states to/with existing state types within the States Admin Area.
Unless you know what you're doing, you probably don't need to create additional state types. It is more likely the ticket is of type open or closed and you'd like a status indicating why it's in that state type.
State: Awaiting Customer Response
State Type: Open
State: User self-fixed
State Type: Closed
State types are categories (groupings) of states.
If a SysConfig asks you to specify a state type, it assumes you have States that belong to that State Type.
You may add custom states to/with existing state types within the States Admin Area.
Unless you know what you're doing, you probably don't need to create additional state types. It is more likely the ticket is of type open or closed and you'd like a status indicating why it's in that state type.
State: Awaiting Customer Response
State Type: Open
State: User self-fixed
State Type: 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: Using custom ticket state values
According to the responsible department, following state types are required:
1) Waiting for reply: The ticket has been answered, so it is no more open, yet nothing more can be done until the customer has replied. If I keep the ticket open, it will escalate unnecessarily
2) Forwarded to external: Again ticket has been responded to, but nothing can be done until the external company replies, yet I don't want the ticket to escalte
3) Closed(Rollout pending): For example, the suggestion has been accepted and is being implemented yet it is not available for use. I cannot yet close the ticket, but again no escalation should take place
4) Shelved: The issue has been put on backburner (for whatsoever reason), but it is not closed and should not be escalted
5) Rejected: After thorough consideration, suggestion has been rejected.
How can I generate new state types?
1) Waiting for reply: The ticket has been answered, so it is no more open, yet nothing more can be done until the customer has replied. If I keep the ticket open, it will escalate unnecessarily
2) Forwarded to external: Again ticket has been responded to, but nothing can be done until the external company replies, yet I don't want the ticket to escalte
3) Closed(Rollout pending): For example, the suggestion has been accepted and is being implemented yet it is not available for use. I cannot yet close the ticket, but again no escalation should take place
4) Shelved: The issue has been put on backburner (for whatsoever reason), but it is not closed and should not be escalted
5) Rejected: After thorough consideration, suggestion has been rejected.
How can I generate new state types?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Using custom ticket state values
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Using custom ticket state values
You may be interested in browsing the results of this search.
The summary is that you probably won't see the results you seek no matter what the StateType is on the state.
Edit to add: if the SLA is queue based instead of service based, you might do what you need by sticking the ticket in a different queue that has no escalations.
The summary is that you probably won't see the results you seek no matter what the StateType is on the state.
Edit to add: if the SLA is queue based instead of service based, you might do what you need by sticking the ticket in a different queue that has no escalations.
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 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: Using custom ticket state values
I would use those things rather as a state, not as a state type:aph wrote:According to the responsible department, following state types are required:
1) Waiting for reply: The ticket has been answered, so it is no more open, yet nothing more can be done until the customer has replied. If I keep the ticket open, it will escalate unnecessarily
2) Forwarded to external: Again ticket has been responded to, but nothing can be done until the external company replies, yet I don't want the ticket to escalte
3) Closed(Rollout pending): For example, the suggestion has been accepted and is being implemented yet it is not available for use. I cannot yet close the ticket, but again no escalation should take place
4) Shelved: The issue has been put on backburner (for whatsoever reason), but it is not closed and should not be escalted
5) Rejected: After thorough consideration, suggestion has been rejected.
How can I generate new state types?
1) state: Waiting for reply -> state type: pending
2) state: Waiting for external -> state type: pending
3) state: rollout pending -> state type: pending
4) state: shelved -> state type: pending
5) state: rejected -> state type: closed
Escalation is paused for states of type "pending".
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Using custom ticket state values
It looks like a workable solution. What I did not get is the difference between pending reminder and pending auto and how to use them. For example, for the state 'rollout pending', which state type should I set? If I use the type 'pending reminder', the system will send mails to agents, which is not the behaviour I am expecting. If I use the state type 'pending auto' the ticket will be closed after the pending time is over, which is not intended either.reneeb wrote: I would use those things rather as a state, not as a state type:
1) state: Waiting for reply -> state type: pending
2) state: Waiting for external -> state type: pending
3) state: rollout pending -> state type: pending
4) state: shelved -> state type: pending
5) state: rejected -> state type: closed
Escalation is paused for states of type "pending".
How to pause the escalation for pending states?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Re: Using custom ticket state values
In Ticket -> Core::Ticket we have the entry Ticket::StateAfterPending
Defines which states should be set automatically (Content), after the pending time of state (Key) has been reached.
There were two states
pending auto + -> closed successfully and
pending auto - -> closed unsuccessfully.
These two were removed so that a ticket is not set to a particular state after pending time is over (i.e. it is not automatically closed). Does it also take care of the escalation matter or will the pending tickets be still escalated?
Defines which states should be set automatically (Content), after the pending time of state (Key) has been reached.
There were two states
pending auto + -> closed successfully and
pending auto - -> closed unsuccessfully.
These two were removed so that a ticket is not set to a particular state after pending time is over (i.e. it is not automatically closed). Does it also take care of the escalation matter or will the pending tickets be still escalated?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- 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: Using custom ticket state values
No, pending tickets do not escalate...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Using custom ticket state values
They do not escalte even after the pending time is over?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- 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: Using custom ticket state values
Yes, the escalation pause depends on the status type not on the date...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Using custom ticket state values
Thanks!
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Re: Using custom ticket state values
I have a relevant question. I processed a ticket and set it's state to 'In Bearbeitung' (state type pending auto). However, in the customer interface the ticket is shown as closed
should it not be shown as 'In Bearbeitung' instead? The ticket is not yet closed.You do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- 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: Using custom ticket state values
Please show the configured states...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Using custom ticket state values
Pls see the screenshots below:
Thanks a lot
The available state types are:
Thanks a lot
You do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- 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: Using custom ticket state values
Your configuration seems to be correct... I'll dig into it later...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Using custom ticket state values
EDIT: Something similar (perhaps strange!) happens in the Agent web interface. In status view 3 tickets are shown as closed, although all have state type (pending auto)
Thanks
In the 'my locked tickets view' 2 tickets are shown as pending (one is new, in all 3 tickets)
How come in my locked tickets view the state 'erledigt(Rollout offen)' is treated as a pending state and in the status view it is not. The state 'in Bearbeitung' is never treated as a pending state although both 'erledigt(Rollout offen) and 'In Bearbeitung' have the same state type (pending auto)? I'm a bit perplexed!Thanks
You do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Re: Using custom ticket state values
Any idea why this behaviour occurs. It can be very confusing for the customer to see his/her tickets in 'Work in progress state' to appear under a list of closed tickets.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- 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: Using custom ticket state values
This would need more time to debug. What are the ViewableStateTypes in your SysConfig? What config options did you change?
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Using custom ticket state values
ViewableStateTypes are: new, open, pending reminder, pending auto.reneeb wrote: What are the ViewableStateTypes in your SysConfig? What config options did you change?
I removed values for Ticket::StateAfterPending as I don't want the tickets to be closed automatically. Didn't make any changes in Config.pm / Database for states I have the following states:reneeb wrote:What config options did you change?
You do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache