Skip to main content

create_ticket

Function create_ticket 

Source
pub fn create_ticket(
    store: &Store,
    spec: NewTicket,
    actor: &str,
    now: DateTime<Utc>,
) -> Result<Ticket>
Expand description

Create a ticket, allocate its ID, place it on a list, and persist both the ticket file and the board. Returns the created ticket.