stable

Clone or download

Read-only

feat: Query for Not equal comparison for numeric fields

How to test: - Enable the feature flag: tuleap config-set feature_flag_cross_tracker_search_duck_typed_fields 1 - Set up two or three trackers with int or float fields. The fields must have the same shortname, for example "initial_effort". - You can write a TQL query to search on initial_effort with not equals `!=` and a numeric value - You can write a TQL query to search artifacts where initial_effort has a value (is not empty) with `initial_effort != ''`. The search should yield results. - You can search on multiple fields and combine results with "AND" / "OR". part of story #10710 search on fields with duck typing Change-Id: I23e5c66dcc120a669a59c2f5db69d7a202a1d99f

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +5 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/NotEqualComparisonFromWhereBuilder.php +33 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/Numeric/EqualComparisonFromWhereBuilder.php +0 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/Numeric/NotEqualComparisonFromWhereBuilder.php +75 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +5 −1 Go to diff View file
R plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/DuckTypedField/EqualComparisonTest.php Go to diff View file