JIRA not displaying custom fields from uninstalled plugins

XMLWordPrintable

    • 7.03
    • 37
    • Severity 3 - Minor
    • 24

      Summary

      JIRA doesn't display custom fields that were created from an old uninstalled plugins.
      Also there is no way to remove those or access them by any mean from JIRA UI with plugin not installed.

      Environment

      • JIRA Server + custom fields originating from a plugin

      Steps to Reproduce

      1. Install the free plugin JIRA misc. custom fields
      2. Create a calculated custom field from JIRA custom fields page
      3. Create a project and integrate that field in project screens
      4. Uninstall the plugin

      Expected Results

      • JIRA would continue to display the custom field in the custom fields page and user is allowed basic operations like view custom field config or delete.

      Actual Results

      After the plugin is uninstalled, the custom field vanished form custom fields page and user no longer able remove the custom field from the UI, while the field is still existing in the database and JIRA is not able to use it causing exceptions in the logs of the like of below:

      2017-09-12 13:20:05,125 https-jsse-nio-443-exec-9 DEBUG user1 799x47936x3 1ir2r8o 10.10.10.1 /rest/greenhopper/1.0/rapidviewconfig/editmodel.json [c.a.j.issue.fields.ImmutableCustomField] getCustomFieldType potentially called on Custom Field before plugin enabled. Will retry on next call and return null from this execution
      com.atlassian.jira.issue.fields.ImmutableCustomField$TypeNotFoundException: Custom Field Type 'com.innovalog.jmcf.jira-misc-custom-fields:transitiondatetime' not found
      

      Notes

      During JIRA referencing the plugin code, it will not be able to tell if plugin was uninstalled or if it was disabled temporarily.

      Workaround

      • The easiest way to fix this is to reinstall the plugin once more and remove the custom field, then uninstall the plugin again.
      • Direct database manipulation is discouraged.

            Assignee:
            Unassigned
            Reporter:
            Sherif Abdelfattah (Inactive)
            Votes:
            18 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated: