Ticket priority functionality set.

Signed-off-by: Amitav Roy <reachme@amitavroy.com>