rt-email-group-admin-5(8)

rt-email-group-admin-58

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

Usage

rt-email-group-admin --COMMAND ARGS

Commands

list

Lists actions and its descriptions.

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.

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.

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Ruslan U. Zakirov <[email protected]>

From request-tracker5 5.0.7+dfsg-4+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.