Automate Plugins installation on JIRA

We have over 40 plugins in JIRA and it was becoming pain to install them frequently on test enviornments, so I tried to copy all the 40 jars from production environment to test environment under $JIRA DATA DIR/application-data/jira/plugins/installed-plugins
and restarted my JIRA.

I am able to see that 38 plugins seems to be deployed and are visible under Manage Addons screen.

I have to test them yet, I shall update my finding as soon as complete by testing

Meanwhile just wanted to know if anyone had done this before and did they see any repurcussions by following this way ??

3 answers

Hi Sunil

Yes, you can copy all the files and paste then in the new installed-plugins folder. You just have to check if they are compatible with your new test instance version. The ones that wasn't installed, probably are old versions plugins that you have to install manually.

Hope it helps,

Ricardo Carracedo.

That used to be the "standard" way to install plugins a while ago, before marketplace and the fancy UPM, so I believe it's still supported. If you're just copying jars from one place to another, then it should work. The only difference is that you will not be able to install .OBR (bundled with dependencies) plugins this way, only .JARs.

Is there any way to install .OBR files automatically? Also why is that i find a jar file of the same name if i install an .obr file? what does the jira does upond understanding that the uploaded file is an .obr file.?

AFAIK, the only way to install OBR files is using the "Upload plugin" feature of the UPM.

OBR files are just archives containing you plugin jar file and its dependencies. When you install an OBR file, it will automaticall install the dependencies. For example if you have Plugin A and Plugin B and B uses some services from A, you can add A as a dependency of B so that B.obr will contain both B.jar and A.jar and will install both of them automatically.

Is copying the .jar files still best practice in 6.3? Is there way to automate the configuration as well?

Thank you Ricardo and Florin for your inputs !!!!!

Hi All,

Is this plugin will support to Jira v6.0.1, Please confirm

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,088 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you