Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL for Request type groups vs Portal groups

Jordan Falk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2025 edited

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? 

1 answer

1 accepted

4 votes
Answer accepted
Tomislav Tobijas
Community Champion
February 3, 2025 edited

@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

Jordan Falk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2025

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

Like • Tomislav Tobijas likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events