logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rt-email-group-admin - Command line tool for administrating NotifyGroup actions

Author

       Ruslan U. Zakirov <ruz@bestpractical.com>

Commands

list
       Lists actions and its descriptions.

   createNAME[--comment][--groupGNAME][--userNAME-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.

   addNAME[--groupGNAME][--userNAME-OR-EMAIL]
       Adds groups and/or users to recipients of the action NAME.  The user, if specified, will be auto-created
       if necessary.

   deleteNAME
       Deletes action NAME if scrips doesn't use it.

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

   renameNAME--newnameNEWNAME
       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.

Description

       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 following scrip to your Bugs queue:

           Condition: On Create
           Action:    Notify developers
           Template:  Transaction
           Stage:     TransactionCreate

       Your development team will be notified on every new ticket in the queue.

Name

       rt-email-group-admin - Command line tool for administrating NotifyGroup actions

See Also

       RT::Action::NotifyGroup, RT::Action::NotifyGroupAsComment

perl v5.40.1                                       2025-05-21                            rt-email-group-admin(8)

Synopsis

           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'

Usage

       rt-email-group-admin --COMMAND ARGS

See Also