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 votes
Answer 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
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page

                                                      &nbsp...

204 views 0 5
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