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

Customfields in plugin not shown

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Fix
    • None
    • Issue - Fields
    • GNU bash, version 2.05.8(1)-release (i386-redhat-linux-gnu)
    • 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.

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              8a3d8ce28c90 Karīna
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: