Uploaded image for project: 'Advanced Roadmaps'
  1. Advanced Roadmaps
  2. JPOSERVER-2740

A full Jira index does not index Portfolio's custom field values that are stored as entity properties resulting in incorrect JQL query results

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 3.21.0
    • 3.18.0, 3.18.1, 3.19.1, 3.20.0
    • Usability
    • None

      Issue Summary

      Following a full (foreground) Jira reindex, JQL queries that involve Portfolio custom field values return incorrect results. Boards that are based on such queries also suffer from the same problem.

      This custom fields affected are:

      • A subtask’s parent’s Team
      • An issue's Target Start and Target End dates
      • An issue's Original Story Points

      Versions Affected

      Jira >= 8.1 and Portfolio >= 3.18

      The problem was introduced when adding support for archived issues. This support was added in Jira 8.1 and Portfolio 3.18. You must be running these (or subsequent) versions of both Jira and Portfolio for this problem to surface.

      Steps to Reproduce

      1. In Jira admin, run a full index (not a background index)
      2. Run a JQL query that includes a subquery for a custom field value

      The subquery can be IS EMPTY, IS NOT EMPTY, = <specific value>

      Expected Results

      The issues found should include/exclude issues according to the sub-query.

      For example, Team = <Team Name> should include all issues assigned to the nominated team and their sub-tasks.

      Boards based on such queries should correctly include/exclude issues.

      Actual Results

      The issues found do not take into account the sub-query.

      For example, sub-tasks whose parent issue is assigned to the team are excluded.

      Boards based on such queries incorrectly include/exclude issues.

      Workaround

      If you are not in a position to upgrade to JPOS 3.21, a background index typically resolves the issue, ie. the custom field values are correctly indexed in this case.

      Once you have upgraded to JPOS 3.21, a re-index will be necessary to correct the incomplete index. This can be done using either a full or background index.

            dshaw2@atlassian.com David Shaw
            dshaw2@atlassian.com David Shaw
            Archiver:
            atibrewal@atlassian.com Aakrity Tibrewal

              Created:
              Updated:
              Resolved:
              Archived: