Changes between Version 2 and Version 3 of RemoteTicketPlugin


Ignore:
Timestamp:
Nov 18, 2010, 4:45:19 PM (13 years ago)
Author:
Alex Willmer
Comment:

Add configuration instructions

Legend:

Unmodified
Added
Removed
Modified
  • RemoteTicketPlugin

    v2 v3  
    55== Description ==
    66
    7 Link tickets in one Trac instance to tickets in other Trac instances. The plugin requires the ticket-links branch of Trac. Currently this means you must be running Trac from [https://bitbucket.org/moreati/trac-ticketlinks/].
     7Link tickets in one Trac instance to tickets in other Trac instances. Links and their behaviour are configurable - e.g. parents/children, blockers/blockedby.
     8
     9The builds on and requires the ticket-links branch of Trac. Currently this means you must be running Trac from [https://bitbucket.org/moreati/trac-ticketlinks/]. XmlRpcPlugin is also required to perform remote fetching of ticket details.
    810
    911== Bugs/Feature Requests ==
     
    2527== Example ==
    2628
    27 To follow
     29To configure ticket-links for a relationship in which
     30 - Any ticket may depend on and be dependant on many tickets
     31 - A ticket may not be closed until all tickets it depends on are closed
     32
     33{{{
     34[ticket-links]
     35dependency = dependson,dependant
     36dependency.validator = no_cycle
     37dependant.label = Dependant
     38dependson.label = Depends on
     39dependson.blocks = true
     40}}}
     41
     42To confgiure a relationship in which
     43 - A ticket may have many child tickets, and at most one parent ticket
     44 - A new child ticket will have it's summary and description pre-populated from it's parent
     45 - A parent ticket may not be closed until all child tickets are closed
     46
     47{{{
     48[ticket-links]
     49parentchild = parent,children
     50parentchild.validator = parent_child
     51children.blocks = true
     52children.label = Child
     53children.copy_fields = summary, description
     54parent.label = Parent
     55}}}
     56
     57To configure a relationship in which
     58 - A ticket may refer to another ticket, and there is not reciprocal link
     59 - A ticket may be closed regardless of the link
     60
     61{{{
     62[ticket-links]
     63reference = refersto
     64refersto.label = Refers to
     65}}}
     66
     67Many different relationships may be configured at once, relationship names must each be unique.
     68
     69
     70To enable the remote tickets plugin, add to your trac.ini
     71{{{
     72[components]
     73tracremoteticket.* = enabled
     74}}}
     75
     76To configure remote trac instances create a trac:InterTrac reference and add {{{remote_ticket = true}}}
     77{{{
     78[intertrac]
     79example.remote_ticket = true
     80example.title = Bravo
     81example.url = http://trac.example.org/
     82}}}
     83
     84Install XmlRpcPlugin and grant {{{XML_RPC}}} to {{{anonymous}}}.
     85
     86Configure the an trac:InterTrac reference, the same ticket-links relationships and the same XmlRpcPlugin grant in the remote Trac instance.
    2887
    2988== Recent Changes ==