Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Plug-in to do exact-text search on Jira Cloud

Sandra Kawamoto
Contributor
February 18, 2020

There is a bug at Jira Cloud which avoid us to do exact-text search (https://jira.atlassian.com/browse/JRACLOUD-69263). Is there a plug-in that can do the job in a easy way? I need to search for a phrase on comment and summary fields.

2 answers

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2020

Hello @Sandra Kawamoto

Thank you for reaching out.

Indeed, there's an app you can use to work around the bug you mentioned and properly search for exact text in Jira: Scriptrunner for Jira Cloud.

As mentioned in this community question, these would be the steps to search for exact-text using regex:

ScriptRunner Enhanced Search

issueFunction in issueFieldMatch("project = CSCRUM", "summary", "new test")

Jira Issue Navigator

Search for Multiple Strings in Scriptrunner using regex:

issueFunction in issueFieldMatch("project = CSCRUM", "summary", "new.*|test.*")

For more information about the steps provided, you can check the following documentation: 

ScriptRunner Enhanced Search

Let us know if you have any questions.

Sandra Kawamoto
Contributor
February 20, 2020

Hi @Petter Gonçalves! Thanks for answering.

As the developers would do the search on 3 projects, we would have to write something like:

issueFunction in issueFieldMatch("project = CSCRUM1", "summary", "new test") or 
issueFunction in issueFieldMatch("project = CSCRUM2", "summary", "new test") or   
issueFunction in issueFieldMatch("project = CSCRUM3", "summary", "new test") or 
issueFunction in issueFieldMatch("project = CSCRUM1", "description", "new test") or 
issueFunction in issueFieldMatch("project = CSCRUM2", "description", "new test") or 
issueFunction in issueFieldMatch("project = CSCRUM3", "description", "new test")  

Right?

Or is it possible to write something like:

issueFunction in issueFieldMatch("project = CSCRUM1 or project = CSCRUM2 or project = CSCRUM3 ", "summary" or "description", "new test")

 

The first option, which I believe it is the solution, is not good, as it is something they will do a lot. At least if I could define a function that I give the sentence and it is converted to the 6 lines....

myexactfind("new test")

Please, let me know if I understood correctly and if you have any suggestion. Thanks!

0 votes
Sandra Kawamoto
Contributor
March 9, 2020

I'm still looking for a solution.

Suggest an answer

Log in or Sign up to answer