How can I define NotifyMailSubject myself

Moderator: crythias

Locked
huozipan
Znuny newbie
Posts: 15
Joined: 14 Sep 2010, 10:19
Znuny Version: 3.0

How can I define NotifyMailSubject myself

Post by huozipan »

The default subject is just like "[Ticket#2010101010000684] You got follow up! .....".

That is too long. Can I define subject myself???
Wolfgangf
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: How can I define NotifyMailSubject myself

Post by Wolfgangf »

do you want to change the numbering method to a shorter one (this can be done in Sysconfig: Ticket::NumberGenerator )
or no Subject lenght ( also in Sysconfig: Ticket::SubjectSize )
or ...
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
huozipan
Znuny newbie
Posts: 15
Joined: 14 Sep 2010, 10:19
Znuny Version: 3.0

Re: How can I define NotifyMailSubject myself

Post by huozipan »

I want the subject show just like bellow:

MailServer 10.10.0.10 Down! [New Ticket#2010101010000684]

or

MailServer 10.10.0.10 Up! [FollowUP Ticket#2010101010000684]

Because I think the Incident content is much important than TicketNumber.

&&
And. If I modify TicketSubjectBuild() in Ticket.pm, return the subject format like above. Will It influence other modules in OTRS?? Or, Make other mail operation abnormal???
Wolfgangf
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: How can I define NotifyMailSubject myself

Post by Wolfgangf »

AFAIK, should be no problem
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
huozipan
Znuny newbie
Posts: 15
Joined: 14 Sep 2010, 10:19
Znuny Version: 3.0

Re: How can I define NotifyMailSubject myself

Post by huozipan »

thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How can I define NotifyMailSubject myself

Post by jojo »

It will harm as a answer on thse mails will not be recognized as a follow up (and opens a new ticket).

In upcomming 3.0 this will be possible
"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
huozipan
Znuny newbie
Posts: 15
Joined: 14 Sep 2010, 10:19
Znuny Version: 3.0

Re: How can I define NotifyMailSubject myself

Post by huozipan »

thanks jojo.

I'll wait 3.0 release.
Locked