Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25572

Search Original Estimate using unit "d" doesn't work in Advance Search

    XMLWordPrintable

Details

    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:

      1. Create Issue A with Original estimate : 2d
      2. 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 "="

      Attachments

        Activity

          People

            Unassigned Unassigned
            vkgan Gan VoonKiat
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: