Forums

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

Does the Java API Still Exist?

Marvin Warble October 20, 2021

I want my Java web app to submit issues to my service desk using the Java API.  However, I can't find any physical files for the Service Desk API.  I can only find links to the Java Docs.  I stumbled upon this page that provides information about the API's maven repository:

https://developer.atlassian.com/server/jira/platform/java-apis/#java-api-policy-for-jira

However, this repository doesn't seem to exist.  

Does the Java API exist?  If it does, are there documents that explain correctly how to use it?  

Thanks.

1 answer

1 vote
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.
October 20, 2021

Welcome to the Community!

This could become quite a long essay with lots of paths, so I'll try to shorten.

The Java API for Jira still exists.  It has to, otherwise the software would not work.  But I do not think that is really what the question is.

You say "I want my Java web app to submit issues to my service desk" - that makes perfect sense, but it suggests that your web-app is not an app that you install in Jira, but instead, a separate program.   Then you add "using the Java API"

And that's where I'm stuck - remote applications do not run inside Jira, so the Java API is irrelevant to them.  There's another complexity - the Java API certainly exists for Cloud Jira as well as Server and DC, but you don't use it in Cloud apps.

I think the clarification question I need to ask is "where is your application running?"  Is it

  • a Jira app that runs in a Jira server/dc system
  • a Jira app that runs alongside Jira Cloud
  • an independent application that wants to talk to a Jira (either Cloud or Server/DC)
Marvin Warble October 20, 2021

My WebApp runs on my servers.  I was under the impression the Java API would allow me to communicate with the service desk, essentially a wrapper for the REST API.

A few years ago when it was Jira Help Desk, there was a Java API that allowed you to connect to the help desk and submit issues via API.  I was assuming the Java API for the service management desk did the same thing.

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.
October 21, 2021

I'm sorry for the delay in replying, I've a habit of opening things I want to do something about and then wandering off to another computer or browser where it's not open.

I am a bit lost on what you saw a few years ago, because the description you've given is not the architecture Jira (and the stuff running on it) has ever had.  It makes me think what you've called the "Java API" is an API for something else.

In the off-the-shelf distributions, there are (broadly and slightly fuzzy because some of the bits rely on other bits to work) three interfaces:

  • The web UI
  • The REST interface
  • The internal Java API

The important one here is the third - the Java API is what the web UI, the REST interface, and all the internal functions all talk to in order to do their jobs.

Apps that you install into Jira also use the internal Java API.

But, when you say "connect to the help desk and submit issues via the API", that suggests the process is external to Jira.  

External processes have no access to the Java API, they're using the REST API (or SOAP if they're old, or maybe the web UI if someone has done it the hard way)

So, as your app is running on another platform, the answer becomes quite simple - yes, the Java API for Jira still exists, but it doesn't matter because your app isn't using it!  Your app is using Jira's REST interface (or if it's old, possibly SOAP) to talk to it.

Marvin Warble October 21, 2021

Ok.  Thanks for the clarification.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events