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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

495 views 6 11
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