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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • 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

How to get request type key from the request type name for specific JSD project

Hi everyone,


In my java code, for a specific JSD project, I need to get the request type key from the request type name.


I need that information because I want to set the request type with a specific name to a issue. For that I need to create something similar to VpOrigin object that contains portal key and request type key, for example:


Portal key is easy to get from the issue, but I dont see how to get the request type key.

One idea could be to use 


and it's method getRequestTypes. In a parameter I see RequestTypeQuery but I dont see inside how to limit the search on the specific JSD project (I have the request types with the same name in different JSD projects thats why).


Thank you


1 answer

1 accepted

0 votes
Answer accepted
Dario B Atlassian Team Jan 30, 2020

Hello @Dusan Spaic ,

I will try to help as much as possible here, but please notice that this is not the best place to get help on development related questions. The right resources are the ones listed in


Once this has been said, if my understanding is correct you are looking for a way to get the request type key(s, not the ID) for a specific JSD project (or service desk).

Looking at the Jira Service Desk Server Java API I believe that you should review the methods in the package: 

Specifically, please see:


I hope this helps.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

273 views 2 5
Read article

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