Lot of WARN log messages for Method needs allowlisting.

XMLWordPrintable

    • 10.03
    • 17
    • Severity 3 - Minor
    • 105

      • Since Jira 10.x, following logs are observed in atlassian-jira.log files.
      2025-02-24 16:49:35,352+0100 http-nio-8080-exec-4 WARN admin 1009x1358x1 someUser X.X.X.X,Y.Y.Y.Y /secure/AjaxIssueEditAction!default.jspa [velocity] DEBUG MODE: Method needs allowlisting: com.atlassian.jira.issue.fields.ImmutableCustomField#getDescription()

      Workaround

      •  Edit atlassian-jira-software-10.x-standalone/atlassian-jira/WEB-INF/classes/velocity-default.properties
      • Search for property introspector.proper.allowlist.methods in this file. This property would look like this.
        introspector.proper.allowlist.methods = \
        com.atlassian.activeobjects.admin.tables.TablesController$TableInformation#getRows(),\
        com.atlassian.activeobjects.admin.tables.TablesController$TableInformation#getTable(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getPluginKey(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getPluginName(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getPluginVersion(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getVendorName(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#getVendorUrl(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$AvailablePluginInformation#isAvailable(),\
        com.atlassian.activeobjects.backup.PluginInformationFactory$NotAvailablePluginInformation#isAvailable(),\
        com.atlassian.applinks.api.ApplicationId#get(),\ 
      • You can append following entry as well somewhere in between. Restart Jira. This change should avoid logging these messages.
        com.atlassian.jira.issue.fields.ImmutableCustomField#getDescription(),\
        

            Assignee:
            Sergii Sinelnychenko
            Reporter:
            Chandra Shekhar Pandey
            Votes:
            30 Vote for this issue
            Watchers:
            43 Start watching this issue

              Created:
              Updated:
              Resolved: