[Rt-commit] rt branch add-sla-to-create-tickets created. rt-5.0.2-276-g7f687d8860
BPS Git Server
git at git.bestpractical.com
Tue Jun 14 16:17:27 UTC 2022
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".
The branch, add-sla-to-create-tickets has been created
at 7f687d88602fb9c7da87b4dfbf23f5bf03b2c373 (commit)
- Log -----------------------------------------------------------------
commit 7f687d88602fb9c7da87b4dfbf23f5bf03b2c373
Author: Brad Embree <brad at bestpractical.com>
Date: Tue Jun 14 09:16:41 2022 -0700
Add SLA to CreateTickets Acceptable Fields POD section
diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index 7811e32aea..9e1cf5e6bf 100644
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -203,6 +203,7 @@ A complete list of acceptable fields:
* Queue => Name or id# of a queue
Subject => A text string
! Status => A valid status. Defaults to 'new'
+ SLA => A valid SLA level
Due => Dates can be specified in seconds since the epoch
to be handled literally or in a semi-free textual
format which RT will attempt to parse.
commit d7fa5a35b99364ec0a355afa4eb6a75637e7f77b
Author: Brad Embree <brad at bestpractical.com>
Date: Tue Jun 14 09:13:14 2022 -0700
Add SLA to args CreateTickets accepts
diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index cbd1aa15a5..7811e32aea 100644
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -765,6 +765,7 @@ sub ParseLines {
SquelchMailTo => $args{'squelchmailto'},
Type => $args{'type'},
SkipCreate => $args{'skipcreate'} || 0,
+ SLA => $args{'sla'},
);
if ( $args{content} ) {
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list