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

Jira Plugin Compactibility

David Lemon June 9, 2013

Hello folks,

If i create plugin with the latest jira-sdk4.2 and on jira 6.0.1 will my Listener plugin jar compactable with the old version of jira 5.2.11.....

is it dependent upon jira's version or a plugin is on its own a package which contains all the version compactibility???

please tell me if the question is ununderstandable ? :)

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 9, 2013

We can't actually tell you.

Two general points here. First, the SDK does not matter much. It's useful to work with the latest, but some stuff that is built in an old version 3 of the SDK doesn't generate anything significantly different from the same code built in 4.2. Or even built outside the SDK with your own maven installation and so-on. I think it's important to think of the SDK as a set of tools that make developing for Atlassian products easier than doing it all by hand.

Second is the Jira/Plugin compatibility. The answer to your first question is "it might be compatible", and the second is "no, a plugin does not contain several compatible versions". A plugin is built to match a specific version of Jira (or Confluence or Crowd etc). It MIGHT work for other versions, but it depends on what your plugin does, because if the APIs it uses to do things in Jira have changed, then it could well fall over. If, for example, your plugin has code in it that uses "user" objects and nothing else and you compile it for Jira 5.1, then there's a good chance that it will work on anything from 4.2 through to 6.0 because the user libraries are almost the same all the way through. It will fail miserably on 4.1 and below.

So, the short version of this answer is "maybe"

2 votes
Ulrich Nack
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2013

Hi

Atlassian offers a "coole" online service to check your plugin against the product versions:

http://checkup.atlassian.com

You must simply upload your plugin, the tool will analyze it and you can get infos about your plugin regarding the selected version of the Atlassian product.

Regards

Uli

TAGS
AUG Leaders

Atlassian Community Events