|
create_ticket_ok ARGSCreates a new ticket, passing ARGS along to the creation command (after the props separator).Returns a list of the luid and uuid of the newly created ticket. update_ticket_ok ID ARGSUpdates the ticket #ID, passing ARGS along to the update command.Returns nothing interesting. create_ticket_comment_ok ARGSCreates a new ticket comment, passing ARGS along to the creation command.Returns a list of the luid and uuid of the newly created comment. create_ticket_ok luidTakes a LUID and returns the corresponding UUID.Returns undef if none can be found. get_luid_for_uuid UUIDTakes a UUID and returns the corresponding LUID.Returns undef if none can be found. create_ticket_with_editor_ok [ '--verbose' ... ]Creates a ticket and comment at the same time using a spawned editor. It's expected that $ENV{VISUAL} has been frobbed into something non-interactive, or this test will just hang forever. Any extra arguments passed in will be passed on to sd ticket create.Returns a list of the ticket luid, ticket uuid, comment luid, and comment uuid. update_ticket_with_editor_ok TICKET_LUID, TICKET_UUID [ '--verbose' ]Updates the ticket given by TICKET_UUID using a spawned editor. It's expected that $ENV{VISUAL} has been frobbed into something non-interactive, or this test will just hang forever. Any extra arguments passed in will be passed on to sd ticket update.Returns the luid and uuid of the comment created during the update (both will be undef if none is created). update_ticket_comment_with_editor_ok COMMENT_LUID, COMMENT_UUIDUpdates the ticket comment given by COMMENT_UUID using a spawned editor. It's expected that $ENV{VISUAL} has been frobbed into something non-interactive, or this test will just hang forever.get_ticket_info LUID/UUIDReturns a hash reference with information about ticket.
Visit the GSP FreeBSD Man Page Interface. |