stable
Clone or download
User can now do the following searches: * Find all "fixed in" requests: `… IS LINKED TO WITH TYPE 'fixed_in'` * Find requests "fixed in" artifact #123: `… IS LINKED TO ARTIFACT = 123 WITH TYPE 'fixed_in'` * Find requests "fixed in" an artifact of 'release' tracker: `… IS LINKED TO TRACKER = 'release' WITH TYPE 'fixed_in'` * Find request not "fixed in": `… IS NOT LINKED TO WITH TYPE 'fixed_in'` * Find request not linked to anything: `IS NOT LINKED TO` * Find requirements not covered by any tests: `IS NOT LINKED TO WITH TYPE '_covered_by'` * Find request not "fixed in" artifact #123: `… IS NOT LINKED TO ARTIFACT = 123 WITH TYPE 'fixed_in'` * Find request not "fixed in" an artifact of "release" tracker: `… IS NOT LINKED TO TRACKER = 'release' WITH TYPE 'fixed_in'` * Find releases in which requests are "fixed in": `… IS LINKED FROM TRACKER = 'request' WITH TYPE 'fixed_in'` * Find releases that doesn't fix anything: `… IS LINKED FROM WITH TYPE 'fixed_in'` * Find user stories that don't have parents: `... IS NOT LINKED FROM WITH TYPE '_is_child'` * Find tests that doesn't cover anything: `... IS NOT LINKED FROM WITH TYPE ' _covered_by'` Part of story #32309: Search artifacts with/without links via TQL Change-Id: I944e304d54ad63cd3be0d1f8e1c1a7c3631632c7
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +11 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidTermCollectorVisitor.php | +18 | −4 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ForwardLinkFromWhereBuilder.php | +28 | −8 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ReverseLinkFromWhereBuilder.php | +27 | −8 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +11 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/writing-mode/tql-configuration.ts | +13 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTestExpertQueryTest.php | +280 | −0 | Go to diff View file |
M | plugins/tracker/grammar/src/tql.pegjs | +45 | −0 | Go to diff View file |
M | plugins/tracker/grammar/test_parser.php | +2 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Type/TypePresenterFactory.php | +3 | −2 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Type/VisibleTypesRetriever.php | +29 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithForwardLink.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithReverseLink.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithoutForwardLink.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithoutReverseLink.php | +1 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ArtifactLink/ArtifactLinkTypeChecker.php | +53 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ArtifactLink/InvalidArtifactLinkTypeException.php | +44 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidTermCollectorVisitor.php | +17 | −4 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ArtifactLinkFromWhereBuilderParameters.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ForwardLinkFromWhereBuilder.php | +27 | −8 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ReverseLinkFromWhereBuilder.php | +27 | −8 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report.class.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/TQL-CodeMirror/src/configuration.ts | +14 | −1 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +6 | −0 | Go to diff View file |
M | plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po | +6 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/TQL/TQLTest.php | +43 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/InvalidFields/ArtifactLink/ArtifactLinkTypeCheckerTest.php | +75 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/InvalidSearchablesCollectorVisitorTest.php | +9 | −0 | Go to diff View file |