Changes between Version 9 and Version 10 of TicketCreateButtonsPlugin
- Timestamp:
- Jul 11, 2014, 8:44:33 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketCreateButtonsPlugin
v9 v10 10 10 11 11 1. Under the appropriate section inside a TracIni file you can customize ticket properties as below: 12 {{{ 12 {{{#!ini 13 13 [ticket-create-buttons] 14 14 <field-name>.<argument> = value … … 25 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 26 2. Example - Using this plugin with MasterTicketsPlugin, the following configuration creates buttons to create predecessor and successor tickets: 27 {{{ 27 {{{#!ini 28 28 [ticket-create-buttons] 29 blockedby.tag = .//td[@headers= "h_blockedby"]29 blockedby.tag = .//td[@headers="h_blockedby"] 30 30 blockedby.label = Create 31 31 blockedby.title = Create a new predecessor … … 33 33 blockedby.link = blocking:id 34 34 35 blocking.tag = .//td[@headers= "h_blocking"]35 blocking.tag = .//td[@headers="h_blocking"] 36 36 blocking.label = Create 37 37 blocking.title = Create a new successor … … 40 40 }}} 41 41 1. Example - When used with SubticketsPlugin, new siblings can be created with: 42 {{{ 42 {{{#!ini 43 43 [ticket-create-buttons] 44 parents.tag = .//td[@headers= "h_parents"]44 parents.tag = .//td[@headers="h_parents"] 45 45 parents.label = Create 46 46 parents.title = Create a new sibling … … 56 56 1. '''Install''' plugin: 57 57 * with easy_install, globally: 58 {{{ 59 #!sh 58 {{{#!sh 60 59 $ [sudo] easy_install https://trac-hacks.org/svn/ticketcreatebuttonsplugin 61 60 }}} … … 63 62 1. '''Enable''' this component as follows: 64 63 * by updating [wiki:TracIni trac.ini] file under appropriate configuration section: 65 {{{ 64 {{{#!ini 66 65 [components] 67 66 ... … … 74 73 * by updating [wiki:TracIni trac.ini] file under appropriate configuration section: 75 74 i. case using this plugin with SubticketsPlugin 76 {{{ 75 {{{#!ini 77 76 [ticket-create-buttons] 78 77 parents.tag = .//td[@headers="h_parents"] … … 85 84 1. '''Restart''' web server: 86 85 * Apache on Ubuntu, example command line: 87 {{{ 88 #!sh 86 {{{#!sh 89 87 $ [sudo] /etc/init.d/apache2 restart 90 88 }}}