[Rt-commit] rt branch, 5.0/create-tickets-skip-flag, repushed

Craig Kaiser craig at bestpractical.com
Fri Jun 18 11:22:59 EDT 2021


The branch 5.0/create-tickets-skip-flag was deleted and repushed:
       was b196bfe7f336b4568d9b41ab485f6f348abd2c7c
       now f9e7a767800f43facb823552f4aa7be06a554c1a

1: b196bfe7f3 ! 1: f9e7a76780 Allow skipping of create ticket blocks through passing arg
    @@ -14,10 +14,12 @@
      
     +=head3 SkipCreate
     +
    -+This flag allows for ticket creation to be skipped programatically. For example, taking a looking at
    -+the example above. The template creates two different tickets, maybe a sexond approval ticket shouldn't
    -+be created if the tickets priority is low. Using Perl logic we can check some information about the
    -+ticket and decide using this flag if we should skip creating this ticket:
    ++This flag allows for ticket creation to be skipped programatically.
    ++Taking a look at the example above the template creates two different
    ++tickets, maybe a second approval ticket shouldn't be created if the
    ++ticket's priority is low. Using Perl logic we can check some information
    ++about the ticket and decide using this flag if we should skip creating
    ++this ticket:
     +
     + ===Create-Ticket: two
     + SkipCreate: {$Tickets{'TOP'}->Priority eq 'Low' ? 1 : 0}



More information about the rt-commit mailing list