JIRA REST API: How to search groups by case insensitive query

Jānis Liepa April 23, 2020

Hello,

In the REST API documentation nothing is said about case-sensitive query:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-groups-picker-get

 

How can I ignore case sensitiveness of the query parameter during getting groups with the help /rest/api/2/groups/picker?

Right now:
/rest/api/2/groups/picker?query=aaa returns group Test aaa.
/rest/api/2/groups/picker?query=aAa returns group Test aAa.

What I need is - get both groups (Test aaa and Test aAa ) using rest/api/2/groups/picker?query=aaa or rest/api/2/groups/picker?query=AAA

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Hazwan Ariffin
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.
April 23, 2020

Not possible, unfortunately. But there's a feature request to bring this to Cloud:

JRACLOUD-71706: Make group picker case insensitive for /rest/api/3/groups/picker 

Watch the ticket to be kept updated on the progress of the feature.

Suggest an answer

Log in or Sign up to answer