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

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
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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

134 views 0 4
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