Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating from Jira Server to Jira Cloud, will the Java-API of our app still available ?

Raphael Maes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2020

We currently have an in-house developed app running in our Jira Server (formerly known as a "v2 plugin running inside the Jira application and using the public Java-API").

Searching Atlassian documentation, i can't find a clear-cut answer whether our app will still work in the Jira Cloud environment (info/community pages seem to contradict each-other).

I know that configuration changes will be in order, but my main concern is : Must we change all are API calls to REST-API or can we keep using the Java-API ?

Thank you,

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
December 3, 2020

I'd be interested to see where you found a contradiction, but the answer is very simple and hasn't changed.

Type 2 plugins cannot be installed into Cloud.

You will either have to rewrite the app in the Cloud framework (which is totally different to the Server/DC app framework) or drop it and use direct REST calls from a new service.

 

(Strictly speaking, it's not quite that simple - Atlassian could install type 2 plugins, but they have a fixed list of ones that they may install, it's all done in the UI, and they're actively trying to shorten the list to zero.  They will not install any others)

Raphael Maes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2020

Hello Nic,

Thanks for the quick answer,

I apologize for not finding this clear info myself during my searches today, but Atlassian has a large amount of info to offer on their Community, Developer and Documentation pages. And in that haystack...

If you are interested in the 'contradiction' (or rather 'discrepancy'); This came from 2 different sources. One is from the Community pages where a question from 'cbhandal' on Nov 23, 2018 was answered by Jobin Kuruvilla _Adaptavist_ Nov 25, 2018 (Answer is no, "...you have to use the 'Connect framework' to develop add-ons for Cloud"

https://community.atlassian.com/t5/Answers-Developer-Questions/Jira-Java-API-documentation-and-examples/qaq-p/534758

The other (contradicting) info is from the Atlassian Developer pages where a link on Java APIs for Jira Cloud leads you to the Java API documentation (and thus suggesting that it is available):

https://developer.atlassian.com/server/jira/platform/jira-apis-32344053/

(See Par. 'Jira Java APIs' and the link to 'Jira Cloud - Latest Version')

Thank You

Nic Brough -Adaptavist-
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.
December 3, 2020

Mmm, well that page is a page about all the APIs for both types of system, and when you click on one that says Cloud, you land on pages about the REST APIs and Connect frameworks.  When you click on "jira java apis", the very first sentence is "The JIRA Java APIs are typically used when building Plugins2 plugins (for JIRA Server)."

I don't see any contradictions, but I do know the Atlassian documentation is a bit of an unstructured mess in places and some of it is very poortly designed, leading to a lot of clicking on the wrong thing.

Suggest an answer

Log in or Sign up to answer