1RT-EMAIL-GROUP-ADMIN(1)User Contributed Perl DocumentatioRnT-EMAIL-GROUP-ADMIN(1)
2
3
4
6 rt-email-group-admin - Command line tool for administrating NotifyGroup
7 actions
8
10 rt-email-group-admin --list
11 rt-email-group-admin --create 'Notify foo team' --group Foo
12 rt-email-group-admin --create 'Notify foo team as comment' --comment --group Foo
13 rt-email-group-admin --create 'Notify group Foo and Bar' --group Foo --group Bar
14 rt-email-group-admin --create 'Notify user foo@bar.com' --user foo@bar.com
15 rt-email-group-admin --create 'Notify VIPs' --user vip1@bar.com
16 rt-email-group-admin --add 'Notify VIPs' --user vip2@bar.com --group vip1 --user vip3@foo.com
17 rt-email-group-admin --rename 'Notify VIPs' --newname 'Inform VIPs'
18 rt-email-group-admin --switch 'Notify VIPs'
19 rt-email-group-admin --delete 'Notify user foo@bar.com'
20
22 This script list, create, modify or delete scrip actions in the RT DB.
23 Once you've created an action you can use it in a scrip.
24
25 For example you can create the following action using this script:
26
27 rt-email-group-admin --create 'Notify developers' --group 'Development Team'
28
29 Then you can add the following scrip to your Bugs queue:
30
31 Condition: On Create
32 Action: Notify developers
33 Template: Transaction
34 Stage: TransactionCreate
35
36 Your development team will be notified on every new ticket in the
37 queue.
38
40 rt-email-group-admin --COMMAND ARGS
41
43 list
44 Lists actions and its descriptions.
45
46 create NAME [--comment] [--group GNAME] [--user NAME-OR-EMAIL]
47 Creates new action with NAME and adds users and/or groups to its
48 recipient list. Would be notify as comment if --comment specified. The
49 user, if specified, will be autocreated if necessary.
50
51 add NAME [--group GNAME] [--user NAME-OR-EMAIL]
52 Adds groups and/or users to recipients of the action NAME. The user,
53 if specified, will be autocreated if necessary.
54
55 delete NAME
56 Deletes action NAME if scrips doesn't use it.
57
58 switch NAME
59 Switch action NAME from notify as correspondence to comment and back.
60
61 rename NAME --newname NEWNAME
62 Renames action NAME to NEWNAME.
63
64 NOTES
65 If command has option --group or --user then you can use it more then
66 once, if other is not specified.
67
69 Ruslan U. Zakirov <ruz@bestpractical.com>
70
72 RT::Action::NotifyGroup, RT::Action::NotifyGroupAsComment
73
74
75
76perl v5.36.1 2023-10-21 RT-EMAIL-GROUP-ADMIN(1)