Difference between revisions of "Tracker tips"

Jump to: navigation, search
(Advanced search)
(Add a useful query for issues on issues you raised which are not listed against current versions)
Line 98: Line 98:
  
 
More documentation on [https://confluence.atlassian.com/display/JIRA062/Advanced+Searching Advanced searhing] and [https://confluence.atlassian.com/display/JIRA062/Advanced+Searching+Functions Advanced Searhing Functions]
 
More documentation on [https://confluence.atlassian.com/display/JIRA062/Advanced+Searching Advanced searhing] and [https://confluence.atlassian.com/display/JIRA062/Advanced+Searching+Functions Advanced Searhing Functions]
 +
 +
==Useful queries==
 +
# [https://tracker.moodle.org/issues/?jql=project%20%3D%20mdl%20and%20resolution%20%3D%20unresolved%20and%20type%20in%20(bug)%20and%20affectedVersion%20not%20in%20(2.9%2C%202.8%2C%202.8.1%2C%202.8.2%2C%202.7%2C%202.7.1%2C%202.7.2%2C2.7.3%2C2.7.4)%20and%20reporter%20%3D%20currentUser() My unresolved issues not against current versions]
  
 
[[Category:Tracker]]
 
[[Category:Tracker]]

Revision as of 06:44, 28 November 2014

Searching

Quick search

On every tracker page you can find search box. Quick search is much more powerful than you might think.

Examples of the quick searches:

Quick search Advanced search equivalent
Find all unresolved Bugs in Moodle project that contain words abra cadabra
MDL Unresolved Bug abra cadabra

trackerquicksearch.png

project = MDL AND issuetype = Bug AND resolution = Unresolved AND text ~ "abra cadabra"

advancedsearch.png

Find all ongoing issues assigned to me:
my Unresolved resolution = Unresolved AND assignee = currentUser()

Quick search can pick up many other keywords, see more information on page Using quick search

Advanced search

To get here either enter something in quick search or go to the link Tracker search page and switch it to “Advanced” mode. Now you can enter queries in the Jira Query Language (JQL). Use as many AND, OR and parenthesis as you want. Some examples and interesting subqueries:

JQL Explanation
project = MDL only issues inside project Moodle
resolution != Unresolved Best way to search for closed issues
type in (Improvement, "New Feature")
votes > 50
component in (Assignment, Gradebook) where component is either Assignment or Gradebook
component = Assignment AND component = Gradebook where both Assignement and Gradebook are listed as components
labels = patch issues containing particular label
labels is empty OR labels not in (triaged, triaging_in_progress) issues NOT containing particular label(s)
updatedDate > -7d updated in the last week
assignee = currentUser() AND resolution != Unresolved open issues where you are an assignee
reporter = currentUser() issues reported by you
assignee in membersOf("hq-developers") issues assigned to members of hq-developers group
status changed to "Waiting for peer review" before startofday(-7) and status = "Waiting for peer review" issues waiting for peer review for over a week
status WAS NOT "Development in progress" BEFORE "2011/02/02"

Using filters

To create a filter click on "Save as" button above the search:

savefilter1.png

Now you can quickly access your filters but also you can subscribe to it, Click on "Details":

savefilter3.jpg

and then on "New subscription":

savefilter4.png

Now you will be notified daily about new issues in Assignment component. You can manage your filters and subscriptions on Manage filters page. Watchers automatically receive notifications about the updates of the issues they are watching. Using filter subscription you can either monitor issues that you are not watching or monitor issues that are in particular state and were not updated.

More documentation on Advanced searhing and Advanced Searhing Functions

Useful queries

  1. My unresolved issues not against current versions