[Rt-commit] rtir branch 5.0-trunk updated. 5.0.3-25-ga6bd1bfc

BPS Git Server git at git.bestpractical.com
Thu Apr 20 20:14:10 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rtir".

The branch, 5.0-trunk has been updated
       via  a6bd1bfc2cfa834e008583bb46e8a5efe4ffd115 (commit)
       via  f20af86bba916b40451d1210ee76677b5ab0b1cc (commit)
       via  212f70453042a134f11fe30faf977c6c7e8b7184 (commit)
       via  73df0716b6e323ba9b09c2c5328b0383013ccfe4 (commit)
      from  2ddb1e4fba7fa7576f76a627888cf455c391056b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a6bd1bfc2cfa834e008583bb46e8a5efe4ffd115
Merge: 2ddb1e4f f20af86b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Apr 21 03:56:56 2023 +0800

    Merge branch '5.0/use-current-interface-for-how-reported2' into 5.0-trunk

diff --cc docs/UPGRADING-5.0
index c51eada8,e205fe6c..67ce05ed
--- a/docs/UPGRADING-5.0
+++ b/docs/UPGRADING-5.0
@@@ -246,30 -246,21 +246,47 @@@ moving the scrip to Batch mode may rest
  
  =over 4
  
 +=item * Process Articles for Incidents
 +
 +Starting with RTIR 5.0.4, we include a new portlet on the Incident page
 +which can show the process to be followed for an Incident based on the
 +selected Classification.
 +
 +Default articles for the process documentation are installed in new RTIRs
 +by default. For an existing RTIR system, you can also add the starter
 +articles by running the following after your upgrade:
 +
 +    cd /opt/rt5
 +    sbin/rt-setup-database --action insert --datafile local/plugins/RT-IR/etc/upgrade/process_articles_initialdata
 +
 +=item * Allow DutyTeam to See Templates Articles
 +
 +This upgrade runs a step to grant the default DutyTeam group rights to
 +see custom fields in the Templates class. This allows DutyTeam members
 +to use articles when corresponding on tickets. This right was previously
 +omitted in error.
 +
 +If you explicitly do not want DutyTeam to see the articles in the Templates
 +class, you can edit the class and remove the SeeCustomField right after you
 +run the upgrade.
 +
+ =item * "How Reported" no longer defaults to Email
+ 
+ In previous versions of RTIR, L<RT::Action::RTIR_SetHowReported> automatically
+ set the "How Reported" custom field on Incident Reports to "Email" if no
+ value was provided. In RTIR 5.0.4 we updated this action to get the value
+ from RT's L<RT/CurrentInterface> method, so it will automatically be set
+ to values like "Web" or "REST2" if a ticket is created that way rather than
+ always "Email".
+ 
+ If you prefer defaulting to "Email", you can disable this scrip and set "Email"
+ as a default value in the Incident Reports queue configuration.
+ 
+ If you want to see new values set automatically, you can update you values
+ list for "How Reported" to include these new values:
+ 
+     "API", "CLI", "REST", "REST2", and "Web"
+ 
 +=back
 +
  =cut

commit f20af86bba916b40451d1210ee76677b5ab0b1cc
Author: Ronaldo Richieri <ronaldo at bestpractical.com>
Date:   Thu Jan 19 16:08:53 2023 -0300

    Document the changes to RTIR_SetHowReported in UPGRADING

diff --git a/docs/UPGRADING-5.0 b/docs/UPGRADING-5.0
index b7c43498..e205fe6c 100644
--- a/docs/UPGRADING-5.0
+++ b/docs/UPGRADING-5.0
@@ -242,4 +242,25 @@ moving the scrip to Batch mode may restore the previous behavior.
 
 =back
 
+=head1 UPGRADING FROM 5.0.3 AND EARLIER
+
+=over 4
+
+=item * "How Reported" no longer defaults to Email
+
+In previous versions of RTIR, L<RT::Action::RTIR_SetHowReported> automatically
+set the "How Reported" custom field on Incident Reports to "Email" if no
+value was provided. In RTIR 5.0.4 we updated this action to get the value
+from RT's L<RT/CurrentInterface> method, so it will automatically be set
+to values like "Web" or "REST2" if a ticket is created that way rather than
+always "Email".
+
+If you prefer defaulting to "Email", you can disable this scrip and set "Email"
+as a default value in the Incident Reports queue configuration.
+
+If you want to see new values set automatically, you can update you values
+list for "How Reported" to include these new values:
+
+    "API", "CLI", "REST", "REST2", and "Web"
+
 =cut

-----------------------------------------------------------------------

Summary of changes:
 docs/UPGRADING-5.0                   | 17 ++++++++++++++++
 etc/initialdata                      | 11 +++++++---
 lib/RT/Action/RTIR_SetHowReported.pm | 39 ++++++++++++++++++++++++++++++++----
 3 files changed, 60 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
rtir


More information about the rt-commit mailing list