Search the JIRA 5.0.x Beta and RCs Documentation:

Index
Downloads (PDF, HTML & XML formats)
Other versions

This documentation relates to JIRA 5.0.x Beta and RCs only.
The latest official version is JIRA 4.4.x
If you are using JIRA 4.4.x either view this page in the JIRA 4.4.x documentation or visit the JIRA 4.4.x documentation home page.
Skip to end of metadata
Go to start of metadata

About Plugins

A plugin is a .jar file (containing code, resources and a configuration file) that can be installed into an Atlassian product to add new functionality or change the behaviour of existing features.

You can use plugins to customise and extend the functionality of JIRA in a variety of ways, including:

JIRA ships with a number of preinstalled plugins, and many more are available for download from the Atlassian Plugin Exchange. You can also create your own plugins. Please visit the JIRA Developer Documentation​ for information on building plugins.

Installed JIRA plugins can be enabled or disabled using the Universal Plugin (bundled with JIRA) as described below.

Every plugin is made up of one or more plugin modules. A single plugin may do many things, and each module represents a single function of the plugin. Individual modules can be enabled or disabled, although this is not recommended as modules can often depend on each other. To do so safely would require knowledge of the module interdependencies.

(warning) Some functionality described on this page is restricted in JIRA OnDemand.

About 'Version 1' Plugins and 'Version 2' Plugins

There are two types of Atlassian plugins:

  • 'Version 1' Plugins — These plugins are compatible with the 'old' plugin framework that was used in JIRA prior to version 4.0, and also with the 'new' plugin framework used in JIRA version 4.0 and later. 'Version 1' plugins are installed into your JIRA Installation Directory under atlassian-jira/WEB-INF/lib/. 'Version 1' plugins must be installed manually (see below) and uninstalled manually (see below).
  • 'Version 2' Plugins — These plugins are compatible with the 'new' plugin framework used in JIRA version 4.0 and later. 'Version 2' plugins are installed automatically, using the JIRA administration interface (see below). They are installed into your JIRA Home Directory under plugins/installed-plugins/. 'Version 2' plugins are deployed in an internal OSGi container to isolate the plugin from the core code and other plugins, and to allow sophisticated dependency management. 'Version 2' plugins have to be specifically declared as such, using the plugins-version="2" attribute in the plugin's configuration file (atlassian-plugin.xml).

How do I tell if a Plugin is 'Version 1' or 'Version 2'?

Go to https://plugins.atlassian.com and look at the plugin's details. The 'Plugin System' field will show 'ONE' for Version 1 plugins and 'TWO' for Version 2 plugins.

Installing a JIRA Plugin

Installing a plugin from the Atlassian Plugin Exchange

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA System Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To find and add a plugin from the Atlassian Plugin Exchange:

  1. Click the 'Install' tab in the UPM. You will see a list of featured plugins.
  2. Search for your plugin as follows:
    • Enter some keywords that describe the plugin in the 'Search the Plugin Exchange' search box and press 'Enter'.
    • Alternatively, browse to the desired plugin in the list. You can choose 'Featured', 'Popular', 'Supported' (by Atlassian) or 'All available' from the 'Plugins to show' dropdown to see a different list of plugins.
  3. Click the 'Install' button for the desired plugin to add it to your application. A confirmation message and the plugin details will appear when the plugin is installed successfully.
    Note: You may need to restart your application for your change to take effect. The Universal Plugin Manager will inform you if this is the case.
    Note: Not all plugins can be automatically installed. Some required manual installation. These plugins will have a 'Download' button instead of an 'Install' button. In these cases, you should read and follow the plugin's installation instructions.

Screenshot: Finding a new plugin from the Atlassian Plugin Exchange

Installing your own plugin

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA System Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To upload your own plugin:

  1. Click the 'Install' tab in the UPM. You will see a list of featured plugins.
  2. Click the 'Upload Plugin' link. The 'Upload Plugin' window will appear.
  3. Specify the location of your plugin:
    • If the plugin you want to install is on your computer, use the 'Browse' dialogue to choose the plugin JAR file.
    • If you want to install a plugin from a remote location, enter the URL of the plugin JAR file in the 'From this URL' text box.
  4. Click the 'Upload' button to upload and enable your plugin. A confirmation message will appear when the plugin is successfully installed.
    Note: You may need to restart your application for your change to take effect. The Universal Plugin Manager will inform you if this is the case.

Screenshot: Uploading a new plugin

Installing a plugin manually

You will need to install plugins manually if:

  • you are installing a 'Version 1' plugin; or
  • your JIRA server does not have access to the internet (in which case the Universal Plugin Manager will be unable to access http://plugins.atlassian.com).

Once you have downloaded or created your plugin jar file, follow these steps to install it in your JIRA instance:

  1. Shut down JIRA.
  2. Copy your plugin jar (e.g. 'EXAMPLE_PLUGIN.jar') into the appropriate plugins directory:
    • If you are installing a 'Version 1' plugin, copy the jar into your JIRA installation directory under atlassian-jira/WEB-INF/lib/.
    • If you are installing a 'Version 2' (OSGi) plugin, copy the jar into your JIRA home directory under plugins/installed-plugins/.
      (info) To find out whether a plugin is Version 1 or Version 2, check the Plugin Exchange. Note that plugins have different versions, and older builds of plugins may be Version 1.
  3. Start up JIRA.
  4. Go to 'Administration' > 'Plugins' > 'Plugins'. Your plugin (e.g. 'EXAMPLE_PLUGIN') will be listed and enabled.

If you copy the JIRA jar file of a 'Version 1' plugin into the installation directory for 'Version 2' plugins (or vice versa), JIRA provides a warning, indicating that the plugin has been installed into the wrong directory.

However, there may be a very small number of 'Version 1' plugins (such as the JIRA RPC Plugin) which, when accidentally installed into the 'Version 2' plugins directory (<JIRA home directory>/plugins/installed-plugins/), will not generate this warning. Nevertheless, the plugin will not function correctly and the JIRA administration 'Plugins' page typically indicates that this plugin has zero modules.

To rectify this problem, reinstall the plugin jar to the correct directory by:

  1. Shutting down JIRA,
  2. Moving the plugin jar file to <JIRA installation directory>/atlassian-jira/WEB-INF/lib/
  3. Restarting JIRA.

Viewing Installed Plugins

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

Screenshot: Finding installed JIRA plugins, using the Universal Plugin Manager
(info) Some tabs will not be visible if you do not have the JIRA System Administrators global permission

Updating a JIRA Plugin

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA System Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To upgrade a plugin:

  1. Click the 'Upgrade' tab. The plugin upgrades page will appear.
    • If there is a later version of a plugin that you have already installed, this page will show the latest compatible version of the plugin.
    • You can click the plugin name to expand the row and see more information about the plugin.
    • You can filter your list by entering keywords in the 'Filter plugins' text box.
  2. Click the 'Upgrade Now' button next to the relevant plugin to update it to the plugin version shown.

To upgrade all available plugins:

  1. Click the 'Upgrade' tab. The plugin upgrades page will appear.
    • If there is a later version of a plugin that you have already installed, this page will show the latest compatible version of the plugin.
    • You can click the plugin name to expand the row and see more information about the plugin.
    • You can filter your list by entering keywords in the 'Filter plugins' text box.
  2. Click the 'Upgrade All' button to update every plugin to the plugin versions shown.
    Note: Some plugins cannot be installed via the Universal Plugin Manager. You must install these plugins manually. These plugins will not be upgraded automatically.

Disabling a JIRA Plugin

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To disable a plugin:

  1. Click the 'Manage Existing' tab. You will see a list of the plugins installed in your application. Enabled plugins will have this icon:
  2. Locate the plugin that you want to disable and click the title to expand the plugin details section.
  3. Click the 'Disable' button.
  4. Once a plugin has been disabled, you may need to restart your application for your change to take effect. If so, you will see a message for the plugin, 'Disabled, requires restart'.
    Once the plugin is fully disabled, you will see an 'Enable' link for the plugin.

Also note that JIRA can automatically disable plugins if they cause errors on startup or initialisation. This is usually caused by having an old version of the plugin that is not compatible with your current version of JIRA. If this occurs, it will be indicated on the 'Current Plugins' page (shown above). You will need to stop JIRA, install the newer version of the plugin and restart JIRA.

Enabling a JIRA Plugin

Note: newly installed plugins are enabled by default.

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To enable a plugin:

  1. Click the 'Manage Existing' tab. You will see a list of the plugins installed in your application. Disabled plugins will have this icon:
  2. Locate the plugin that you want to enable and click the title to expand the plugin details section.
  3. Click the 'Enable' button.
  4. Once a plugin has been enabled, you may need to restart your application for your change to take effect. If so, you will see a message for the plugin, 'Enabled, requires restart'.
    Once the plugin is fully disabled, you will see a 'Disable' link for the plugin.

Disabling/Enabling all User Installed Plugins (Safe Mode)

Running JIRA in Safe Mode disables all user installed plugins at once. All plugins that were disabled when you entered Safe Mode will be re-enabled when you exit Safe Mode.

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To enable Safe Mode:

  1. Click the 'Manage Existing' tab. You will see a list of the plugins installed in your application.
  2. Click the 'Enable Safe Mode' button.
  3. Click the 'Continue' button in the confirmation window. All user installed plugins will be disabled and your application will now be running in 'Safe Mode'.
  4. You can now make changes to your installed plugins as desired. For example, you may want to enable/disable specific plugins or plugin modules.
  5. Exit safe mode by clicking one of the links in the Safe Mode banner:
    • Click 'Exit Safe Mode and restore the previous configuration' to restore your plugin configuration to its state before you entered Safe Mode.
    • Click 'Exit Safe Mode and keep the current configuration' to keep all changes made to your plugin configuration during Safe Mode.

Uninstalling a JIRA Plugin

Note: If you only want to temporarily remove a plugin, you may wish to disable it instead of uninstalling it.

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA System Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To uninstall a plugin:

  1. Click the 'Manage Existing' tab. You will see a list of the plugins installed in your application.
  2. Click the name of the plugin that you wish to uninstall. The plugin details will appear.
  3. Click the 'Uninstall' button. The information summary will display an 'Uninstalling' message and the plugin will be uninstalled from your application.

Uninstalling a 'Version 1' plugin manually

  1. Shut down JIRA.
  2. Remove your plugin jar (e.g. 'EXAMPLE_PLUGIN.jar') from the appropriate plugins directory:
    • If you are removing a 'Version 1' plugin, remove the jar from your JIRA installation directory under atlassian-jira/WEB-INF/lib/.
    • If you are removing a 'Version 2' (OSGi) plugin, remove the jar from your JIRA home directory under plugins/installed-plugins/.
  3. Start up JIRA.
  4. Go to 'Administration > Plugins'. Your plugin (e.g. 'EXAMPLE_PLUGIN') will no longer be listed.

Configuring a JIRA Plugin

A number of plugins have advanced configuration options, e.g. a plugin may contain multiple 'modules' that you can enable/disable. If you have one of these plugins installed on your application instance, you can view and update these configuration options via the Universal Plugin Manager (UPM).

To access the Universal Plugin Manager in JIRA:

  1. Log in as a user with the JIRA Administrators global permission.
  2. Select 'Administration' > 'Plugins' > 'Plugins'. The Universal Plugin Manager will be displayed, showing the plugins installed on your JIRA site.
    (tick) Keyboard shortcut: 'g' + 'g' + start typing 'plugins'

To configure a plugin:

  1. Click the 'Manage Existing' tab.
  2. Locate the plugin that you want to configure and click its title. The plugin details section will expand.
  3. Click the 'Configure' link for that plugin.
    • The link will be disabled if the plugin is disabled.
    • If there is no 'Configure' link, then there are no advanced configuration options available for that plugin.
  4. The advanced configuration options for the plugin will appear. Update the configuration settings as desired and save your changes.
    Note: The advanced configuration screens are provided by the plugin. If you encounter any problems after you click the 'Configure' link, the plugin is responsible for the issue, not the Universal Plugin Manager.

  1. Jan 21, 2010

    Is there no way to see what plugins were added beyond the default ones that come with the standard JIRA installer?

    I am trying to migrate to a new Jira instance and its time consuming figuring out from this large list of plugins which ones came with it and which were added later

    1. Jan 21, 2010

      Not via the JIRA admin screens at this time, sorry. You may like to vote for this issue: JRA-19636.

      Your best option would be to search for files in your JIRA installation that have a modified date that is later than JIRA's files.

  2. Mar 24, 2010

    Not all plugins can be disabled using the instructions here, as some plugins do not offer a "Disable plugin" link (I am finding that about half of the plugins in my installation can't be disabled because of this).  Some more information on why this happens would be helpful.

  3. May 09, 2010

    Hi, I'm starting to develop v2 plugins with the SDK and am having a bit of a situation with the plugins not refreshing when redeployed.

    I start developing using the SDK, get to a point, then check in to Git, and at the same time build my plugin (using the 1.0-SNAPSHOT version), I deploy, all is fine.

    The problem arises when I update the plugin and redeploy. After I restart JIRA the old plugin is still loaded, I've tried deleting the webapps and work directories but no luck there, what's causing my old plugin to danlge around?

    I can solve this by updating the version, but the point is I want to eventually add this to a build server that will redeploy the plugins to our test JIRA once the system is down each night, I only want to update the version (as is why I'm using SNAPSHOT) when I'm ready for "production ready" code.

    Am I missing an uninstall step here or something?

  4. Nov 04, 2010

    Dear All,

    I want to extend the Jira API and run as a Webservice in jira server. I did the following steps:

    1. Create a Dynamic Web Deployment Project in Eclipse.

    2. Generate the following codes.

    3. Run wsgen command to genarate the jaxws files.

    4. Create .WAR file from eclipse.

    5. Copy this file to <Jira-Installation-Path>\webapps (ex: D:\Program Files\Atlassian\JIRA 4.0.1\webapps)

    6. Start Jira

    I can browse the service through url (http://localhost:8090/MyJiraService/SoapExtensionImpl?wsdl)

    My problem is that I am getting token manager as null when I am trying to login from my client application.


    public class SoapExtensionImpl implements SoapExtension, JiraSoapTokenResolver

    {

              private TokenManager tokenManager;

              private final ProjectService projectService;

              private final IssueService issueService;

              private final UserService userService;

              private final SchemeService schemeService;

              private final AdminService adminService;

              private final SearchService searchService;

              private final ProjectRoleService projectRoleService;

              private final IssueConstantsService issueConstantsService;

              public SoapExtensionImpl(TokenManager tokenManager, ProjectService projectService, IssueService issueService, UserService userService, SchemeService schemeService, AdminService adminService, SearchService searchService, ProjectRoleService projectRoleService, IssueConstantsService issueConstantsService)

             

    Unknown macro: {                    this.tokenManager = tokenManager;                    this.projectService = projectService;                    this.issueService = issueService;                    this.schemeService = schemeService;                    this.userService = userService;                    this.adminService = adminService;                    this.searchService = searchService;                    this.projectRoleService = projectRoleService;                    this.issueConstantsService = issueConstantsService;           }


              public void setTokenManager(TokenManager tokenManager)

             

    Unknown macro: {                    this.tokenManager = tokenManager;           }


              @Override

              public String login(String username, String password) throws RemoteException,

              RemoteAuthenticationException

    Unknown macro: {                    // TODO Auto-generated method stub                    return tokenManager.login(username, password);           }

    }

  5. Dec 23, 2010

    Anonymous

    Is there a way to change the v2 plugins directory?

    Some property or something like that?

  6. Feb 02, 2011

    Anonymous

    It is possible to add plugins if you're on a hosted plan?

  7. Feb 09, 2011

    Anonymous

    Is there a way to install plugins when using the hosted version, if so, how?

  8. Mar 12, 2011

    Anonymous

    Brilliant. I am trying to install the "Universal Plugin Manager" (why does it not come pre-installed???), and the help for that thing leads to this page. Here it tell me to "use the universal plugin manager...". Brilliant, just brilliant.

    1. Mar 13, 2011

      Hello there,

      Could you please confirm which version of JIRA you are using?

      JIRA 4.2 does not come pre-installed with the Universal Plugin Manager (UPM), although UPM is compatible with JIRA 4.2. For this version of JIRA, you would install the UPM plugin like any other plugin - as documented here in the JIRA 4.2 documentation.

      JIRA 4.3 (which is soon due for official release) already comes packaged with the UPM plugin.

      Cheers,
      Giles.

  9. Apr 11, 2011

    Hello, just one minor thing. In my test LAN-based, no internet connection installation, the "Manage Plugins" admin page can not get any information about the plugins (clicking just gets the "wheel of death" and then just a pink bar), even for my locally developed plugins. In the logs I see that it is timing out when connecting somewhere, which is hosted in contegix.com.

    It would be nice to have the interface behaving properly even when there is no internet connection from the host. I guess it is trying to see if there are updated versions of the plugins but it is silly to just do that every time and to not display any data/controls (no enable/disable, no version number) if it fails.

    I'm using 4.3 btw

    1. Apr 27, 2011

      Anonymous

      I am having the same issue. I'm unable to enable/disable/configure any plugins due to this.

  10. May 09, 2011

    Anonymous

    I'm trying to evaluate Greenhopper but don't have the plugin menu option detailed in the instructions above. What could be the cause of this?

  11. Jun 27, 2011

    As already pointed out by Daniel, the plugin administration pages don't properly work when HTTP access from the server with Jira installation to some external site is not possible. This is no minor issue at all and a bit confusing to me - any good practise of server hosting would advise you to block outgoing traffic initiated from the web server! Moreover, there seems to be no guide how to install version 2 plugins manually, and even the upload plugin functionality runs into a dead end. The error handling here is broken as well, as you still see the "installing xxx plugin" popup long after the server ran into a connection timeout.

    1. Jun 27, 2011

      Thanks for the feedback — I have added instructions for installing version 2 plugins manually.

      1. Jun 28, 2011

        Ah, thanks, that clarifies a lot!

  12. Jun 29, 2011

    i want to create a plugin that creates issue's subtask programmatically , i mean i want to create 2 combobox , one of the projects present in my jira and the the second combobox is of the issues of the project selected and a textfield to give a name to a subtask and a submit button to create the issue's subtask...
    help please

  13. Jun 29, 2011

    i want to create a plugin that creates issue's subtask programmatically , i mean i want to create 2 combobox , one of the projects present in my jira and the the second combobox is of the issues of the project selected and a textfield to give a name to a subtask and a submit button to create the issue's subtask...
    help please

    i'm using jira 3.13.1 

    thank you in advance 

  14. Jul 11, 2011

    Anonymous

    Hi to all!

    I'm looking to get a list of plugins that are installed in a particular project.

    Greetings.

  15. Oct 07, 2011

    Anonymous

    If you are creating an internal plugin. How do you handle the updates problem? Is there a way that the plugin points to some internal repository and detects there are newer versions?