stable
Clone or download
Read-only
Part of story #10702: define a query with status semantic No change in tracker report, @status is still forbidden. In cross-trackers, you can do the following queries: - @status = OPEN() => it will return all open artifacts of the selected trackers - @status != OPEN() => it will return all closed artifacts of the selected trackers - use of logical operators: @status = OPEN() AND @title = 'rest' Comparison against literal values, date, myself, or now are not allowed. If one of the chosen trackers does not have the semantic status defined, then an error is raised. Change-Id: Ia8a07455f82bff5544600fae181d8f2501522199
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +12 | −4 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/AllowedMetadata.php | +4 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/ComparisonChecker.php | +7 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/SemanticUsageChecker.php | +28 | −3 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/StatusIsMissingInAtLeastOneTrackerException.php | +41 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSemantic/StatusToSimpleValueComparisonException.php | +36 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/ComparisonFromWhereBuilder.php | +18 | −7 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Status/EqualComparisonFromWhereBuilder.php | +51 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Status/FromWhereBuilder.php | +27 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Semantic/Status/NotEqualComparisonFromWhereBuilder.php | +60 | −0 | Go to diff View file |
M | plugins/crosstracker/include/autoload.php | +7 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/dao/Tracker_Semantic_StatusDao.class.php | +22 | −5 | Go to diff View file |