Version 3 (modified by 10 years ago) ( diff ) | ,
---|
Trac Ticket Queries
Table of Contents
In addition to reports, Trac provides support for custom ticket queries, used to display lists of tickets meeting a specified set of criteria.
To configure and execute a custom query, switch to the View Tickets module from the navigation bar, and select the Custom Query link.
Filters
When you first go to the query page the default filter will display tickets relevant to you:
- If logged in then all open tickets it will display open tickets assigned to you.
- 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.
- If not logged and no name/email defined in the preferences then all open issues are displayed.
Current filters can be removed by clicking the button to the left 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.
You 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.
Once you've edited your filters click the Update button to refresh your results.
Navigating Tickets
Clicking 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.
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 it no longer matches the query criteria the text will also be greyed. Lastly, if a new ticket matching the query criteria has been created, it will be shown in bold.
The query results can be refreshed and cleared of these status indicators by clicking the Update button again.
Saving Queries
Trac 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. You can also save references to queries in Wiki content, as described below.
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.
Note: you must have the REPORT_CREATE permission in order to save queries to the list of default reports. The Save query button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.
Using TracLinks
You may want to save some queries so that you can come back to them later. You can do this by making a link to the query from any Wiki page.
[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]
Which is displayed as:
This uses a very simple query language to specify the criteria (see Query Language).
Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading ?
character:
[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]
Which is displayed as:
Using the [[TicketQuery]]
Macro
The TicketQuery macro lets you display lists of tickets matching certain criteria anywhere you can use WikiFormatting.
Example:
[[TicketQuery(version=0.6|0.7&resolution=duplicate)]]
This is displayed as:
No results
Just like the query: wiki links, the parameter of this macro expects a query string formatted according to the rules of the simple ticket query language. This also allows displaying the link and description of a single ticket:
[[TicketQuery(id=123)]]
This is displayed as:
- #123
- Plugin actions cannot be registered and put in the toolbar
A more compact representation without the ticket summaries is also available:
[[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]
This is displayed as:
No results
Finally, if you wish to receive only the number of defects that match the query, use the count
parameter.
[[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]
This is displayed as:
Customizing the table format
You can also customize the columns displayed in the table format (format=table) by using col=<field> - you can specify multiple fields and what order they are displayed by placing pipes (|
) between the columns like below:
[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]
This is displayed as:
Results (1 - 3 of 20418)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#24074 | othersoftware | Issue when opening JOSM | ||
#24072 | fixed | Unexpected exception from routing2 while idle | ||
#24069 | fixed | MapwithAI plugin crashes |
Full rows
In table format you can also have full rows by using rows=<field> like below:
[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter,rows=description)]]
This is displayed as:
Results (1 - 3 of 20418)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#24074 | othersoftware | Issue when opening JOSM | ||
Description |
Revision:19277 Build-Date:2025-01-03 15:21:55 Identification: JOSM/1.5 (19277 fr) Windows 11 64-Bit OS Build number: Windows 10 Enterprise 23H2 (22631) Memory Usage: 256 MB / 17840 MB (84 MB allocated, but free) Java version: 21.0.5+11-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.00×1.00) \Display1 1920x1080x32bpp@59Hz (scaling 1.00×1.00) \Display2 1920x1080x32bpp@59Hz (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: fr_FR Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19277, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe] Last errors/warnings: - 00009.255 W: Échec de l'analyse des données externes de taginfo à https://josm.openstreetmap.de/remote/geofabrik-index-v1-nogeom.json : PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00009.371 W: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00009.373 W: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00009.374 W: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00009.475 W: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00009.477 E: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00015.390 W: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00015.391 W: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00015.392 W: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 00015.393 E: Erreur à l’initialisation du test ApiCapabilitiesTest : |
|||
#24072 | fixed | Unexpected exception from routing2 while idle | ||
Description |
What steps will reproduce the problem?
What is the expected result?Nothing from the routing plugin What happens instead?exception dialog Please provide any additional information below. Attach a screenshot if possible.Revision:19277 Build-Date:2025-01-03 15:21:55 Identification: JOSM/1.5 (19277 en) Windows 11 64-Bit OS Build number: Windows 10 Pro 24H2 (26100) Memory Usage: 2720 MB / 65536 MB (373 MB allocated, but free) Java version: 23.0.1+11, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel Screen: \Display0 2560x1440x32bpp@59Hz (scaling 1.00×1.00) \Display1 3840x2160x32bpp@60Hz (scaling 1.50×1.50) Maximum Screen Size: 3840×2160 Best cursor sizes: 16×16→48×48, 32×32→48×48 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Dataset consistency test: No problems found Plugins: + FastDraw (36344) + FixAddresses (36344) + MicrosoftStreetside (36326) + PicLayer (1.0.3) + apache-commons (36349) + apache-http (36349) + buildings_tools (36344) + conflation (0.6.11) + continuosDownload (107) + contourmerge (v0.2.1) + damn (v0.14.1) + ejml (36348) + geotools (36349) + gridify (1718663815) + imagery_offset_db (36344) + jackson (36349) + javafx (36325) + jaxb (36349) + jna (36349) + josm_magic_wand (2.0.3) + jts (36349) + log4j (36348) + mapwithai (837) + opendata (36354) + pbf (36348) + pmtiles (36219) + reltoolbox (36344) + reverter (36354) + routing2 (7) + scripting (v0.3.1) + shrinkwrap (v1.1.3) + sidewalks (71) + tageditor (36350) + terracer (36344) + todo (141) + turnrestrictions (36344) + undelete (36349) + utilsplugin2 (36362) + wikipedia (418) Tagging presets: + C:\OSM\JOSMPresets\watmildonCustom.xml Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/TigerReviewedNo&zip=1 - C:\Users\admin\Address Tags Validator - Highlight unaddressed - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1 - C:\OSM\mapwiaipaintstyle - https://josm.openstreetmap.de/josmfile?page=Styles/Waterways&zip=1 + C:\OSM\josm-validator-rules\josm-validator-rules\paintstyles\TigerTagNoticer.mapcss Validator rules: - C:\OSM\Validator\GNISFixup.validator.mapcss + C:\Repos\josm-validator-rules\rules\USStreetNameExpander-PrefixDirectional.validator.mapcss + C:\Repos\josm-validator-rules\rules\USStreetNameExpander-PostfixDirectional.validator.mapcss + C:\Repos\josm-validator-rules\rules\USStreetNameExpander.validator.mapcss + C:\Repos\josm-validator-rules\rules\ALLCAPS-to-TitleCase.validator.mapcss + C:\Repos\josm-validator-rules\rules\PhoneNumber-ITU-T-Formatter.validator.mapcss - C:\Repos\josm-validator-rules\rules\ImportCleanup-San-Luis-Obispo-County.validator.mapcss + C:\Repos\josm-validator-rules\rules\PhoneNumber-ITU-T-Formatter-Aggressive.validator.mapcss + C:\Repos\josm-validator-rules\rules\NameTagCapitalization.validator.mapcss - C:\Repos\josm-validator-rules\rules\LevelNotLayerIssues.validator.mapcss - C:\Repos\josm-validator-rules\rules\CuisineFixups.validator.mapcss + C:\Repos\josm-validator-rules\rules\FullAddressInStreetTag.validator.mapcss - C:\Repos\josm-validator-rules\rules\RemoveCOVID19Tagging.validator.mapcss - C:\Repos\josm-validator-rules\rules\whammo-PhoneFixup.validator.mapcss + C:\Repos\josm-validator-rules\rules\USStreetNameExpander-UncommonExpansions.validator.mapcss - C:\Repos\josm-validator-rules\rules\NHDToOSMTagRemap.validator.mapcss - C:\Repos\josm-validator-rules\rules\VictoriaAddressFixup.validator.mapcss - C:\Repos\josm-validator-rules\rules\CanVecTagging.validator.mapcss - C:\Repos\josm-validator-rules\rules\Waterways.validator.mapcss - C:\Repos\josm-validator-rules\USCensusPopulationInvestigation.validator.mapcss + C:\Repos\josm-validator-rules\rules\TigerRemovalNudge.validator.mapcss + C:\Repos\josm-validator-rules\rules\FeetToMeterConverter.validator.mapcss + https://github.com/hdevine825/josm-validator-rules/blob/main/rules%2FsidewalkCrossingNoKerb.validator.mapcss - C:\Repos\josm-validator-rules\rules\USStreetName-CountyRoadsToRefs.validator.mapcss + C:\Repos\josm-validator-rules\rules\OrdinalNumberCapitalization.validator.mapcss + C:\Repos\josm-validator-rules\rules\US-Boundary-Rules.validator.mapcss Last errors/warnings: - 124480.530 E: Failed to locate image 'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico' - 124487.037 E: Failed to locate image 'https://prd-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/content_list_thumbnail/public/thumbnails/image/USGS_logo_green_SQUARE.png' - 125124.901 E: Failed to locate image 'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico' - 125125.768 E: Failed to locate image 'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico' - 125635.495 E: 2025-01-08 21:25:33,505 INFO: Finished tarring 41 tiles to <josm.cache>\routing2\valhalla_tiles.tar - 125635.599 E: 2025/01/09 05:25:33.609246 [INFO] Tile extract successfully loaded with tile count: 41 - 125635.599 E: 2025/01/09 05:25:33.609346 [WARN] (stat): /data/valhalla/traffic.tar No such file or directory - 125635.600 E: 2025/01/09 05:25:33.609349 [WARN] Traffic tile extract could not be loaded - 125635.655 E: Thread main-worker-0 raised org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"} - 125635.659 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"} === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (61) org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"} at org.openstreetmap.josm.plugins.routing2.lib.valhalla.ValhallaServer.generateRoute(ValhallaServer.java:246) at org.openstreetmap.josm.plugins.routing2.RoutingLayer.lambda$commandChanged$1(RoutingLayer.java:245) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) === ADDITIONAL EXCEPTIONS === ==== Exception at 1736400333666 ==== org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"} at org.openstreetmap.josm.plugins.routing2.lib.valhalla.ValhallaServer.generateRoute(ValhallaServer.java:246) at org.openstreetmap.josm.plugins.routing2.RoutingLayer.lambda$commandChanged$1(RoutingLayer.java:245) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) |
|||
#24069 | fixed | MapwithAI plugin crashes | ||
Description |
What steps will reproduce the problem?
What is the expected result? use this plugin to download mapwithAI layerWhat happens instead? crashesPlease provide any additional information below. Attach a screenshot if possible.Revision:19277 Build-Date:2025-01-03 15:21:55 Identification: JOSM/1.5 (19277 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Enterprise 2015 LTSB (10240) Memory Usage: 568 MB / 12248 MB (193 MB allocated, but free) Java version: 21.0.5+11-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.00×1.00) \Display1 1920x1080x32bpp@60Hz (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19277, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe] Dataset consistency test: No problems found Plugins: + FastDraw (36344) + ImproveWay (32) + Relation.Validation.Plugin (1.0.1) + ShapeTools (1250) + SimplifyArea (36344) + apache-commons (36349) + apache-http (36349) + auto_tools (81) + buildings_tools (36344) + changeset-viewer (0.0.8) + colorscheme (36349) + config (70) + conflation (0.6.11) + continuosDownload (107) + ejml (36348) + fastdriveway (v1.0.1) + geotools (36349) + http2 (36256) + imagery_offset_db (36344) + jackson (36349) + jaxb (36349) + jna (36349) + jogl (1.2.3) + jts (36349) + mapathoner (1.5.5) + mapwithai-dev (1.9.13-12-g9e00328) + markseen (14) + merge-overlap (36344) + pmtiles (36219) + scripting (v0.3.1) + splinex (36349) + terracer (36344) + todo (141) + touchscreenhelper (36349) + undelete (36349) + utilsplugin2 (36362) Map paint styles: + https://gitlab.com/peculiar-theater/mapcss/-/raw/main/tm-taskgrid/tm-taskgrid.mapcss - %UserProfile%\Desktop\JOSM\HDM-JOSM-style-master\HDM-JOSM-style-master\HDM.mapcss + %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master\HOT-Osm-Validation-master\HOT-Validate.mapcss - %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master\Styles_ColorWays-style.mapcss - %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master\Styles_ColorWays-style.mapcss - %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master\HOT-Osm-Validation-master\HOT-Validate1.mapcss - %UserProfile%\Desktop\JOSM\HDM-JOSM-style-master.zip - https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip + https://github.com/MissingMaps/josm_styles/archive/master.zip Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/ValidatingBuildingsInHOTTMProjects&zip=1 Last errors/warnings: - 00011.530 E: Failed to locate image 'MapWithAI' - 00020.345 W: java.util.zip.ZipException: zip file is empty - 00020.346 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.pref>\plugins\ImproveOsm.jar.new' - 00020.346 W: Failed to scan file 'ImproveOsm.jar.new' for plugin information. Skipping. - 00051.928 W: Proposed rect has such extreme aspect ratio that it would be zero-width at preferredZoom - 00053.159 E: Failed to locate image 'icons/place.png' - 00056.553 E: Handled by bug report queue: java.lang.NoClassDefFoundError: javax/json/Json. Cause: java.lang.ClassNotFoundException: javax.json.Json - 00067.040 W: java.util.zip.ZipException: zip file is empty - 00067.041 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Invalid jar file '<josm.pref>\plugins\ImproveOsm.jar.new' - 00067.041 W: Failed to scan file 'ImproveOsm.jar.new' for plugin information. Skipping. === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (31) of main java.lang.NoClassDefFoundError: javax/json/Json at org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAIInfo.<init>(MapWithAIInfo.java:212) at org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAILayerInfo.load(MapWithAILayerInfo.java:183) at org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAILayerInfo.<init>(MapWithAILayerInfo.java:139) at org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAILayerInfo.getInstance(MapWithAILayerInfo.java:86) at org.openstreetmap.josm.plugins.mapwithai.gui.MapWithAIMenu.refreshImageryMenu(MapWithAIMenu.java:131) at org.openstreetmap.josm.plugins.mapwithai.gui.MapWithAIMenu$1.menuSelected(MapWithAIMenu.java:81) at java.desktop/javax.swing.JMenu.fireMenuSelected(Unknown Source) at java.desktop/javax.swing.JMenu$MenuChangeListener.stateChanged(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireStateChanged(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setSelected(Unknown Source) at java.desktop/javax.swing.JMenu.setSelected(Unknown Source) at java.desktop/javax.swing.JMenu.menuSelectionChanged(Unknown Source) at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(Unknown Source) at java.desktop/com.sun.java.swing.plaf.windows.WindowsMenuUI$WindowsMouseInputHandler.mouseEntered(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEnterExit(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: javax.json.Json at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:82) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 48 more |
Query Language
query:
TracLinks and the [[TicketQuery]]
macro both use a mini “query language” for specifying query filters. Basically, the filters are separated by ampersands (&
). Each filter then consists of the ticket field name, an operator, and one or more values. More than one value are separated by a pipe (|
), meaning that the filter matches any of the values. To include a literal &
or |
in a value, escape the character with a backslash (\
).
The available operators are:
= | the field content exactly matches one of the values |
~= | the field content contains one or more of the values |
^= | the field content starts with one of the values |
$= | the field content ends with one of the values |
All of these operators can also be negated:
!= | the field content matches none of the values |
!~= | the field content does not contain any of the values |
!^= | the field content does not start with any of the values |
!$= | the field content does not end with any of the values |
The date fields created
and modified
can be constrained by using the =
operator and specifying a value containing two dates separated by two dots (..
). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be left out to avoid having to quote the query string.
created=2007-01-01..2008-01-01 | query tickets created in 2007 |
created=lastmonth..thismonth | query tickets created during the previous month |
modified=1weekago.. | query tickets that have been modified in the last week |
modified=..30daysago | query tickets that have been inactive for the last 30 days |
See also: TracTickets, TracReports, TracGuide