The question is related to Service Desk public java API (jira-servicedesk-api).
Is there any way to get the ServiceDesk object by the RequestType.
There is getPortalId() method, but it is deprecated and I assume it is referencing Portal object.
We can resolve all of the ServiceDesk objects and then get all RequestTypes for each of those. This will work, but I guess there should be some better solution.