Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-68090

Jira should remove the unused custom field values from the database after a context change

XMLWordPrintable

    • 1
    • 8
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      After a custom field context change from global to per project, the custom field will disappear from screens in projects where it is not applicable.
      However, The values of the custom field on issues from projects where it's not applicable are not removed from the database table customfieldvalue.

      Suggested Solution

      After a custom field context change to only apply to certain projects, all values of the custom field in issues that belong to the excluded projects should be deleted.

      Workaround

      • While a SQL DELETE statement is feasible, this option is to be avoided.
      • A re-index will remove issues from searches in projects where it's not applicable.
      • The UI will not display any values for this custom field in the excluded projects.

              Unassigned Unassigned
              adridi Arbi Dridi
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: