Automatically disable JIRA standard code and noformat macro on installation

Issue #38 resolved
Holger Schimanski repo owner created an issue

Currently the JIRA admin has to manually disable the JIRA standard {code} and {noformat} macro.

This is not very convinient. An automatic disable on installation/enabling of JIRA Syntax Highlighter and re-enable on deinstallation/disable should take place.

Comments (6)

  1. Holger Schimanski reporter

    Investigating details on JIRA Plugin Lifecycle description.

    If I find the right hook during lifecycle, then the following code should do the job.

    PluginController pc = ComponentAccessor.getComponent(PluginController.class);
    pc.disablePluginModule("com.atlassian.jira.plugin.system.renderers.wiki.macros:code");
    
  2. Log in to comment