rt-email-group-admin-3.88
Command line tool for administrating notifygroup actions
Usage
rt-email-group-admin --list
rt-email-group-admin --create
'Notify
foo
team'
--group
Foo
rt-email-group-admin --create
'Notify
foo
team
as
comment'
--comment
--group
Foo
rt-email-group-admin --create
'Notify
group
Foo
and
Bar'
--group
Foo
--group
Bar
rt-email-group-admin --create
'Notify
user
[email protected]'
--user
[email protected]
rt-email-group-admin --create
'Notify
VIPs'
--user
[email protected]
rt-email-group-admin --add
'Notify
VIPs'
--user
[email protected]
--group
vip1
--user
[email protected]
rt-email-group-admin --rename
'Notify
VIPs'
--newname
'Inform
VIPs'
rt-email-group-admin --switch
'Notify
VIPs'
rt-email-group-admin --delete
'Notify
user
[email protected]'
Overview
This script list, create, modify or delete scrip actions in the RT DB. Once you've created an action you can use it in a scrip.
For example you can create the following action using this script:
rt-email-group-admin --create 'Notify developers' --group 'Development Team'
Then you can add the followoing scrip to your Bugs queue:
Condition: On CreateAction: Notify developersTemplate: TransactionStage: TransactionCreate
Your development team will be notified on every new ticket in the queue.
Usage
rt-email-group-admin --COMMAND ARGS
Commands
list
Lists actions and its descriptions.
create NAME [--comment] [--group GNAME] [--user UNAME]
Creates new action with NAME and adds users and/or groups to its recipient list. Would be notify as comment if --comment specified.
add NAME [--group GNAME] [--user UNAME]
Adds groups and/or users to recipients of the action NAME.
delete NAME
Deletes action NAME if scrips doesn't use it.
switch NAME
Switch action NAME from notify as correspondence to comment and back.
rename NAME --newname NEWNAME
Renames action NAME to NEWNAME.
Notes
If command has option --group or --user then you can use it more then once, if other is not specified.