Jira ServiceDesk has a Java API, which is mostly interfaces and very different from the Jira Java API:
https://docs.atlassian.com/jira-servicedesk/4.3.0/
Are there any examples of how to use this API?
Here is some sample code for the Jira Java API:
https://www.baeldung.com/jira-rest-api
I'm looking for something similar for the Jira Service Desk Java API.
Thanks
Your first link is to documentation for Service Desk REST endpoints for use with tools like cUrl or Postman. Service Desk also has a Java API:
https://docs.atlassian.com/jira-servicedesk/4.3.0/
I'm looking for documentation for how to use that API to write a standalone program to create Service Desk requests.
Jira also has a Java API and I found some example code that lets me write a standalone program to create Jira tickets:
https://www.baeldung.com/jira-rest-api
I'm looking for something like that for the service desk API.
Your second link is for how to create a Service Desk plugin, which is not what I'm doing.
Why does this not have an answer!?!
Sorry, not super helpful. But perhaps it's good to know that you're not the only one looking for help on this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Me too.
This is hard to believe. I do wonder if it's necessary now to make the project a SpringBoot project, as from the bare Java API I have no idea how to actually create instances of the OrganizationService, as an example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I believe that by saying Jira Java Api you mean Jira Rest API. If so, you can find examples on Jira Service Desk Rest Api here:
https://docs.atlassian.com/jira-servicedesk/REST/3.6.2/
Examples about Jira SD Java Api you can find here:
https://developer.atlassian.com/server/jira/platform/creating-automation-rule-components/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The OP actually was pretty precise in saying he was interested in the JAVA(!) API, and he pointed to the API-Docs of that API.
Now, you are pointing to
git clone https://bitbucket.org/atlassian/service-desk-automation-tutorial.git
in order to understand the ServiceDesk Java API.
But this is all to create some JIRA server plugin, right?
Are you saying the ServiceDesk API is by no means intended to serve as a client API to create or query ServiceDesk Organizations and such?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.