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).
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 https://developer.atlassian.com/resources:
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:
I hope this helps.
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...
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