Forums

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

How to Find a specific Text using jquery

Deleted user July 15, 2021

need to refine the search criteria

I have Jira tickets with Sprint  value = Sprint 1 , Sprint 2, Sprint 3

When i use jquery sprint="Sprint 2" to fetch only sprint 2 records i am getting records with Sprint 1 as well 

 

Only by using = Operator i am not able to filter exact match and i tried == as well that not works. please suggest me the best way to search this value

1 answer

1 vote
Pavel Junek
Community Champion
July 15, 2021

Hi @[deleted],

Welcome to Atlassian community!

For "Text" search you can use operator ~ (not =), for eg.:

project = "Test Scrum" and text ~ "test"

search text.PNG

Pavel

Valen Cardozo
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.
July 15, 2021

To add to Pavel's answer, which I believe to be correct
I pass you the Jira documentation based on the text search https://support.atlassian.com/jira-software-cloud/docs/search-syntax-for-text-fields/

I hope you find it useful
Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events