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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Import servicedesk in pom.xml to access servicedesk apis.

Hello,


I would like to use the servicedesk apis in my plugin, but I'm unable to figure out what dependencies I need to add so that I can access the classes:

https://docs.atlassian.com/jira-servicedesk/3.9.1/

I'm also not sure about the version, I'd like to target Servicedesk 4.0.2 and Jira 8.0.2

Any pointers greatly appreciated!

2 answers

1 accepted

0 votes
Answer accepted
For version 4 it's necessary to import the following:

<dependency>
<groupId>com.atlassian.servicedesk</groupId>
<artifactId>jira-servicedesk-api</artifactId>
<version>4.0.2-REL-0002</version>
<scope>provided</scope>
</dependency>

I'm not clear on why it's REL-0002, but that's the one that works.


Be aware that the approvals API was merged into the servicedesk-api with v4, therefore the servicedesk-approvals-api is not available anymore!

Hi, if i do that, then the plugin not start if service desk is not installed, we wanna to import only when Service Desk it is installed

The approvals api is not included with the servicedesk-api, actually I was unable to figure out WHERE that api is available!

(if I add that record, then the import of the ApprovalService won't work)

i.e. https://docs.atlassian.com/jira-servicedesk/3.9.1/?_ga=2.75103253.607170755.1552404664-250007471.1516890476

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

266 views 4 6
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you