I'm trying to use JQL to filter my issues by Request Type Groups.
I'm retrieving a list of Request Type Groups from this REST API https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttypegroup-get
However it appears that this API returns not the Request Type Groups but the Portal Groups and is therefore not valid when I'm trying to use
"Request Type" in requestTypesInGroup("PROJECT_KEY","GROUP_NAME")
to perform my JQL query.
Is there either an alternative endpoint that actually returns the Request Type Groups or a JQL query where i can filter by the Portal Groups?
@Jordan Falk I would expect also GET to give me req. type groups instead of portal groups. Never tried it so was a bit of a shocker to me as well now hah
I've sent feedback to the learning/docs team to either rename that section in the developer docs, or to replace things with proper API for req. type groups.
As for JQL for portal groups, that sadly doesn't exist. Feature suggestion here: JSDCLOUD-3472: Expose request type groups to search filters or JQL
👉 I've seen people 'map' req. type groups with portal groups (like 1-on-1 mapping) and then just use the function you've mentioned requestTypesInGroup("PROJECT_KEY","GROUP_NAME") in the JQL to get all tickets within those portal/request type groups.
Not sure if there's any other solution or a workaround for this.
Cheers,
Tobi
Thank you very much for your response, that looks like the solution we will have to go with.
One more thing to mention then is that in the GET Request Types endpoint it accepts a groupId param and that also appears to correspond to the Portal Group instead of Req. Type Group
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.