Changes between Version 4 and Version 5 of NewTicketLikeThisPlugin


Ignore:
Timestamp:
Mar 3, 2015, 8:36:32 PM (7 years ago)
Author:
figaro
Comment:

Reinstated intended formatting

Legend:

Unmodified
Added
Removed
Modified
  • NewTicketLikeThisPlugin

    v4 v5  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = New Ticket Like This =
     3= New Ticket Like This
    44
    5 == Description ==
     5== Description
    66
    7 The NewTicketLikeThisPlugin adds a "Clone" button to existing tickets,
    8 which lets you create a new ticket whose fields derive from the original
    9 ticket if you have the appropriate permission.
     7The NewTicketLikeThisPlugin adds a "Clone" button to existing tickets, which lets you create a new ticket of which the fields are derived from the original ticket if you have the appropriate permission.
    108
    11 It is based on the tracopt.ticket.clone.ticketclonebutton extension that
    12 ships with Trac core.  Unlike that extension, the NewTicketLikeThisPlugin
    13 defines and consumes a pluggable interface for implementing custom policies
    14 to determine the way in which a new ticket is derived from the original.
    15 This allows flexible, customized business logic to be provided based on
    16 the needs and workflows of your team.  Also, the NewTicketLikeThisPlugin
    17 allows you to configure the permission required to clone a ticket, whereas
    18 the core ``ticketclonebutton`` hard-codes the TICKET_ADMIN permission.
     9It is based on the tracopt.ticket.clone.ticketclonebutton extension that ships with Trac core. Unlike that extension, the NewTicketLikeThisPlugin defines and consumes a pluggable interface for implementing custom policies to determine the way in which a new ticket is derived from the original.
     10This allows flexible, customized business logic to be provided based on the needs and workflows of your team. Also, the NewTicketLikeThisPlugin allows you to configure the permission required to clone a ticket, whereas the core `ticketclonebutton` hard-codes the TICKET_ADMIN permission.
    1911
    20 Two policies are provided by default, in the ``newticketlikethis.policies``
    21 module:
     12Two policies are provided by default in the `newticketlikethis.policies` module:
    2213
    23 * !SimpleTicketCloner mimics the behavior of the ``core tracopt.ticket.clone.ticketclonebutton`` extension: all fields from the original ticket are cloned, and the "summary" and "description" fields are modified to denote the ticket that they were cloned from.
     14* !SimpleTicketCloner mimics the behavior of the `core tracopt.ticket.clone.ticketclonebutton` extension: all fields from the original ticket are cloned, and the "summary" and "description" fields are modified to denote the ticket that they were cloned from.
    2415
    25 * !ExcludedFieldsTicketCloner clones all fields from the original ticket with no modifications.  It can also ignore certain fields entirely, based on a configuration setting, which will force the new ticket to be generated with the system's default values (or no values) for the fields that were excluded.
     16* !ExcludedFieldsTicketCloner clones all fields from the original ticket with no modifications. It can also ignore certain fields entirely, based on a configuration setting, which will force the new ticket to be generated with the system's default values (or no values) for the fields that were excluded.
    2617
    27 More complex policies might implement custom logic for deriving new ticket
    28 values based on the values of the existing ticket's fields, or use
    29 alternate cloning policies based on the ticket's type.
     18More complex policies might implement custom logic for deriving new ticket values based on the values of the existing ticket's fields, or use alternate cloning policies based on the ticket's type.
    3019
     20== Bugs/Feature Requests
    3121
    32 == Bugs/Feature Requests ==
     22Existing bugs and feature requests for NewTicketLikeThisPlugin are [report:9?COMPONENT=NewTicketLikeThisPlugin here].
    3323
    34 Existing bugs and feature requests for NewTicketLikeThisPlugin are
    35 [report:9?COMPONENT=NewTicketLikeThisPlugin here].
     24If you have any issues, create a [http://trac-hacks.org/newticket?component=NewTicketLikeThisPlugin&owner=ejucovy new ticket].
    3625
    37 If you have any issues, create a
    38 [http://trac-hacks.org/newticket?component=NewTicketLikeThisPlugin&owner=ejucovy new ticket].
    39 
    40 == Download ==
     26== Download
    4127
    4228Download the zipped source from [https://github.com/boldprogressives/trac-NewTicketLikeThisPlugin/tags here].
    4329
    44 == Source ==
     30== Source
    4531
    4632You can clone NewTicketLikeThisPlugin from [git://github.com/boldprogressives/trac-NewTicketLikeThisPlugin.git here] using Git, or [https://github.com/boldprogressives/trac-NewTicketLikeThisPlugin browse the source] with Github.
    4733
    48 == Example ==
     34== Example
    4935
    50 To use the plugin, install it in your Trac environment and enable its
    51 components in ``trac.ini``::
     36To use the plugin, install it in your Trac environment and enable its components in `trac.ini`:
    5237{{{
    5338  [components]
    5439  newticketlikethis.* = enabled
    5540}}}
    56 By default this will add the "Clone" button to the ticket view, and
    57 will use the ``SimpleTicketCloner`` component to clone your tickets.
    58 The ``TICKET_ADMIN`` permission will be required for cloning tickets.
    5941
     42By default this will add the "Clone" button to the ticket view, and will use the `SimpleTicketCloner` component to clone your tickets.
     43The `TICKET_ADMIN` permission will be required for cloning tickets.
    6044
    61 == Recent Changes ==
     45== Recent Changes
    6246
    6347[[ChangeLog(newticketlikethisplugin, 3)]]
    6448
    65 == Author/Contributors ==
     49== Author/Contributors
    6650
    6751'''Author:''' [wiki:ejucovy] [[BR]]