[Bps-public-commit] RT-Extension-MandatoryOnTransition branch master updated. 0.21-4-gba37835
BPS Git Server
git at git.bestpractical.com
Thu Dec 23 16:28:53 UTC 2021
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 "RT-Extension-MandatoryOnTransition".
The branch, master has been updated
via ba37835910e5ea883a977dce12b9e88a895b4154 (commit)
via ea044bc2edd6d660e152b11f5628d4313cee4c47 (commit)
via f01a961a2737ce5192011c8794b387f895c756c1 (commit)
via 5beb80e6d37d7333015ecc2ce2ed76083e5e9eea (commit)
from 94456615aa94d07f401f5aac7afa6f2d3b9d28af (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 ba37835910e5ea883a977dce12b9e88a895b4154
Merge: 9445661 ea044bc
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu Dec 23 11:27:39 2021 -0500
Merge branch 'support-rtir'
diff --cc README
index 1bbead6,8eae2f6..1268a30
--- a/README
+++ b/README
@@@ -3,11 -3,12 +3,13 @@@ NAM
custom fields on status transitions
RT VERSION
- Works with RT 4.0, 4.2, 4.4, 5.0
+ Works with RT 4.4, 5.0
- See below for some restrictions on RT 4.0.
+ RT 4.0 and 4.2 are now end-of-life, so compatibility with newer versions
+ of this extension is unknown.
+ Also works with RTIR 5.0.3 and later
+
DESCRIPTION
This RT extension enforces that certain fields have values before
tickets are explicitly moved to or from specified statuses. If you list
diff --cc lib/RT/Extension/MandatoryOnTransition.pm
index cf05e46,8a872e1..5cc3a78
--- a/lib/RT/Extension/MandatoryOnTransition.pm
+++ b/lib/RT/Extension/MandatoryOnTransition.pm
@@@ -10,11 -10,12 +10,13 @@@ RT-Extension-MandatoryOnTransition - Re
=head1 RT VERSION
-Works with RT 4.0, 4.2, 4.4, 5.0
+Works with RT 4.4, 5.0
-See below for some restrictions on RT 4.0.
+RT 4.0 and 4.2 are now end-of-life, so compatibility with
+newer versions of this extension is unknown.
+ Also works with RTIR 5.0.3 and later
+
=head1 DESCRIPTION
This RT extension enforces that certain fields have values before tickets are
commit ea044bc2edd6d660e152b11f5628d4313cee4c47
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu Dec 23 11:15:02 2021 -0500
Document RTIR support
diff --git a/README b/README
index 9d26660..8eae2f6 100644
--- a/README
+++ b/README
@@ -7,6 +7,8 @@ RT VERSION
See below for some restrictions on RT 4.0.
+ Also works with RTIR 5.0.3 and later
+
DESCRIPTION
This RT extension enforces that certain fields have values before
tickets are explicitly moved to or from specified statuses. If you list
@@ -85,6 +87,12 @@ INSTALLATION
Restart your webserver
+ If running with RTIR, the Plugin line for RTIR must come first in your
+ configuration as shown below.
+
+ Plugin('RT::IR');
+ Plugin('RT::Extension::MandatoryOnTransition');
+
CONFIGURATION
To define which fields should be mandatory on certain status changes
(either globally or in a specific queue) use the %MandatoryOnTransition
diff --git a/lib/RT/Extension/MandatoryOnTransition.pm b/lib/RT/Extension/MandatoryOnTransition.pm
index b811583..8a872e1 100644
--- a/lib/RT/Extension/MandatoryOnTransition.pm
+++ b/lib/RT/Extension/MandatoryOnTransition.pm
@@ -14,6 +14,8 @@ Works with RT 4.0, 4.2, 4.4, 5.0
See below for some restrictions on RT 4.0.
+Also works with RTIR 5.0.3 and later
+
=head1 DESCRIPTION
This RT extension enforces that certain fields have values before tickets are
@@ -114,6 +116,12 @@ or add C<RT::Extension::MandatoryOnTransition> to your existing C<@Plugins> line
=back
+If running with RTIR, the C<Plugin> line for RTIR must come first in your
+configuration as shown below.
+
+ Plugin('RT::IR');
+ Plugin('RT::Extension::MandatoryOnTransition');
+
=head1 CONFIGURATION
To define which fields should be mandatory on certain status changes
-----------------------------------------------------------------------
Summary of changes:
README | 8 ++++++++
.../RTIR/Incident/Elements/ReplyForm/AfterWorked | 1 +
.../RTIR/Incident/Reply/index.html/BeforeUpdate | 1 +
.../{Ticket/Modify.html/Default => RTIR/Update.html/BeforeUpdate} | 6 ++++++
.../Ticket/Update.html/AfterWorked | 5 +++++
lib/RT/Extension/MandatoryOnTransition.pm | 8 ++++++++
6 files changed, 29 insertions(+)
create mode 100644 html/Callbacks/RT-Extension-MandatoryOnTransition/RTIR/Incident/Elements/ReplyForm/AfterWorked
create mode 100644 html/Callbacks/RT-Extension-MandatoryOnTransition/RTIR/Incident/Reply/index.html/BeforeUpdate
copy html/Callbacks/RT-Extension-MandatoryOnTransition/{Ticket/Modify.html/Default => RTIR/Update.html/BeforeUpdate} (57%)
hooks/post-receive
--
RT-Extension-MandatoryOnTransition
More information about the Bps-public-commit
mailing list