Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-15464

Deleting custom fields used in Request types leaves information in the Jira database that should be removed

      Problem

      Deleting a custom field does not remove it from the "AO_54307E_VIEWPORTFIELD" table, which holds the fields for the JSM Request Types.

      Suggested Solution

      When removing a custom field that is not in use anymore, any reference to it should also be removed from the database

      Why This Is Important

      Although no apparent issue or loss of functionality is noticed within Jira itself, some third-party apps such as Project Configurator may be impacted by those "orphaned" references and throw errors in the logs as below:

      2024-07-23 15:49:57,873-0300 JiraTaskExecutionThread-3 ERROR user     [c.a.projectconfigurator.projectconfigserialize.ProjectConfigSerializingContext] [Project ITP] [Service desk ITP] [Request Type Desktop/Laptop support@@Service Request]  Trying to export Request Type found problem: Could not find object: Field with ID 'customfield_10900' used by Request Type 'Desktop/Laptop support'
      com.awnaba.projectconfigurator.utils.errorhandling.ObjectNotFoundException: Could not find object: Field with ID 'customfield_10900' used by Request Type 'Desktop/Laptop support'

      Workaround

          Form Name

            [JSDSERVER-15464] Deleting custom fields used in Request types leaves information in the Jira database that should be removed

            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Luke Ellis made changes -
            Fix Version/s New: 10.6.0 [ 110418 ]
            Luke Ellis made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Luke Ellis made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            Luke Ellis made changes -
            Assignee New: Luke Ellis [ cfd0dcced0d7 ]
            Benjamin Suess made changes -
            Status Original: Gathering Impact [ 12072 ] New: Short Term Backlog [ 12074 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            Marc Dacanay made changes -
            Labels New: ril
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 956109 ]
            SET Analytics Bot made changes -
            UIS New: 1

              cfd0dcced0d7 Luke Ellis
              489dcb58d5d9 Edson Araujo
              Affected customers:
              5 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: