Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-21941

Indexing will break in the version bundled version if the Team field was ever deleted

      Issue Summary

      Indexing will break in the version bundled version if the Team field was ever deleted

      Steps to Reproduce

      1. Install Jira version prior to 8.15.0.
      2. Unlock Team custom field and restart Jira Using this kb
      3. Delete Team custom field.
      4. Perform any action that triggers indexing. such as Creating/Editing/Transitioning issue that has value for Team custom field Or performs Full reindexing
      5. Indexing will not be successful an you will receive the below error
      6. Upgrade to 8.17.1 and the error continues.

      Expected Results

      Action is successful. Issue index is updated

      Actual Results

      Action proceeds but the issue index is not updated.
      The below exception is thrown in the atlassian-jira.log file:

      2021-07-02 10:57:37,238+0000 IssueIndexer:thread-2 INFO recovery_admin 539x153473x1 y2z34u 92.109.7.32 /secure/admin/IndexReIndex!reindex.jspa [c.a.j.w.a.admin.index.IndexAdminImpl] Re-indexing is 18% complete. Current index: Issue
      2021-07-02 10:57:57,262+0000 IssueIndexer:thread-7 WARN recovery_admin 539x153473x1 y2z34u 92.109.7.32 /secure/admin/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] java.lang.IllegalStateException: Team custom field ID cannot be found
      java.lang.RuntimeException: java.lang.IllegalStateException: Team custom field ID cannot be found
      	at com.atlassian.jira.index.DefaultIndex$Failure.<init>(DefaultIndex.java:100)
      

      Workaround

      We do not have a workaround at the moment. It will be added once it becomes available

          Form Name

            [JSWSERVER-21941] Indexing will break in the version bundled version if the Team field was ever deleted

            There are no comments yet on this issue.

              Unassigned Unassigned
              kmehta Krina
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: