With powershell you can create the ticket with $result = Create-Syncro-Ticket...
and store the id in a variable simply with $ticket = $result.ticket.id
On bash, how do you reference that ticket id? Specifically for syncro create-syncro-ticket-comment
there’s a category for --ticket-id-or-number