Converting Jira Plugin 1 to Plugin 2

Hi All

I have recently upgraded a jira plugin and when I placed it uner the installed_plugins directory(usual place to put the plugins 2 type plugins) I received an error message that it could not load the plugin and I copy over the jar to WEB-INF/lib directory (usual place to keep plugin 1 type)

My question is how do I make a plugin type-2 compatible?

Note: Functionally my upgraded plugin is running fine

Rahul

2 answers

1 accepted

0 vote
Dieter Community Champion Jan 09, 2013

Depending on the type of your plugin it might be sufficient to just add plugins-version="2" to your atlassian-plugin.xml

<atlassian-pluginkey="com.atlassian.confluence.plugins.example"name="Example Plugin" plugins-version="2">

Thanks. Go it. I am sure it will work then.

Rahul

Thanks. Go it. I am sure it will work then.

Rahul

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

327 views 0 6
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