Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3139

Issue Picker Field does not support searching for EMPTY values

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.43, 5.4.45, 5.4.47, 5.4.48, 5.4.49, 5.6.2.1-jira8, 5.6.7.1-jira8
    • Fix Version/s: 5.6.14
    • Component/s: Scripted Fields
    • Labels:
    • Sprint:
      SR4J Sprint 71
    • Critical Points:
      5.9

      Description

      "Issue(s) picker" Script Fields do not support making comparisons and/or searching for null or EMPTY field values. For example, you are not able to make queries such as:

      <Script-Field-Name> is not EMPTY 
      
      <Script-Field-Name> != null
      
      <Script-Field-Name> in ("")
      
      <Script-Field-Name> in (null)
      
      etc...

       

      Trying any of the above can result in a number of different errors; the most prevalent being:

      The field '<Script-Field-Name>' does not support searching for EMPTY values.

       

       

      Steps to Reproduce:

      • Create a new "Issue(s) picker" Script Field with only a basic configuration (just a field name will do) and ensure you've attached it to some screens in a local project for testing. 
      • Navigate to the issue Search screen and make an advanced JQL query like:
      <Script-Field-Name> != null
      • Note the resulting error message:
      The field '<Script-Field-Name>' does not support searching for EMPTY values.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              aderossett Aidan Derossett
              Votes:
              16 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: