RT-EMAI...P-ADMIN(1)

πŸ“¦
version 5.0.10 Β· 4 versions
, in fedora 43

🌸 rt-email-group-admin πŸ’Œ

okay bestie, so this is rt-email-group-admin, a command line tool from the User Contributed Perl Documentation section of the manual, and it's your new fave thing for administrating NotifyGroup actions. yes it's a mouthful, we're keeping the whole name, slay.


✨ SYNOPSIS ✨

like, here's every way you can call it, verbatim, don't @ me:

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'

eight entire vibes, one little script. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so this script will list, create, modify or delete scrip actions in the RT DB. that's the whole job. that's the assignment.

and once you've created an action?? you can use it in a scrip. periodt. πŸ’…

for example, you can create the following action using this script:

rt-email-group-admin --create 'Notify developers' --group 'Development Team'

and then β€” okay this is the fun part β€” 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 gets notified on every single new ticket in the queue. it's giving auto-pilot. it's giving never-forget-again. πŸ˜­πŸ’–


πŸŽ€ USAGE πŸŽ€

the shape of it, bestie:

rt-email-group-admin --COMMAND ARGS

command first, args after. that's the whole dance.


πŸ‘‘ COMMANDS πŸ‘‘

here's the menu, pick your fighter ⭐

🌈 list

Lists actions and its descriptions.

literally just say the word and it tells you everything it's got. ✨

πŸ’Œ 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 auto-created if necessary.

so you name it, you tell it who to tell, and if the user doesn't exist yet?? it just makes them. no cap. 🫢

πŸ¦‹ 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 auto-created if necessary.

aka you already made the action, now you're just adding more people to the group chat. and yeah, auto-created users again, iconic.

πŸ’€ delete NAME

Deletes action NAME if scrips doesn't use it.

⚠️ bestie read that twice: if a scrip is using it, it is NOT getting deleted. the script said no. πŸ™ˆ

πŸ”₯ switch NAME

Switch action NAME from notify as correspondence to comment and back.

it's a toggle. one way, then the other way. correspondence ⇄ comment. slay.

🧚 rename NAME --newname NEWNAME

Renames action NAME to NEWNAME.

glow-up arc for your action, honestly.

πŸ“ NOTES

If command has option --group or --user then you can use it more then once, if other is not specified.

πŸ’‘ iykyk: repeat --group/--user as many times as you want β€” just not both at the same time, okay?? that's the rule.

✍️ AUTHOR ✍️

Ruslan U. Zakirov <ruz@bestpractical.com>

thank you for your service πŸ«‘πŸ’œ


πŸ” SEE ALSO πŸ”

  • RT::Action::NotifyGroup
  • RT::Action::NotifyGroupAsComment

go read those if you want the deep lore, bestie. πŸ“šβœ¨


and that's the whole page!! perl v5.42.3, dated 2026-07-20, from the User Contributed Perl Documentation girlies themselves. xoxo, go notify somebody πŸ’–πŸŒΈπŸ’…

πŸ“¦ where this page comes from