Tracker tips: Difference between revisions
Dev Docs Bot (talk | contribs) m (Protected "Tracker tips": Developer Docs Migration ([Edit=Allow only administrators] (indefinite))) |
|||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Migrated|newDocId=/general/development/tracker/tips}} | |||
=Searching= | =Searching= | ||
Line 7: | Line 8: | ||
Examples of the quick searches: | Examples of the quick searches: | ||
{| class=" | {| class="wikitable" | ||
|- | |- | ||
! Quick search | ! Quick search | ||
Line 32: | Line 33: | ||
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: | 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: | ||
{| class=" | {| class="wikitable" | ||
|- | |- | ||
! JQL | ! JQL | ||
Line 40: | Line 41: | ||
| only issues inside project Moodle | | only issues inside project Moodle | ||
|- | |- | ||
| resolution | | resolution = Unresolved | ||
| Best way to search for | | Best way to search for open issues | ||
|- | |- | ||
| type in (Improvement, "New Feature") | | type in (Improvement, "New Feature") | ||
Line 64: | Line 65: | ||
| updated in the last week | | updated in the last week | ||
|- | |- | ||
| [https://tracker.moodle.org/issues/?jql=assignee%20%3D%20currentUser%28%29%20AND%20resolution%20 | | [https://tracker.moodle.org/issues/?jql=assignee%20%3D%20currentUser%28%29%20AND%20resolution%20%3D%20Unresolved assignee = currentUser() AND resolution = Unresolved] | ||
| open issues where you are an assignee | | open issues where you are an assignee | ||
|- | |- | ||
| [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 78: | Line 85: | ||
| status WAS NOT "Development in progress" BEFORE "2011/02/02" | | status WAS NOT "Development in progress" BEFORE "2011/02/02" | ||
| | | | ||
|- | |||
| <nowiki>issue in linkedIssues("MDL-12345")</nowiki> | |||
| issues linked to particular issue | |||
|- | |||
| <nowiki>issue in linkedIssues("MDL-12345","duplicated by")</nowiki> | |||
| <nowiki>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.</nowiki> | |||
|- | |||
| [https://tracker.moodle.org/issues/?jql=issue%20in%20favouriteIssues%28%29 issue in favouriteIssues()] | |||
| issues that you marked as favourite | |||
|} | |} | ||
More documentation on [https://confluence.atlassian.com/ | |||
More documentation on [https://confluence.atlassian.com/jirasoftwareserver071/advanced-searching-800707146.html Advanced searching] | |||
=Using filters= | =Using filters= | ||
Line 100: | Line 117: | ||
==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!~% | # [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_310_STABLE%20and%20%22Affected%20Branches%22%20!~%20MOODLE_311_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/? | # [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/?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]] |
Latest revision as of 07:27, 6 May 2022
Important:
This content of this page has been updated and migrated to the new Moodle Developer Resources. The information contained on the page should no longer be seen up-to-date. Why not view this page on the new site and help us to migrate more content to the new site! |
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 | project = MDL AND issuetype = Bug AND resolution = Unresolved AND text ~ "abra cadabra" |
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 searching
Using filters
To create a filter click on "Save as" button above the search:
Now you can quickly access your filters but also you can subscribe to it, Click on "Details":
and then on "New subscription":
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
- Issues reported by me not against current versions - make sure that you keep track of your own issues!
- Untriaged issues in my components (works only for component leads)
- Waiting for peer review for 21 days
- Integrated this week - subscribe to this filter on Fridays and keep yourself up-to-date with what is happening in Moodle