How do I ensure my test JIRA instance has the same plugins as production?

I'd like to ensure a test JIRA instance has the same plugins as the production. Is there a documented way to copy/clone/rsync off plugins from one JIRA to another ....via command line? 

The docs (https://confluence.atlassian.com/display/UPM/Installing+add-ons) refer to "Plugins 1" and "Plugins 2". However in my prod instance, I also see /opt/atlassian/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/* 

I can do a cycle of trial and error tomorrow but I figure I'll fire off a question here. 

For more context: I want to do something like: https://answers.atlassian.com/questions/12911037 via Ansible. I have the basics there (local mysql), but now it's more about how fully automated I can get it. 

 

2 answers

UPM Command Line Interface (CLI) can provide some help for you in this area. Specifically:

  1. getAddonList so you can compare between the systems
  2. installAddon so you can install missing add-ons

 

For me those links currently go no where - it looks like the JIRA part of bobswift.atlassian.net is available but not the wiki part (for the UPM CLI):

Screen Shot 2016-10-05 at 10.07.24 AM.png

Sorry about that. I forgot to enable anonymous access. Should work now. Thanks for letting me know.

Thanks! Nice work.

I have a dangerous question: Would you say everything that the UPM CLI can be done if you know your way around the JIRA API, and are willing to spend the time and effort? Or in other words how much "secret sauce" is in the UPM CLI?

There is no magic involved, just a simple matter of programming wink.

0 vote

Sometimes you may have add-ons installed in your staging instance for testing and you don't want to uninstall those usually

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,296 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot