Issue search via "Search for issues using JQL enhanced search (POST)" returns results with Trashed Custom Fields

XMLWordPrintable

    • Severity 3 - Minor
    • Warranty

      Issue Summary

      Issue searches include results from trashed custom fields when searching via following REST endpoints:

      Steps to Reproduce

      1. Create Custom Field, e.g.
        1. Single Select Custom Field named "CF To Trash" with Option O1 
      2. Create issue ABC-1, set "CF To Trash" field with O1
      3. Move "CF To Trash" custom field to Trash
      4. Query REST endpoint with JQL
        1. rest/api/latest/search/jql with JQL "CF To Trash" = O1

      Expected Results

      0 results are returned

      Actual Results

      Jira returns issue ABC-1

      Workaround

      Currently there is no known workaround for this behavior.

            Assignee:
            Amit Vade
            Reporter:
            Grzegorz Lewandowski
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: