Changes between Version 11 and Version 12 of TicketCreateButtonsPlugin


Ignore:
Timestamp:
Mar 12, 2015, 1:51:18 PM (9 years ago)
Author:
figaro
Comment:

Rearranged paragraphs, further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TicketCreateButtonsPlugin

    v11 v12  
    77The !TicketCreateButtons plugin creates configurable buttons in the ticket header to create related tickets.  The new ticket can inherit field values from the current ticket.
    88
    9 == Usage
     9== Bugs/Feature Requests
    1010
    11   1. Under the appropriate section inside a TracIni file you can customize ticket properties as below:
    12      {{{#!ini
    13        [ticket-create-buttons]
    14        <field-name>.<argument> = value
    15      }}}
    16      * Where `<field-name>.<argument> = value` can be one or many from below:
    17        * R - Required
    18        * O - Optional
    19 ||'''Argument''' ||'''Version''' ||'''R / O''' ||'''Description''' ||'''Default''' ||
    20 ||  `tag`  || >= 0.1 ||  R  ||Argument to `genshi.filters.Transfomer` used to find the ticket form element to which the button will be prepended. Typically a custom field name.[[BR]]* Example:  {{{ blockedby.tag = .//td[@headers="h_blockedby"] }}} ||  None  ||
    21 ||  `label`  || >= 0.1 ||  O  ||The label for the button.[[BR]]* Example:  {{{ blockedby.label = Create }}} ||  `<field-name>`  ||
    22 ||  `title`  || >= 0.1 ||  O  ||The HTML title element used as a tool tip for the button.[[BR]]* Example:  {{{ blockedby.title = Create predecessor }}} ||  None  ||
    23 ||  `inherit`  || >= 0.1 ||  O  ||Comma-separated list of fields whose values should be inherited from the current ticket. If present but blank, no fields are inherited.[[BR]]* Example:  {{{ blockedby.inherit = type, milestone }}} ||  No fields are inherited.  ||
    24 ||  `link`  || >= 0.1 ||  O  ||Comma-separated list of `newfield:currentfield` pairs used to link the two tickets. The `link` field override `inherit` field.[[BR]]* Example:  {{{ blockedby.link = blocking:id }}} sets the new ticket's blockedby field to the current tickets id. ||  None  ||
    25 ||  `set`  || >= 0.1 ||  O  ||Comma-separated list of `field:value` pairs for setting values in the new ticket. The `set` field override `inherit` and `link` fields. [[BR]]* Example:  {{{ set = keywords:Foo }}} sets the new ticket's keywords field to Foo.||  None  ||
    26   2. Example - Using this plugin with MasterTicketsPlugin, the following configuration creates buttons to create predecessor and successor tickets:
    27      {{{#!ini
    28      [ticket-create-buttons]
    29      blockedby.tag = .//td[@headers="h_blockedby"]
    30      blockedby.label = Create
    31      blockedby.title = Create a new predecessor
    32      blockedby.inherit = type, milestone
    33      blockedby.link = blocking:id
    34      
    35      blocking.tag = .//td[@headers="h_blocking"]
    36      blocking.label = Create
    37      blocking.title = Create a new successor
    38      blocking.inherit = type, milestone
    39      blocking.link = blockedby:id
    40      }}}
    41   1. Example - When used with SubticketsPlugin, new siblings can be created with:
    42      {{{#!ini
    43      [ticket-create-buttons]
    44      parents.tag = .//td[@headers="h_parents"]
    45      parents.label = Create
    46      parents.title = Create a new sibling
    47      parents.inherit = type, milestone, parents
    48      }}}
     11Existing '''[report:9?COMPONENT=TicketCreateButtonsPlugin bugs and feature requests]''' for !TicketCreateButtonsPlugin.
     12
     13If you have any issues, create a '''[/newticket?component=TicketCreateButtonsPlugin&owner=ChrisNelson new ticket]''' (please review base before creating).
     14
     15[[TicketQuery(component=TicketCreateButtonsPlugin&group=type,format=progress)]]
     16
     17== Source and Download
     18
     19You can [/svn/ticketcreatebuttonsplugin check out] !TicketCreateButtonsPlugin using Subversion, or [source:ticketcreatebuttonsplugin browse the source] with Trac, or [download:ticketcreatebuttonsplugin download] the zipped source.
    4920
    5021== Installation
     
    9263     [[BR]][[BR]]
    9364
    94 == Bugs/Feature Requests
     65== Configuration and examples
    9566
    96 Existing '''[report:9?COMPONENT=TicketCreateButtonsPlugin bugs and feature requests]''' for !TicketCreateButtonsPlugin.
    97 
    98 If you have any issues, create a '''[/newticket?component=TicketCreateButtonsPlugin&owner=ChrisNelson new ticket]''' (please review base before creating).
    99 
    100 [[TicketQuery(component=TicketCreateButtonsPlugin&group=type,format=progress)]]
    101 
    102 == Source and Download
    103 
    104 You can [/svn/ticketcreatebuttonsplugin check out] !TicketCreateButtonsPlugin using Subversion, or [source:ticketcreatebuttonsplugin browse the source] with Trac, or [download:ticketcreatebuttonsplugin download] the zipped source.
     67  1. Under the appropriate section inside a TracIni file you can customize ticket properties as below:
     68     {{{#!ini
     69       [ticket-create-buttons]
     70       <field-name>.<argument> = value
     71     }}}
     72     where `<field-name>.<argument> = value` can be one or many from below:
     73       * R - Required
     74       * O - Optional
     75||'''Argument''' ||'''Version''' ||'''R / O''' ||'''Description''' ||'''Default''' ||
     76||  `tag`  || >= 0.1 ||  R  ||Argument to `genshi.filters.Transfomer` used to find the ticket form element to which the button will be prepended. Typically a custom field name.[[BR]]* Example:  {{{ blockedby.tag = .//td[@headers="h_blockedby"] }}} ||  None  ||
     77||  `label`  || >= 0.1 ||  O  ||The label for the button.[[BR]]* Example:  {{{ blockedby.label = Create }}} ||  `<field-name>`  ||
     78||  `title`  || >= 0.1 ||  O  ||The HTML title element used as a tool tip for the button.[[BR]]* Example:  {{{ blockedby.title = Create predecessor }}} ||  None  ||
     79||  `inherit`  || >= 0.1 ||  O  ||Comma-separated list of fields whose values should be inherited from the current ticket. If present but blank, no fields are inherited.[[BR]]* Example:  {{{ blockedby.inherit = type, milestone }}} ||  No fields are inherited.  ||
     80||  `link`  || >= 0.1 ||  O  ||Comma-separated list of `newfield:currentfield` pairs used to link the two tickets. The `link` field override `inherit` field.[[BR]]* Example:  {{{ blockedby.link = blocking:id }}} sets the new ticket's blockedby field to the current tickets id. ||  None  ||
     81||  `set`  || >= 0.1 ||  O  ||Comma-separated list of `field:value` pairs for setting values in the new ticket. The `set` field override `inherit` and `link` fields. [[BR]]* Example:  {{{ set = keywords:Foo }}} sets the new ticket's keywords field to Foo.||  None  ||
     82  2. '''Example''': Using this plugin with MasterTicketsPlugin, the following configuration creates buttons to create predecessor and successor tickets:
     83     {{{#!ini
     84     [ticket-create-buttons]
     85     blockedby.tag = .//td[@headers="h_blockedby"]
     86     blockedby.label = Create
     87     blockedby.title = Create a new predecessor
     88     blockedby.inherit = type, milestone
     89     blockedby.link = blocking:id
     90     
     91     blocking.tag = .//td[@headers="h_blocking"]
     92     blocking.label = Create
     93     blocking.title = Create a new successor
     94     blocking.inherit = type, milestone
     95     blocking.link = blockedby:id
     96     }}}
     97  1. '''Example''': When used with SubticketsPlugin, new siblings can be created with:
     98     {{{#!ini
     99     [ticket-create-buttons]
     100     parents.tag = .//td[@headers="h_parents"]
     101     parents.label = Create
     102     parents.title = Create a new sibling
     103     parents.inherit = type, milestone, parents
     104     }}}
    105105
    106106== Recent Changes