Changes between Version 9 and Version 10 of TicketCreateButtonsPlugin


Ignore:
Timestamp:
Jul 11, 2014, 8:44:33 PM (10 years ago)
Author:
Ryan J Ollos
Comment:

Fixed example.

Legend:

Unmodified
Added
Removed
Modified
  • TicketCreateButtonsPlugin

    v9 v10  
    1010
    1111  1. Under the appropriate section inside a TracIni file you can customize ticket properties as below:
    12      {{{
     12     {{{#!ini
    1313       [ticket-create-buttons]
    1414       <field-name>.<argument> = value
     
    2525||  `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  ||
    2626  2. Example - Using this plugin with MasterTicketsPlugin, the following configuration creates buttons to create predecessor and successor tickets:
    27      {{{
     27     {{{#!ini
    2828     [ticket-create-buttons]
    29      blockedby.tag = .//td[@headers=&#34;h_blockedby&#34;]
     29     blockedby.tag = .//td[@headers="h_blockedby"]
    3030     blockedby.label = Create
    3131     blockedby.title = Create a new predecessor
     
    3333     blockedby.link = blocking:id
    3434     
    35      blocking.tag = .//td[@headers=&#34;h_blocking&#34;]
     35     blocking.tag = .//td[@headers="h_blocking"]
    3636     blocking.label = Create
    3737     blocking.title = Create a new successor
     
    4040     }}}
    4141  1. Example - When used with SubticketsPlugin, new siblings can be created with:
    42      {{{
     42     {{{#!ini
    4343     [ticket-create-buttons]
    44      parents.tag = .//td[@headers=&#34;h_parents&#34;]
     44     parents.tag = .//td[@headers="h_parents"]
    4545     parents.label = Create
    4646     parents.title = Create a new sibling
     
    5656  1. '''Install''' plugin:
    5757     * with easy_install, globally:
    58        {{{
    59        #!sh
     58       {{{#!sh
    6059       $ [sudo] easy_install https://trac-hacks.org/svn/ticketcreatebuttonsplugin
    6160       }}}
     
    6362  1. '''Enable''' this component as follows:
    6463     * by updating [wiki:TracIni trac.ini] file under appropriate configuration section:
    65      {{{
     64     {{{#!ini
    6665     [components]
    6766     ...
     
    7473     * by updating [wiki:TracIni trac.ini] file under appropriate configuration section:
    7574       i. case using this plugin with SubticketsPlugin
    76        {{{
     75       {{{#!ini
    7776       [ticket-create-buttons]
    7877       parents.tag = .//td[@headers=&#34;h_parents&#34;]
     
    8584  1. '''Restart''' web server:
    8685     * Apache on Ubuntu, example command line:
    87        {{{
    88        #!sh
     86       {{{#!sh
    8987       $ [sudo] /etc/init.d/apache2 restart
    9088       }}}