Forums

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

How to use searchQuery for exact match on values with spaces

Fabio Tavares March 21, 2025

I'm trying to use the rest api to fetch a project's request type by name.
The Jira Service Management Cloud REST API

I see the searchQuery explanation seems to indicate that is works like a "contains" but I would like to understand if I can do an exact match, specially including spaces.

I have a request type named "Entitlement Request" that I'm not able to search the way i want. 

1 answer

0 votes
Mahesh Shinde
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2025

Hi @Fabio Tavares

You can try to get the Request types details using ID, please find the below document using this RESP API call:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get-request

 

Regards,

Mahesh Shinde

Fabio Tavares March 23, 2025

Hello Mahesh,

Unfortunately this won't help since I'm trying to obtain a Project's Request Type's Id using its name which may or may not exist associated to an issue.

Suggest an answer

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

Atlassian Community Events