Edgewall Software

Changes between Version 4 and Version 5 of 0.12/TracQuery


Ignore:
Timestamp:
Mar 29, 2010, 4:02:49 PM (14 years ago)
Author:
mark.m.mcmahon@…
Comment:

Updated for 0.12; saving queries is possible (even in 0.11), added note to suggest using Report module to build query strings

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracQuery

    v4 v5  
    77
    88== Filters ==
    9 When you first go to the query page the default filters will display all open tickets, or if you're logged in it will display open tickets assigned to you.  Current filters can be removed by clicking the button to the right with the minus sign on the label.  New filters are added from the pulldown list in the bottom-right corner of the filters box.  Filters with either a text box or a pulldown menu of options can be added multiple times to perform an ''or'' of the criteria.
     9{{{#!div style="background:#efe"
     10I don't have any account management on my 0.12 test env - so have not tested the "if logged in.." part.
     11}}}
     12
     13When you first go to the query page the default filter will display tickets relevant to you:
     14 * If logged in then all open tickets it will display open tickets assigned to you.
     15 * If not logged in but you have specified a name or email address in the preferences then it will display all open tickets where your email (or name if email not defined) is in the CC list.
     16 * If not logged and no name/email defined in the preferences then all open issues are displayed.
     17
     18Current filters can be removed by clicking the button to the right with the minus sign on the label.  New filters are added from the pulldown lists at the bottom corners of the filters box ('And' conditions on the left, 'Or' conditions on the right).  Filters with either a text box or a pulldown menu of options can be added multiple times to perform an ''or'' of the criteria.
    1019
    1120You can use the fields just below the filters box to group the results based on a field, or display the full description for each ticket.
     
    1625Clicking on one of the query results will take you to that ticket.  You can navigate through the results by clicking the ''Next Ticket'' or ''Previous Ticket'' links just below the main menu bar, or click the ''Back to Query'' link to return to the query page. 
    1726
    18 You can safely edit any of the tickets and continue to navigate through the results using the ''Next/Previous/Back to Query'' links after saving your results.  When you return to the query ''any tickets which were edited'' will be displayed with italicized text.  If one of the tickets was edited such that [[html(<span style="color: grey">it no longer matches the query criteria </span>)]] the text will also be greyed. Lastly, if '''a new ticket matching the query criteria has been created''', it will be shown in bold.
     27You can safely edit any of the tickets and continue to navigate through the results using the ''!Next/Previous/Back to Query'' links after saving your results.  When you return to the query ''any tickets which were edited'' will be displayed with italicized text.  If one of the tickets was edited such that [[html(<span style="color: grey">it no longer matches the query criteria </span>)]] the text will also be greyed. Lastly, if '''a new ticket matching the query criteria has been created''', it will be shown in bold.
    1928
    2029The query results can be refreshed and cleared of these status indicators by clicking the ''Update'' button again.
     
    2231== Saving Queries ==
    2332
    24 While Trac does not yet allow saving a named query and somehow making it available in a navigable list, you can save references to queries in Wiki content, as described below.
     33Trac allows you to save the query as a named query accessible from the reports module. To save a query ensure that you have ''Updated'' the view and then click the ''Save query'' button displayed beneath the results.
     34You can also save references to queries in Wiki content, as described below.
     35
     36''Note:'' one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click ''Save query''. This will build the query string for you. All you need to do is remove the extra line breaks.
    2537
    2638=== Using TracLinks ===