All this was code I just wrote a few minutes ago, so the year is 2020.
This assumes a set of ticket ids on STDIN and reassigns them if they're open and in the queue specified on the CLI.