I am new to OTRS and have found many answers on this forum but I can't seem to find this one...
I am running OTRS ITSM Ver. 3.3.5 on Windows 2008 R2 with an LDAP backend DB.
I am trying to figure out how to set up ticket filtering based on a customer user attribute (not email address) so that OTRS can automatically send tickets to the appropriate queues.
I would like to use the "Office" or "physicalDeliveryOfficeName" field in active directory as my trigger attribute, which I have been able to pull into OTRS as one of the customer information fields. From everything I've read it seems that using a GenericAgent module is the way to do this but I can't seem to find a good example of what this would look like and my scripting knowledge is limited.
Anyone out there have a suggestion as to how I can accomplish this?
Thanks!
Assigning tickets to queue based on AD attribute
Moderator: crythias
-
- Znuny newbie
- Posts: 3
- Joined: 29 Apr 2014, 17:58
- Znuny Version: 3.3.5
- Real Name: Josh Abbitt
- Company: Oerlikon Balzers
Assigning tickets to queue based on AD attribute
Last edited by crythias on 02 May 2014, 06:28, edited 1 time in total.
Reason: HowTos not for questions. Post moved to new topic
Reason: HowTos not for questions. Post moved to new topic
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Assigning tickets to queue based on AD attribute
Don't use customer based queues
"But Accounting people are supported by accounting agents and we need to segregate them!"
You're not going to do this with postmaster filter.
"OK, but they submit tickets through the web interface"
ACL
Queues should be [groups of] agents who can handle tasks. A customer should submit a ticket for what they want accomplished. A customer should not submit a ticket based upon who the customer is.
"But Accounting people are supported by accounting agents and we need to segregate them!"
You're not going to do this with postmaster filter.
"OK, but they submit tickets through the web interface"
ACL
Queues should be [groups of] agents who can handle tasks. A customer should submit a ticket for what they want accomplished. A customer should not submit a ticket based upon who the customer is.
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: Assigning tickets to queue based on AD attribute
yes it is possible via automatic setting of DynamicFields and via Generic Agent (eventbased)
"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
-
- Znuny newbie
- Posts: 3
- Joined: 29 Apr 2014, 17:58
- Znuny Version: 3.3.5
- Real Name: Josh Abbitt
- Company: Oerlikon Balzers
Re: Assigning tickets to queue based on AD attribute
Thanks for the quick reply Crythias
I guess I am confused based on my past helpdesk system experiences. With systems like Zendesk and Parature they tend to look at queues a bit differently than OTRS. Maybe if I explain further what I am trying to accomplish you can point me in the right direction.
I have a global helpdesk that is broken up into arount 20 countries, and almost as many languages, with a small team to handle each. I would like to continue using 1 HD system with a single IT support email address. (Backstory: I have recently started at this company and have inherited the culture that tickets are only submitted via email, which I hope to change with OTRS, but until then...) I need to be able to sort tickets as they come into the system, based on where the user is located so that the correct helpdesk team gets the ticket. I am currently using Track-it and sorting the tickets into queues that only the responsible team can see based on the customer's "Office" attribute in AD. I would like to (for now) continue having the support desk folks manually assign the tickets that come into thier respective queues to the correct ticket type until I can get users to start entering tickets via the web interface.
I know that there are countless posts and how-to's regarding queue set up but I can't find any that closely resemble the setup I am trying to achieve.
Thanks
I guess I am confused based on my past helpdesk system experiences. With systems like Zendesk and Parature they tend to look at queues a bit differently than OTRS. Maybe if I explain further what I am trying to accomplish you can point me in the right direction.
I have a global helpdesk that is broken up into arount 20 countries, and almost as many languages, with a small team to handle each. I would like to continue using 1 HD system with a single IT support email address. (Backstory: I have recently started at this company and have inherited the culture that tickets are only submitted via email, which I hope to change with OTRS, but until then...) I need to be able to sort tickets as they come into the system, based on where the user is located so that the correct helpdesk team gets the ticket. I am currently using Track-it and sorting the tickets into queues that only the responsible team can see based on the customer's "Office" attribute in AD. I would like to (for now) continue having the support desk folks manually assign the tickets that come into thier respective queues to the correct ticket type until I can get users to start entering tickets via the web interface.
I know that there are countless posts and how-to's regarding queue set up but I can't find any that closely resemble the setup I am trying to achieve.
Thanks
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Assigning tickets to queue based on AD attribute
JoJo's correct. Use an Event Based generic agent.
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 newbie
- Posts: 3
- Joined: 29 Apr 2014, 17:58
- Znuny Version: 3.3.5
- Real Name: Josh Abbitt
- Company: Oerlikon Balzers
Re: Assigning tickets to queue based on AD attribute
Forgive me if I am being thick sculled (This is my first stab at OTRS and Perl and I am so close), but I still cannot figure out how to tell OTRS to use the office attribute as the filter when creating the generic agent. As you can see in the attached screen shot, the attribute is in the user profile in OTRS but I am not sure how to get OTRS to call this attribute. I can sort by any aspect of the ticket or a dynamic field if the user was placing the ticket via the web but since the "Office" field is not in the ticket I am at a loss.crythias wrote:JoJo's correct. Use an Event Based generic agent.
Could you please give me a quick and dirty example of how to do this?
Thanks!!!
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Assigning tickets to queue based on AD attribute
There's no easy way to do this.
The only personally identifiable information on an email is its sender address (From) which is only used to determine the login id and customer id to assign the ticket.
That said, a generic agent looking at a customer id can set X-OTRS-Queue based upon that value.
Otherwise, it gets more complicated (development or paid addon).
The only personally identifiable information on an email is its sender address (From) which is only used to determine the login id and customer id to assign the ticket.
That said, a generic agent looking at a customer id can set X-OTRS-Queue based upon that value.
Otherwise, it gets more complicated (development or paid addon).
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