Search a custom field via REST, with Contains or LIKE option?

Deleted user March 22, 2018

Hi, Ive got the below working great,

rest/api/2/search?jql=cf[17008]~123456

But there can sometimes be a Location prefix in front of the value, is it possible to include some kind of wildcard character?

rest/api/2/search?jql=cf[17008]~AU123456

 

Many Thanks

 

 

1 answer

0 votes
Alexey Matveev
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 22, 2018

You can not begin your search with a wilcard character. I guess, It is lucene limitation. But you can end with a wildcard character. For example, you can not write

cf[17008]~*123456

But you can write

cf[17008]~AU12*

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events