Customfields in plugin not shown

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Fix
    • None
    • Component/s: Issue - Fields
    • Environment:
      GNU bash, version 2.05.8(1)-release (i386-redhat-linux-gnu)

      New customfield types in plugins not shown after jira restart.

      Solution: This is how we modified com.atlassian.jira.plugin.JiraPluginManager

      JiraPluginManager .java
      public void start() throws PluginParseException
          {
              init();
              /*some plugins might contain CustomField descriptions.
               * So after all rest of plugin loading, 
               * CustomFieldManager should be refreshed, 
               * so now it can find all CustomField to resolve their instances in db.
               */        
              ComponentManager.getInstance().getCustomFieldManager().refresh();
          }
      

      This works!

              Assignee:
              Unassigned
              Reporter:
              Karīna
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: