Associating Tickets by Subject
Moderator: crythias
-
- Znuny newbie
- Posts: 4
- Joined: 15 Jul 2011, 20:50
- Znuny Version: OTRS 3.0.8
- Real Name: Daniel Fernandes
- Company: Opus Software
Associating Tickets by Subject
Hello everybody,
I'm trying to associate my tickets that are received by email based on subject, i.e:
Subject: <TEXT> <00000000>: <DESCRIPTION>
where <TEXT> and <00000000> always will be in the same format.
So, i need to associate all tickets with "<TEXT> <00000000>".
Giving more information, my tickets subject:
First:
Subject: CONTACT 11223344: Mail system down
Second:
Subject: CONTACT 11223344: Mail system down -- Changing owner
Third:
Subject: CONTACT 11223344: Mail system down -- Treatment
Fourth:
Subject: CONTACT 11223344: Mail system down -- Solved
Can i do it using regex? Or another way?
Any further information, just let me known.
Thanks in advance for help!!
I'm trying to associate my tickets that are received by email based on subject, i.e:
Subject: <TEXT> <00000000>: <DESCRIPTION>
where <TEXT> and <00000000> always will be in the same format.
So, i need to associate all tickets with "<TEXT> <00000000>".
Giving more information, my tickets subject:
First:
Subject: CONTACT 11223344: Mail system down
Second:
Subject: CONTACT 11223344: Mail system down -- Changing owner
Third:
Subject: CONTACT 11223344: Mail system down -- Treatment
Fourth:
Subject: CONTACT 11223344: Mail system down -- Solved
Can i do it using regex? Or another way?
Any further information, just let me known.
Thanks in advance for help!!
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Associating Tickets by Subject
PostmasterFilter, but associate Subject with ... what?
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: 4
- Joined: 15 Jul 2011, 20:50
- Znuny Version: OTRS 3.0.8
- Real Name: Daniel Fernandes
- Company: Opus Software
Re: Associating Tickets by Subject
Yes!
I tried it...
As only the <00000000> is variable, i thought in something about regex:
^text: [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
But, how to get this content and associate whit other???
I'm sure that i can do it manually, but my intention is to automate...
Tks again!
I tried it...
As only the <00000000> is variable, i thought in something about regex:
^text: [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
But, how to get this content and associate whit other???
I'm sure that i can do it manually, but my intention is to automate...
Tks again!
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Associating Tickets by Subject
read the gray box on the left. stuff that matches inside () will be placed where you use [***] (? I think) in the set.
<(\d{7,})>
(match at least 7 numbers)
set (something) [***]
http://regexpal.com/
<(\d{7,})>
(match at least 7 numbers)
set (something) [***]
http://regexpal.com/
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: 4
- Joined: 15 Jul 2011, 20:50
- Znuny Version: OTRS 3.0.8
- Real Name: Daniel Fernandes
- Company: Opus Software
Re: Associating Tickets by Subject
And, where i need to put this?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Associating Tickets by Subject
You still haven't told me what you want to do. "associating tickets" doesn't mean much.
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: 4
- Joined: 15 Jul 2011, 20:50
- Znuny Version: OTRS 3.0.8
- Real Name: Daniel Fernandes
- Company: Opus Software
Re: Associating Tickets by Subject
I get emails from another system that creates my tickets, but every interaction in the first system a new email is sent and it will create another new ticketid.
I need these emails are automatically associated side with the original ticket.
I need these emails are automatically associated side with the original ticket.
-
- Znuny expert
- Posts: 250
- Joined: 12 Oct 2010, 01:35
- Znuny Version: 3.0.9
- Company: LRS Health
Re: Associating Tickets by Subject
Make the first system to use an X mail header of some form?
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks 
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText

[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Associating Tickets by Subject
so what you're saying is that you want all tickets with the same <xxxxx> format generated from another ticketing system to be under the same ticketid?
I think it could be programmed as a PostmasterFilter module, but I can't think how OTRS will know that a different subject is going to not create a new ticket.
If at all, I'd look here: http://forums.otrs.org/viewtopic.php?f=53&t=8242
I think it could be programmed as a PostmasterFilter module, but I can't think how OTRS will know that a different subject is going to not create a new ticket.
If at all, I'd look here: http://forums.otrs.org/viewtopic.php?f=53&t=8242
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