Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,415,529
Community Members
 
Community Events
170
Community Groups

How to install add-on/plugin with a script in Jira 6.

I am wondering if it is still possible to install a custom plugin in Jira (in our case, Jira RPC plugin) using a script in Linux. In Jira 4 it was simple: just drop the jar into the lib directory. In Jira 6, it seems, it can only be done using the plugin management GUI. Which gives you an extra manual step to perform if you want to deploy Jira unattended, like we do all the time. Does anyone know a way ?

Thanks & regards,

Paul.

4 answers

1 accepted

1 vote
Answer accepted

Hi Paul,

When jira is not running

  • If you are installing a 'Version 2' (OSGi) plugin, copy the jar into your JIRA home directory under plugins/installed-plugins/.

you can even a do plugin update from a remote place

scp user@from:/path/version/plugin/*.jar ${JIRA_ROOTPATH}/JIRA_HOME/plugins/installed-plugins

If jira is running you can also upload the plugin with cli from the atlassian sdk

Best regards,

Hi Trey, your first suggestion actually worked ! Excellent, that is exactly what I was looking for. Thanks !

b.t.w. it was a version 2 plugin.

OK, that's clear enough ;-). Time to do some sniffing then.

Hi Timothy, thanks for your answer. I thought of this myself but the drawback of this solution is that Jira must be up & running. Not a disaster, but if you can think of another way ...

Timothy Rising Star Aug 25, 2013

There's no other way.

0 votes
Timothy Rising Star Aug 21, 2013

You could always do a POST to the resource if you need to. Though, I don't have that URL for you.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events