[Bps-public-commit] RT-Extension-MandatoryOnTransition branch master updated. 0.23-1-g1efcaec
BPS Git Server
git at git.bestpractical.com
Fri Feb 2 14:45:14 UTC 2024
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 1efcaec9205755cfbde3145662a947a22a0fe8a9 (commit)
from dfc848d0216a4a52bcaf3abfd6248dcd473d467b (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 1efcaec9205755cfbde3145662a947a22a0fe8a9
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Fri Feb 2 09:44:10 2024 -0500
Clarify the example "to" status for __CREATE__ rules
The previous example used "open" which isn't a value status
when creating a ticket with the default RT lifecycle, so
it was confusing.
diff --git a/lib/RT/Extension/MandatoryOnTransition.pm b/lib/RT/Extension/MandatoryOnTransition.pm
index 77b6d00..976e1d5 100644
--- a/lib/RT/Extension/MandatoryOnTransition.pm
+++ b/lib/RT/Extension/MandatoryOnTransition.pm
@@ -143,13 +143,14 @@ For example,
Set( %MandatoryOnTransition,
'MyQueue' => {
- '__CREATE__ -> open' => [ 'CF.MyField1' ],
+ '__CREATE__ -> new' => [ 'CF.MyField1' ],
'* -> open' => [ 'CF.MyField2', 'CF.MyField3' ],
},
);
would require C<CF.MyField1> on ticket creation and C<CF.MyField2> and
-C<CF.MyField3> on any other transition to C<open>.
+C<CF.MyField3> on any other transition to C<open>. The C<to> status for
+CREATE rules must be a valid create status in the lifecycle.
The fallback for queues without specific rules is specified with C<'*'> where
the queue name would normally be.
-----------------------------------------------------------------------
Summary of changes:
lib/RT/Extension/MandatoryOnTransition.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
RT-Extension-MandatoryOnTransition
More information about the Bps-public-commit
mailing list