Using the RT CLI with rt.perl.org
Installation Instructions
- Download RT::Client::CLI
which will provide an 'rt' command in your path.
cat > $HOME/.rtrc<<EOF
server https://rt.perl.org/
user USERNAME
passwd PASSWORD
EOF
where USERNAME is your bitcard.org username (or whatever it says "Logged in as" when you log into RT),
and
PASSWORD is your RT CLI
password.
Sample Things to Try
- rt ls 'queue="perl5" and ( status="new" or status="open")'
- rt show ticket/32383
- rt ls 'queue="parrot" and CF.parrot.{Tag} = "patch" and status="New"'
Things to put in your .profile
rtresolve() {
rt edit ticket/$1 set status=resolved
}
rtshow() {
rt show ticket/$1
}