rt-email-group-admin(8)
π rt-email-group-admin β the manual (8)
okay bestie, gather round, because this is rt-email-group-admin, a Request Tracker Reference page, and it's literally the command line tool for administrating NotifyGroup actions. yes it's a mouthful. no we're not shortening it. π
β¨ NAME β¨
rt-email-group-admin β Command line tool for administrating NotifyGroup actions π«Ά
π SYNOPSIS π
here's the whole vibe, copy-paste ready, no cap:
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 foo@bar.com' --user foo@bar.com
rt-email-group-admin --create 'Notify VIPs' --user vip1@bar.com
rt-email-group-admin --add 'Notify VIPs' --user vip2@bar.com --group vip1 --user vip3@foo.com
rt-email-group-admin --rename 'Notify VIPs' --newname 'Inform VIPs'
rt-email-group-admin --switch 'Notify VIPs'
rt-email-group-admin --delete 'Notify user foo@bar.com'
look at all those little jobs it can do. it's giving multitasking icon. π
π¦ DESCRIPTION π¦
so basically this script lists, creates, modifies or deletes scrip actions in the RT DB. and once you've made an action? you can use it in a scrip. that's the whole point, that's the assignment. β¨
for example (and this is the original example, i'm not making this up), you can create the following action using this script:
rt-email-group-admin --create 'Notify developers' --group 'Development Team'
and THEN, bestie, you can add the following scrip to your Bugs queue:
Condition: On Create
Action: Notify developers
Template: Transaction
Stage: TransactionCreate
and boom π₯ your development team will be notified on every new ticket in the queue. iconic behavior honestly.
π USAGE π
rt-email-group-admin --COMMAND ARGS
that's it. that's the format. command, then args, go off. π
π COMMANDS π
β list
Lists actions and its descriptions. short, sweet, does exactly what it says on the tin.
π create NAME [--comment] [--group GNAME] [--user NAME-OR-EMAIL]
Creates new action with NAME and adds users and/or groups to its recipient list. Would be notify as comment if --comment specified. The user, if specified, will be autocreated if necessary. (yes, it just makes them for you. generous fr fr.)
π§ add NAME [--group GNAME] [--user NAME-OR-EMAIL]
Adds groups and/or users to recipients of the action NAME. The user, if specified, will be autocreated if necessary. same deal as above.
π delete NAME
Deletes action NAME if scrips doesn't use it. so if a scrip is holding onto it? nope, no delete for you. π
πΈ switch NAME
Switch action NAME from notify as correspondence to comment and back. it's a toggle, bestie. flip it, flop it.
π rename NAME --newname NEWNAME
Renames action NAME to NEWNAME. glow-up arc for your action names.
π NOTES
If command has option --group or --user then you can use it more then once, if other is not specified.
so like β repeat--groupas many times as you want, or repeat--useras many times as you want. just don't try to double up on both at the same time, iykyk. π«Ά
π«Ά AUTHOR π«Ά
Ruslan U. Zakirov <ruz@bestpractical.com>
π SEE ALSO π
RT::Action::NotifyGroupRT::Action::NotifyGroupAsComment
and that's the whole page, bestie!! π written against perl v5.38.2, dated 2023-10-29, and that's your rt-email-group-admin(8) moment. go notify somebody. slay. π
β¨π
π¦ where this page comes from
- ubuntu noble: request-tracker4 4.4.7+dfsg-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms