stable
Clone or download
Read-only
You can now search for artifacts that are children of an artifact belonging to a named tracker: `WITH PARENT TRACKER = 'epic'` => will return all artifacts that are children of an `epic`, regardless of the project. Or the ones that are not children: `WITHOUT PARENT TRACKER = 'epic'` => will return all artifacts that are not children of an `epic`. Implementation note: since the whole TQL implementation in tracker reports rely on legacy DAO, I had to use the deprecated method `quoteSmart`. It would be great to convert it to EasyDB like it is done for cross tracker, but it should be an independant development. Part of story #32281: Search artifacts with/without parents via TQL Change-Id: I8af73cf8fd6346492c0ddf23f9394501fe668740
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ArtifactLinkFromWhereBuilder.php | +62 | −8 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/writing-mode/tql-configuration.ts | +2 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTestExpertQueryTest.php | +40 | −0 | Go to diff View file |
M | plugins/tracker/grammar/src/tql.pegjs | +9 | −1 | Go to diff View file |
M | plugins/tracker/grammar/test_parser.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/ParentArtifactCondition.php | +6 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/ParentCondition.php | +37 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/ParentConditionVisitor.php | +44 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/ParentTrackerCondition.php | +35 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithParent.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/WithoutParent.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ArtifactLinkFromWhereBuilder.php | +54 | −5 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ArtifactLink/ArtifactLinkFromWhereBuilderParameters.php | +32 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/TQL-CodeMirror/src/configuration.ts | +3 | −1 | Go to diff View file |
M | plugins/tracker/tests/rest/TQL/TQLTest.php | +2 | −0 | Go to diff View file |
M | tests/psalm/tuleap-baseline.xml | +5 | −0 | Go to diff View file |