[Rt-commit] [rtir] 01/01: Use $Ticket->SubjectTag rather than reimplementing it
Kevin Falcone
falcone at bestpractical.com
Fri Nov 22 15:17:01 EST 2013
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch 3.0/subjecttag
in repository rtir.
commit 326ba231682993b4f8186e0ab35a75b2794e710c
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Nov 20 17:44:13 2013 -0500
Use $Ticket->SubjectTag rather than reimplementing it
RT::Ticket->SubjectTag was implemented about 2 weeks after RTIR was
udpated to use SubjectTags. Unfortunately, RTIR wasn't fixed to use it
until now.
---
docs/UPGRADING-2.6 | 2 +-
docs/UPGRADING-3.0 | 15 +++++++++++++++
etc/initialdata | 6 +++---
3 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/docs/UPGRADING-2.6 b/docs/UPGRADING-2.6
index f11bd2f..1502ebb 100644
--- a/docs/UPGRADING-2.6
+++ b/docs/UPGRADING-2.6
@@ -64,6 +64,6 @@ Find all templates with the following text:
And replace it with:
- [{$Ticket->QueueObj->SubjectTag || $rtname} #{$Ticket->id}]
+ [{$Ticket->SubjectTag} #{$Ticket->id}]
=cut
diff --git a/docs/UPGRADING-3.0 b/docs/UPGRADING-3.0
index a89568f..851cc99 100644
--- a/docs/UPGRADING-3.0
+++ b/docs/UPGRADING-3.0
@@ -171,7 +171,22 @@ Tools -> Configuration -> Queues -> Investigations -> Scrips with:
Template: Global Template: Correspondence
+=head1 UPGRADING FROM 3.0.0 AND EARLIER
+=head2 SubjectTag corrections
+During the upgrade from 2.4 to 2.6, instructions were provided to begin including
+Queue SubjectTags in outgoing mail. New installs of 2.6.0 also used SubjectTags in
+templates. However, they suggested an old-style
+
+ [{$Ticket->QueueObj->SubjectTag || $rtname} #{$Ticket->id}]
+
+Instead, you should use the more modern
+
+ [{$Ticket->SubjectTag} #{$Ticket->id}]
+
+Because correspondence templates are frequently modified, it is
+not practical to script updates and they will need to be done
+through the UI.
=cut
diff --git a/etc/initialdata b/etc/initialdata
index f8ce226..245e3fd 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -420,7 +420,7 @@ Subject: { $Ticket->Subject }
-------------------------------------------------------------------------
Please include the string:
- [{ $Ticket->QueueObj->SubjectTag || $rtname } #{ $Ticket->id }]
+ [{ $Ticket->SubjectTag } #{ $Ticket->id }]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
@@ -452,7 +452,7 @@ Block #{$Ticket->id} was removed.
-------------------------------------------------------------------------
Please include the string:
- [{ $Ticket->QueueObj->SubjectTag || $rtname } #{$Ticket->id}]
+ [{ $Ticket->SubjectTag } #{$Ticket->id}]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
@@ -470,7 +470,7 @@ Subject: {$Ticket->Subject}
-------------------------------------------------------------------------
Please include the string:
- [{ $Ticket->QueueObj->SubjectTag || $rtname } #{$Ticket->id}]
+ [{ $Ticket->SubjectTag } #{$Ticket->id}]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list