27 | | To follow |
| 29 | To 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] |
| 35 | dependency = dependson,dependant |
| 36 | dependency.validator = no_cycle |
| 37 | dependant.label = Dependant |
| 38 | dependson.label = Depends on |
| 39 | dependson.blocks = true |
| 40 | }}} |
| 41 | |
| 42 | To 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] |
| 49 | parentchild = parent,children |
| 50 | parentchild.validator = parent_child |
| 51 | children.blocks = true |
| 52 | children.label = Child |
| 53 | children.copy_fields = summary, description |
| 54 | parent.label = Parent |
| 55 | }}} |
| 56 | |
| 57 | To 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] |
| 63 | reference = refersto |
| 64 | refersto.label = Refers to |
| 65 | }}} |
| 66 | |
| 67 | Many different relationships may be configured at once, relationship names must each be unique. |
| 68 | |
| 69 | |
| 70 | To enable the remote tickets plugin, add to your trac.ini |
| 71 | {{{ |
| 72 | [components] |
| 73 | tracremoteticket.* = enabled |
| 74 | }}} |
| 75 | |
| 76 | To configure remote trac instances create a trac:InterTrac reference and add {{{remote_ticket = true}}} |
| 77 | {{{ |
| 78 | [intertrac] |
| 79 | example.remote_ticket = true |
| 80 | example.title = Bravo |
| 81 | example.url = http://trac.example.org/ |
| 82 | }}} |
| 83 | |
| 84 | Install XmlRpcPlugin and grant {{{XML_RPC}}} to {{{anonymous}}}. |
| 85 | |
| 86 | Configure the an trac:InterTrac reference, the same ticket-links relationships and the same XmlRpcPlugin grant in the remote Trac instance. |