Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Tracker tips: Difference between revisions

From MoodleDocs
(8 intermediate revisions by the same user not shown)
Line 40: Line 40:
| only issues inside project Moodle
| only issues inside project Moodle
|-
|-
| resolution != Unresolved
| resolution = Unresolved
| Best way to search for closed issues
| Best way to search for open issues
|-
|-
| type in (Improvement, "New Feature")
| type in (Improvement, "New Feature")
Line 69: Line 69:
| [https://tracker.moodle.org/issues/?jql=reporter%20%3D%20currentUser%28%29 reporter = currentUser()]
| [https://tracker.moodle.org/issues/?jql=reporter%20%3D%20currentUser%28%29 reporter = currentUser()]
| issues reported by you
| issues reported by you
|-
| [https://tracker.moodle.org/issues/?jql=Participants%20%20%3D%20currentUser() Participants  = currentUser()]
| issues where you commented, edited or otherwise participated
|-
| [https://tracker.moodle.org/issues/?jql=%22Component%20watchers%22%20%3D%20currentUser()%20and%20resolution%20%3D%20Unresolved "Component watchers" = currentUser() and resolution = Unresolved]
| open issues in the components where you are an automatic watcher (only tracker admins can assign automatic watchers)
|-
|-
| assignee in membersOf("hq-developers")
| assignee in membersOf("hq-developers")
Line 90: Line 96:




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/jirasoftwareserver071/advanced-searching-800707146.html Advanced searhing]


=Using filters=
=Using filters=
Line 110: Line 116:


==Useful queries==
==Useful queries==
# [https://tracker.moodle.org/issues/?jql=project%20%3D%20mdl%20and%20resolution%20%3D%20unresolved%20and%20type%20in%20%28bug%29%20and%20%22Affected%20Branches%22%20!~%20MOODLE_28_STABLE%20and%20%22Affected%20Branches%22%20!~%20MOODLE_27_STABLE%20and%20%22Affected%20Branches%22%20!~%20MOODLE_29_STABLE%20and%20reporter%20%3D%20currentUser%28%29 Issues reported by me not against current versions]
# [https://tracker.moodle.org/issues/?jql=project%20%3D%20mdl%20and%20resolution%20%3D%20unresolved%20and%20type%20in%20%28bug%29%20and%20%22Affected%20Branches%22%20!~%20MOODLE_31_STABLE%20and%20%22Affected%20Branches%22%20!~%20MOODLE_30_STABLE%20and%20reporter%20%3D%20currentUser%28%29 Issues reported by me not against current versions] - make sure that you keep track of your own issues!
# [https://tracker.moodle.org/issues/?jql=component%20in%20%28componentsLeadByUser%28%29%29%20AND%20resolution%20%3D%20Unresolved%20AND%20updatedDate%20%3E%20-14d%20AND%20project%20%3D%20MDL%20AND%20%28%20labels%20is%20EMPTY%20OR%20labels%20not%20in%20%28triaged%2C%20triaging_in_progress%29%29%20ORDER%20BY%20updatedDate%20ASC Untriaged issues in my components] (works only for component leads)
# [https://tracker.moodle.org/issues/?jql=component%20in%20%28componentsLeadByUser%28%29%29%20AND%20resolution%20%3D%20Unresolved%20AND%20updatedDate%20%3E%20-14d%20AND%20project%20%3D%20MDL%20AND%20%28%20labels%20is%20EMPTY%20OR%20labels%20not%20in%20%28triaged%2C%20triaging_in_progress%29%29%20ORDER%20BY%20updatedDate%20ASC Untriaged issues in my components] (works only for component leads)
# [https://tracker.moodle.org/issues/?jql=status%20changed%20to%20%22Waiting%20for%20peer%20review%22%20before%20startofday(-21)%20and%20status%20%3D%20%22Waiting%20for%20peer%20review%22 Waiting for peer review for 21 days]
# [https://tracker.moodle.org/issues/?jql=status%20changed%20to%20%22Waiting%20for%20peer%20review%22%20before%20startofday(-21)%20and%20status%20%3D%20%22Waiting%20for%20peer%20review%22 Waiting for peer review for 21 days]
# [https://tracker.moodle.org/issues/?filter=19324|Integrated this week] - subscribe to this filter on Fridays and keep yourself up-to-date with what is happening in Moodle
# [https://tracker.moodle.org/issues/?filter=19324 Integrated this week] - subscribe to this filter on Fridays and keep yourself up-to-date with what is happening in Moodle


[[Category:Tracker]]
[[Category:Tracker]]

Revision as of 05:36, 15 November 2017

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 open 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
Participants = currentUser() issues where you commented, edited or otherwise participated
"Component watchers" = currentUser() and resolution = Unresolved open issues in the components where you are an automatic watcher (only tracker admins can assign automatic watchers)
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"
issue in linkedIssues("MDL-12345") issues linked to particular issue
issue in linkedIssues("MDL-12345","duplicated by") Returns all the issues directly and indirectly duplicated by 'MDL-12345'. i.e. if there is 'MDL-12222'  duplicated by 'MDL-12345'   and 'MDL-11111'  duplicated by 'MDL-12222', both 'MDL-11111' and 'MDL-12222' will be returned as search results.
issue in favouriteIssues() issues that you marked as favourite


More documentation on Advanced searhing

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.

Useful queries

  1. Issues reported by me not against current versions - make sure that you keep track of your own issues!
  2. Untriaged issues in my components (works only for component leads)
  3. Waiting for peer review for 21 days
  4. Integrated this week - subscribe to this filter on Fridays and keep yourself up-to-date with what is happening in Moodle