Details
-
Bug
-
Resolution: Deployed
-
Low
-
4.4
-
4.04
-
Description
According to Advance Searching document:
Search for issues where the Original Estimate is set to a particular value (i.e. a number, not a date or date range).
Use "w", "d", "h" and "m" to specify weeks, days, hours or minutes.
However searching issues using day unit "d" doesn't work as expected.
Step to reproduce
Setup:
- Create Issue A with Original estimate : 2d
- Create Issue B Original estimate : 16h
Test search using different operator ">",">=","=","<" and "<="
">" operator
Query | Returned Result | Status |
---|---|---|
project="TST" AND originalEstimate > 1d | 0 | |
project="TST" AND originalEstimate > 8h | 2 |
">=" operator
Query | Returned Result | Status |
---|---|---|
project="TST" AND originalEstimate >= 1d | 0 | |
project="TST" AND originalEstimate >= 8h | 2 |
"=" operator
Query | Returned Result | Status |
---|---|---|
project="TST" AND originalEstimate = 2d | 0 | |
project="TST" AND originalEstimate = 16h | 2 |
"<" operator
Query | Returned Result | Status |
---|---|---|
project="TST" AND originalEstimate < 3d | 2 | |
project="TST" AND originalEstimate < 24h | 2 |
"<=" operator
Query | Returned Result | Status |
---|---|---|
project="TST" AND originalEstimate <= 3d | 2 | |
project="TST" AND originalEstimate <= 24h | 2 |
Conclusion
Search using day unit "d" doesn't work with operator ">" , ">=" and "="