[Rt-commit] [svn] r1529 - in rtir/branches/1.1-TESTING: . etc/upgrade etc/upgrade/1.0.3 etc/upgrade/1.2.0

leira at pallas.eruditorum.org leira at pallas.eruditorum.org
Mon Sep 20 23:34:07 EDT 2004


Author: leira
Date: Mon Sep 20 23:34:07 2004
New Revision: 1529

Added:
   rtir/branches/1.1-TESTING/etc/upgrade/
   rtir/branches/1.1-TESTING/etc/upgrade/1.0.3/
   rtir/branches/1.1-TESTING/etc/upgrade/1.0.3/content
   rtir/branches/1.1-TESTING/etc/upgrade/1.2.0/
   rtir/branches/1.1-TESTING/etc/upgrade/1.2.0/content
Modified:
   rtir/branches/1.1-TESTING/Makefile
   rtir/branches/1.1-TESTING/UPGRADING
Log:
Updated upgradind procedure for 1.2 beta.


Modified: rtir/branches/1.1-TESTING/Makefile
==============================================================================
--- rtir/branches/1.1-TESTING/Makefile	(original)
+++ rtir/branches/1.1-TESTING/Makefile	Mon Sep 20 23:34:07 2004
@@ -83,3 +83,16 @@
 
 regression: 
 	$(PERL) lib/t/02regression.t
+
+upgrade: config-install install-html upgrade-instruct
+
+upgrade-instruct: 
+	@echo "Congratulations. RTIR has been upgraded."
+	@echo "You should update RTIR's system database objects by running "
+	@echo "   ls etc/upgrade"
+	@echo ""
+	@echo "For each item in that directory whose name is greater than"
+	@echo "your previously installed RT version, run:"
+	@echo "	   $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-password --action insert --datadir etc/upgrade/<version>"
+upgrade-instruct: 
+

Modified: rtir/branches/1.1-TESTING/UPGRADING
==============================================================================
--- rtir/branches/1.1-TESTING/UPGRADING	(original)
+++ rtir/branches/1.1-TESTING/UPGRADING	Mon Sep 20 23:34:07 2004
@@ -23,252 +23,58 @@
 
 
 
-NOTE: Follow instructions from previous "upgrading from" sections if
-they apply to your installation.
-
-Upgrading from RTIR 1.0.3:
------
-
-If you are upgrading RTIR from version 1.0.3, we recommend a clean
-installation.  We recommand that you back up and then delete the
-contents of the following directories:
-
-   /opt/rt3/share/html/RTIR/
-   /opt/rt3/share/html/Callbacks/RTIR/
+NOTE: Follow instructions from previous "upgrading from" sections at
+the end of this document if they apply to your installation, then
+follow the instructions below.
 
 Then, proceed with the installation instructions in the README.  Do
 not re-initialize the database.
 
+After you have followed the installation instructions in the README,
+you must delete the following Scrips (go to Configuration / Queues /
+<Queue Name> / Scrips):
+
+In the Incidents Queue:
+  SetStartsDate
+  SetRTIRState
+  ResolveAllChildren
+  FixOwnership
+
+In the Incident Reports Queue:
+  DetectUserResponse 
+  SetDue             
+  SetStarts          
+  UnsetDue           
+  SetDueReopen       
+  SetHowReported     
+  SetRTIRState       
+  FixOwnership       
+  ReopenIncident
+
+In the Investigations Queue:
+  NotifyOnLaunch
+  DetectUserResponse
+  SetStarts
+  SetDue
+  UnsetDue
+  SetDueReopen
+  SetRTIRState
+  FixOwnership
+  ReopenIncident
+
+In the Blocks Queue:
+  NotifyOnCreate
+  DetectUserResponse
+  SetStarts
+  SetDue
+  UnsetDue
+  UnsetDue
+  SetDueReopen
+  SetRTIRState
+  FixOwnership
+  ReopenIncident
 
-Upgrading from RTIR 1.0.2:
------
-1) RTIR 1.0.3 changes the "SetRTIRState" custom scrip action in the
-Incident Reports queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "SetRTIRState"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-    my $State;
-    my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-    $cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => '_RTIR_State');
-    unless ($cf->Id) { 
-        return(1);
-    }
-    if ($self->TicketObj->Status eq 'new' or $self->TicketObj->Status eq 'open' or $self->TicketObj->Status eq 'stalled') {
-      $State = 'new';
-        my $parents = RT::Tickets->new($self->TransactionObj->CurrentUser);
-        $parents->LimitHasMember($self->TicketObj->id);
-        $parents->LimitQueue(VALUE => 'Incidents');
-      if ($parents->First) {
-        $State = 'open';
-        }
-    } elsif ($self->TicketObj->Status eq 'resolved') {
-      $State = 'resolved';
-    } elsif ($self->TicketObj->Status eq 'rejected') {
-      $State = 'rejected';
-    } else {
-      return 0;
-    }
-    $self->TicketObj->AddCustomFieldValue(Field => $cf->id, Value => $State);
-  return 1;
-# ------------------------------------------------------------------- #
-
-2) RTIR 1.0.3 changes the "SetRTIRState" custom scrip action in the
-Investigations queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "SetRTIRState"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-  my $State;
-  my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-  $cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => '_RTIR_State');
-  unless ($cf->Id) { 
-      return(1);
-  }
-  if ($self->TicketObj->Status eq 'open' or $self->TicketObj->Status eq 'new') {
-      $State = 'open';
-  } elsif ($self->TicketObj->Status eq 'resolved') {
-      $State = 'resolved';
-  } else {
-      return 0;
-  }
-  $self->TicketObj->AddCustomFieldValue(Field => $cf->id, Value => $State);
-  return 1;
-# ------------------------------------------------------------------- #
-
-3) RTIR 1.0.3 changes the "SetRTIRState" custom scrip action in the
-Blocks queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "SetRTIRState"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-my $State;
-my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-$cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => '_RTIR_State');
-unless ($cf->Id) { 
-    return(1);
-}
-
-if ($self->TicketObj->Status eq 'new') {
-  $State = 'pending activation';
-} elsif ($self->TicketObj->Status eq 'open') {
-  $State = 'active';
-} elsif ($self->TicketObj->Status eq 'stalled') {
-  $State = 'pending removal';
-} elsif ($self->TicketObj->Status eq 'resolved') {
-  $State = 'removed';
-} else {
-  return 0;
-}
-$self->TicketObj->AddCustomFieldValue(Field => $cf->id, Value => $State);
-return 1;
-# ------------------------------------------------------------------- #
-
-4) RTIR 1.0.3 changes the "SetRTIRState" custom scrip action in the
-Incidents queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "SetRTIRState"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-    my $State;
-    my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-    $cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => '_RTIR_State');
-    unless ($cf->Id) { 
-        return(1);
-    }
-    if ($self->TicketObj->Status eq 'new' ||
-      $self->TicketObj->Status eq 'open' ||
-      $self->TicketObj->Status eq 'stalled') {
-      $State = 'open';
-    } elsif ($self->TicketObj->Status eq 'resolved') {
-      $State = 'resolved';
-    } elsif ($self->TicketObj->Status eq 'rejected') {
-      $State = 'abandoned';
-    } else {
-      return 0;
-    }
-    $self->TicketObj->AddCustomFieldValue(Field => $cf->id, Value => $State);
-  return 1;
-# ------------------------------------------------------------------- #
-
-5) RTIR 1.0.3 changes the "SetDates" custom scrip action in the
-Incident Reports queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "SetDates"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-my $sla;
-my $date = RT::Date->new($RT::SystemUser);
-$date->SetToNow;
-use Business::Hours;
-my $bizhours = new Business::Hours;
-if ($RT::BusinessHours) {
-  $bizhours->business_hours(%$RT::BusinessHours);
-}
-
-if ($self->TicketObj->FirstCustomFieldValue('_RTIR_SLA')) {
-  $sla = $self->TicketObj->FirstCustomFieldValue('_RTIR_SLA');
-} elsif ($bizhours->first_after($date->Unix) != $date->Unix) {
-  $sla = "Full service: out of hours";
-} else {
-  $sla = "Full service";
-}
-
-my $addminutes = $RT::SLA->{$sla};
-if ($self->TicketObj->StartsObj->AsString eq "Not set") {
-  my $starts = $bizhours->first_after($date->Unix);
-  $date->Set(Format => 'unix', Value => $starts);
-  $self->TicketObj->SetStarts($date->ISO);
-  my $due = $bizhours->add_seconds($date->Unix, $addminutes * 60);
-  $date->Set(Format => 'unix', Value => $due);
-  $self->TicketObj->SetDue($date->ISO);
-}
-my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-$cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => '_RTIR_SLA');
-unless ($cf->Id) { 
-    return(1);
-}
-$self->TicketObj->AddCustomFieldValue(Field => $cf->id, Value => $sla);
-return 1;
-# ------------------------------------------------------------------- #
-
-6) RTIR 1.0.3 changes the "SetHowReported" custom scrip action in the
-Incident Reports queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "SetHowReported"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-my $cf = RT::CustomField->new($self->TransactionObj->CurrentUser);
-$cf->LoadByNameAndQueue(Queue => $self->TicketObj->QueueObj->Id, Name => '_RTIR_HowReported');
-unless ($cf->Id) { 
-    return(1);
-}
-my $Values = $self->TicketObj->CustomFieldValues($cf->id);
-if (!$Values->Next) {
-  $self->TicketObj->AddCustomFieldValue(Field => $cf->id, Value => "Email");
-}
-  return 1;
-# ------------------------------------------------------------------- #
-
-7) RTIR 1.0.3 changes the "FixOwnership" custom scrip action in the
-Incidents queue from previous versions.  AFTER Installing RTIR
-1.0.3, alter the "FixOwnership"'s custom action cleanup content to read
-
-# ------------------------------------------------------------------- #
-{
-  # change owner of child Incident Reports, Investigations, Blocks
-  while (my $link = $self->TicketObj->Members->Next) {
-    my $member= $link->BaseObj;
-    if ( ($member->QueueObj->Name eq 'Incident Reports' ||
-          $member->QueueObj->Name eq 'Investigations' ||
-          $member->QueueObj->Name eq 'Blocks' ) &&
-          $member->OwnerObj->id != $self->TransactionObj->NewValue) {
-      my ($res, $msg); 
-      my $user = new RT::CurrentUser($self->TransactionObj->CurrentUser);
-      $user->Load($self->TransactionObj->Creator);
-      my $t = new RT::Ticket($user);
-      $t->Load($member->id);
-      if ($self->TransactionObj->NewValue == $self->TransactionObj->Creator) {
-        if ($self->TransactionObj->CurrentUser->id == $RT::Nobody->id) {
-          ($res, $msg) = $t->Take();
-        } else {
-          ($res, $msg) = $t->Steal();
-	}
-      } else {
-          ($res, $msg) = $t->SetOwner($self->TransactionObj->NewValue);
-      }
-      $RT::Logger->debug("FixOwnership Scrip: ".$msg)
-    }
-  }
-  return 1;
-}
-# ------------------------------------------------------------------- #
-
-8) RTIR 1.0.3 changes the "FixOwnership" custom scrip action in the
-Incident Reports, Investigations, and Blocks queues from previous
-versions.  AFTER Installing RTIR 1.0.3, alter the "FixOwnership"'s
-custom action cleanup content in each of these queues to read
-
-# ------------------------------------------------------------------- #
-{
-  # change owner of parent Incident(s)
-  while (my $link = $self->TicketObj->MemberOf->Next) {
-    my $incident= $link->TargetObj;
-    if ( $incident->QueueObj->Name eq 'Incidents' &&
-         $incident->OwnerObj->id != $self->TransactionObj->NewValue) {
-      my ($res, $msg); 
-      my $user = new RT::CurrentUser($self->TransactionObj->CurrentUser);
-      $user->Load($self->TransactionObj->Creator);
-      my $t = new RT::Ticket($user);
-      $t->Load($incident->id);
-      if ($self->TransactionObj->NewValue == $self->TransactionObj->Creator) {
-          ($res, $msg) = $t->Steal();
-      } else {
-          ($res, $msg) = $t->SetOwner($self->TransactionObj->NewValue);
-      }
-      $RT::Logger->debug("FixOwnership Scrip: ".$msg)
-    }
-  }
-  return 1;
-}
-# ------------------------------------------------------------------- #
-
-9) In the Incidents, Incident Reports, Investigations, and Blocks
-Queues, give the DutyTeam group the "ShowTemplate" right.
+Then, type "make upgrade" and follow the instructions.
 
 Upgrading from RTIR 1.0.0:
 --------------------------

Added: rtir/branches/1.1-TESTING/etc/upgrade/1.0.3/content
==============================================================================
--- (empty file)
+++ rtir/branches/1.1-TESTING/etc/upgrade/1.0.3/content	Mon Sep 20 23:34:07 2004
@@ -0,0 +1,18 @@
+ at ACL = (
+    { GroupId => 'DutyTeam',      # - principalId
+      GroupDomain => 'UserDefined',
+      Queue => 'Incidents',
+      Right  => 'ShowTemplate', },
+    { GroupId => 'DutyTeam',      # - principalId
+      GroupDomain => 'UserDefined',
+      Queue => 'Incident Reports',
+      Right  => 'ShowTemplate', },
+    { GroupId => 'DutyTeam',      # - principalId
+      GroupDomain => 'UserDefined',
+      Queue => 'Investigations',
+      Right  => 'ShowTemplate', },
+    { GroupId => 'DutyTeam',      # - principalId
+      GroupDomain => 'UserDefined',
+      Queue => 'Blocks',
+      Right  => 'ShowTemplate', },
+);
\ No newline at end of file

Added: rtir/branches/1.1-TESTING/etc/upgrade/1.2.0/content
==============================================================================
--- (empty file)
+++ rtir/branches/1.1-TESTING/etc/upgrade/1.2.0/content	Mon Sep 20 23:34:07 2004
@@ -0,0 +1,255 @@
+ at ScripActions = (
+
+    {  Name        => 'RTIR Set Due to Now',    # loc
+       Description => 'Set the due date to the current time' ,                                            # loc
+       ExecModule => 'RTIR_SetDueToNow',
+    },
+    {  Name        => 'RTIR Set Starts to Now',    # loc
+       Description => 'Set the starts date to the current time' ,                                            # loc
+       ExecModule => 'RTIR_SetStartsToNow',
+    },
+    {  Name        => 'RTIR Set Due by SLA',    # loc
+       Description => 'Set the due date according to SLA' ,                                            # loc
+       ExecModule => 'RTIR_SetDueBySLA',
+    },
+    {  Name        => 'RTIR Set Due Correspond',    # loc
+       Description => 'Set the due date for correspondence' ,                                            # loc
+       ExecModule => 'RTIR_SetDueCorrespond',
+    },
+    {  Name        => 'RTIR Unset Due',    # loc
+       Description => 'Unset the due date' ,                                            # loc
+       ExecModule => 'RTIR_UnsetDue',
+    },
+    {  Name        => 'RTIR Set Starts by Business Hours',    # loc
+       Description => 'Set the starts date according to Business Hours' ,                                            # loc
+       ExecModule => 'RTIR_SetStartsByBizHours',
+    },
+    {  Name        => 'RTIR Set How Reported',    # loc
+       Description => 'Set how the Incident Report was reported' ,                                            # loc
+       ExecModule => 'RTIR_SetHowReported',
+    },
+    {  Name        => 'RTIR Resolve Children',    # loc
+       Description => "Resolve an Incident's children",                                            # loc
+       ExecModule => 'RTIR_ResolveChildren',
+    },
+    {  Name        => 'RTIR Change Child Ownership',    # loc
+       Description => "Change the ownership of Incident's children",                                            # loc
+       ExecModule => 'RTIR_ChangeChildOwnership',
+    },
+    {  Name        => 'RTIR Change Parent Ownership',    # loc
+       Description => 'Change the ownership of the parent Incident' ,                                            # loc
+       ExecModule => 'RTIR_ChangeParentOwnership',
+    },
+    {  Name        => 'RTIR Open Parent',    # loc
+       Description => 'Open the parent Incident when a child reopens' ,                                            # loc
+       ExecModule => 'RTIR_OpenParent',
+    },
+    {  Name        => 'RTIR Set Incident Report State',    # loc
+       Description => 'Set the state of an Incident Report' ,                                            # loc
+       ExecModule => 'RTIR_SetIncidentReportState',
+    },
+    {  Name        => 'RTIR Set Investigation State',    # loc
+       Description => 'Set the state of an Investigation' ,                                            # loc
+       ExecModule => 'RTIR_SetInvestigationState',
+    },
+    {  Name        => 'RTIR Set Block State',    # loc
+       Description => 'Set the state of a Block' ,                                            # loc
+       ExecModule => 'RTIR_SetBlockState',
+    },
+    {  Name        => 'RTIR Set Incident State',    # loc
+       Description => 'Set the state of an Incident' ,                                            # loc
+       ExecModule => 'RTIR_SetIncidentState',
+    },
+);
+
+ at ScripConditions = (
+
+    {  Name        => 'RTIR Customer Response',    # loc
+       Description => 'Detect an external response' ,                                            # loc
+       ApplicableTransTypes => 'Correspond',
+       ExecModule => 'RTIR_CustomerResponse',
+    },
+    {  Name        => 'RTIR Close Ticket',    # loc
+       Description => 'A ticket is rejected or resolved' ,                                            # loc
+       ApplicableTransTypes => 'Any',
+       ExecModule => 'RTIR_CloseTicket',
+    },
+    {  Name        => 'RTIR Reopen Ticket',    # loc
+       Description => 'A closed ticket is reopened' ,                                            # loc
+       ApplicableTransTypes => 'Any',
+       ExecModule => 'RTIR_ReopenTicket',
+    },
+    {  Name        => 'RTIR Require State Change',    # loc
+       Description => 'A ticket requires a state change' ,                                            # loc
+       ApplicableTransTypes => 'Any',
+       ExecModule => 'RTIR_RequireStateChange',
+    },
+
+);
+
+ at Scrips = (
+    {  Description    => 'NotifyOnLaunch',
+       Queue          => 'Investigations',
+       ScripCondition => 'On Create',
+       ScripAction    => 'Notify Requestors',
+       Template       => 'LaunchMessage' },
+    {  Description    => 'NotifyOnCreate',
+       Queue          => 'Blocks',
+       ScripCondition => 'On Create',
+       ScripAction    => 'Notify Requestors',
+       Template       => 'NewMessage' },
+    {  Description => "DetectUserResponse",
+       Queue          => 'Incident Reports',
+       ScripCondition => 'RTIR Customer Response',
+       ScripAction      => 'RTIR Set Due to Now',
+       Template       => 'Blank' },
+    {  Description => "DetectUserResponse",
+       Queue            => 'Investigations',
+       ScripCondition => 'RTIR Customer Response',
+       ScripAction      => 'RTIR Set Due to Now',
+       Template       => 'Blank' },
+    {  Description => "DetectUserResponse",
+       Queue            => 'Blocks',
+       ScripCondition => 'RTIR Customer Response',
+       ScripAction      => 'RTIR Set Due to Now',
+       Template       => 'Blank' },
+    {  Description => "SetStartsDate",
+       Queue            => 'Incidents',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Starts to Now',
+       CustomPrepareCode => '1',
+       Template       => 'Blank' },
+    {  Description => "SetDue",
+       Queue            => 'Incident Reports',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Due by SLA',
+       Template       => 'Blank' },
+    {  Description => "SetStarts",
+       Queue            => 'Incident Reports',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Starts by Business Hours',
+       Template       => 'Blank' },
+    {  Description => "SetStarts",
+       Queue            => 'Investigations',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Starts by Business Hours',
+       Template       => 'Blank' },
+    {  Description => "SetStarts",
+       Queue            => 'Blocks',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Starts by Business Hours',
+       Template       => 'Blank' },
+    {  Description => "SetDue",
+       Queue            => 'Investigations',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Due Correspond',
+       Template       => 'Blank' },
+    {  Description => "SetDue",
+       Queue            => 'Blocks',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set Due Correspond',
+       Template       => 'Blank' },
+    {  Description => "UnsetDue",
+       Queue            => 'Incident Reports',
+       ScripCondition => 'RTIR Close Ticket',
+       ScripAction      => 'RTIR Unset Due',
+       Template       => 'Blank' },
+    {  Description => "UnsetDue",
+       Queue            => 'Investigations',
+       ScripCondition => 'RTIR Close Ticket',
+       ScripAction      => 'RTIR Unset Due',
+       Template       => 'Blank' },
+    {  Description => "UnsetDue",
+       Queue            => 'Blocks',
+       ScripCondition => 'RTIR Close Ticket',
+       ScripAction      => 'RTIR Unset Due',
+       Template       => 'Blank' },
+    {  Description => "UnsetDue",
+       Queue            => 'Blocks',
+       ScripCondition => 'RTIR Close Ticket',
+       ScripAction      => 'RTIR Unset Due',
+       Template       => 'Blank' },
+    {  Description => "SetDueReopen",
+       Queue            => 'Incident Reports',
+       ScripCondition => 'RTIR Reopen Ticket',
+       ScripAction      => 'RTIR Set Due by SLA',
+       Template       => 'Blank' },
+    {  Description => "SetDueReopen",
+       Queue            => 'Investigations',
+       ScripCondition => 'RTIR Reopen Ticket',
+       ScripAction      => 'RTIR Set Due by SLA',
+       Template       => 'Blank' },
+    {  Description => "SetDueReopen",
+       Queue            => 'Blocks',
+       ScripCondition => 'RTIR Reopen Ticket',
+       ScripAction      => 'RTIR Set Due by SLA',
+       Template       => 'Blank' },
+    {  Description => "SetHowReported",
+       Queue            => 'Incident Reports',
+       ScripCondition => 'On Create',
+       ScripAction      => 'RTIR Set How Reported',
+       Template       => 'Blank' },
+    {  Description => "SetRTIRState",
+       Queue            => 'Blocks',
+       ScripCondition   => 'RTIR Require State Change',
+       ScripAction      => 'RTIR Set Block State',
+       Template          => 'Blank', },
+    {  Description => "SetRTIRState",
+       Queue            => 'Incident Reports',
+       ScripCondition   => 'RTIR Require State Change',
+       ScripAction      => 'RTIR Set Incident Report State',
+       Template          => 'Blank', },
+
+    {  Description => "SetRTIRState",
+       Queue            => 'Investigations',
+       ScripCondition   => 'RTIR Require State Change',
+       ScripAction      => 'RTIR Set Investigation State',
+       Template          => 'Blank', },
+
+    {  Description => "SetRTIRState",
+       Queue            => 'Incidents',
+       ScripCondition   => 'RTIR Require State Change',
+       ScripAction      => 'RTIR Set Incident State',
+       Template          => 'Blank', },
+    {  Description => "ResolveAllChildren",
+       Queue            => 'Incidents',
+       ScripCondition   => 'On Status Change',
+       ScripAction      => 'RTIR Resolve Children',
+       Template          => 'Blank', },
+    {  Description => "FixOwnership",
+       Queue            => 'Incidents',
+       ScripCondition   => 'On Owner Change',
+       ScripAction      => 'RTIR Change Child Ownership',
+       Template          => 'Blank', },
+    {  Description => "FixOwnership",
+       Queue            => 'Incident Reports',
+       ScripCondition   => 'On Owner Change',
+       ScripAction      => 'RTIR Change Parent Ownership',
+       Template          => 'Blank', },
+    {  Description => "FixOwnership",
+       Queue            => 'Investigations',
+       ScripCondition   => 'On Owner Change',
+       ScripAction      => 'RTIR Change Parent Ownership',
+       Template          => 'Blank', },
+    {  Description => "FixOwnership",
+       Queue            => 'Blocks',
+       ScripCondition   => 'On Owner Change',
+       ScripAction      => 'RTIR Change Parent Ownership',
+       Template          => 'Blank', },
+    {  Description => "ReopenIncident",
+       Queue            => 'Incident Reports',
+       ScripCondition   => 'On Status Change',
+       ScripAction      => 'RTIR Open Parent',
+       Template          => 'Blank', },
+    {  Description => "ReopenIncident",
+       Queue            => 'Investigations',
+       ScripCondition   => 'On Status Change',
+       ScripAction      => 'RTIR Open Parent',
+       Template          => 'Blank', },
+    {  Description => "ReopenIncident",
+       Queue            => 'Blocks',
+       ScripCondition   => 'On Status Change',
+       ScripAction      => 'RTIR Open Parent',
+       Template          => 'Blank', },
+);
+


More information about the Rt-commit mailing list