Edgewall Software

Changes between Version 18 and Version 19 of TicketQuery


Ignore:
Timestamp:
Oct 3, 2017, 12:59:04 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Remove redundant information.

Legend:

Unmodified
Added
Removed
Modified
  • TicketQuery

    v18 v19  
    11= !TicketQuery Wiki Macro
    22
    3 The !TicketQuery macro lets you display information on tickets within wiki pages.
    4 The query language used by the `[[TicketQuery]]` macro is described in [TracQuery#QueryLanguage TracQuery] page.
     3The !TicketQuery macro lets you display ticket information anywhere that accepts WikiFormatting.
     4The query language used by the `[[TicketQuery]]` macro is described in the [TracQuery#QueryLanguage TracQuery] page.
    55
    66== Usage
     
    88[[MacroList(TicketQuery)]]
    99
    10 == Example
     10== Examples
    1111
    1212||= **Example** =||= **Result** =||= **Macro** =||
     
    106106|-----------------------------------------------------------
    107107
    108 == Using the `[[TicketQuery]]` Macro
     108=== Format: list
    109109
    110 The [trac:TicketQuery TicketQuery] macro lets you display lists of tickets matching certain criteria anywhere you can use WikiFormatting.
    111 
    112 Example:
    113110{{{
    114111[[TicketQuery(version=0.6|0.7&resolution=duplicate)]]
     
    118115  [[TicketQuery(version=0.6|0.7&resolution=duplicate)]]
    119116
    120 Just like the [wiki:TracQuery#UsingTracLinks query: wiki links], the parameter of this macro expects a query string formatted according to the rules of the simple [wiki:TracQuery#QueryLanguage ticket query language]. This also displays the link and description of a single ticket:
    121117{{{
    122118[[TicketQuery(id=123)]]
     
    126122  [[TicketQuery(id=123)]]
    127123
    128 A more compact representation without the ticket summaries is:
     124=== Format: compact
     125
    129126{{{
    130127[[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]
     
    134131  [[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]
    135132
    136 If you wish to receive only the number of defects that match the query, use the `count` parameter:
     133=== Format: count
     134
    137135{{{
    138136[[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]
     
    142140  [[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]
    143141
    144 A graphical use of the macro is with the `format=progress` attribute:
     142=== Format: progress
     143
    145144{{{
    146145[[TicketQuery(milestone=0.12.8&group=type,format=progress)]]
    147146}}}
    148147
    149 For example for one of the upcoming milestones, bars are shown by ticket type:
    150 [[TicketQuery(milestone=0.12.8&group=type,format=progress)]]
     148This is displayed as:
     149  [[TicketQuery(milestone=0.12.8&group=type,format=progress)]]
    151150
    152151----