Forums

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

Searching issues based on specific string fragment in summary

AnupamS July 11, 2019

We have a specific requirement where we want to search issues based on specific summary fragment.  

I went through the link to get a grasp of the rules in Jira search.

https://confluence.atlassian.com/jiracoreserver073/search-syntax-for-text-fields-861257223.html#Searchsyntaxfortextfields-stemming

The issue is that the summary for our issues is not verbose, rather it is combination of many not-so-English strings with length in order of 50-100 characters, and we want to search based on some keywords which maybe clubbed in between the entire length. These snippets are not English words/stems which can scale up for the search. Our stemming is set to moderate which is default I guess, but given the requirement so specific, I am not sure if varying this will help.

Is there any other way from configuration/other means that can help us achieve this?

 

Looking forward to wisdom from across.

1 answer

0 votes
John Funk
Community Champion
July 11, 2019

Hi Anupam,

What does your search like right now? Can you post an example?

AnupamS July 11, 2019

Hi John, thank you!

My search criteria is something like

summary ~ "psf"

summary ~ "psf*"

Here, I want the summary to contain the fragment "psf

The results with of the first query has issues with summary (replaced the key words with dummy values).

String A| String B | String E par_psf_pcie
String A| String B | String E par_psf_pcie
String A| String C | String E par_psf_pcie
String A| String B | String E par_psf_pcie
String A| String D | String E par_psf_pcie
String A| String D | String E par_psf_pcie
String A| String D | String E par_psf_pcie par_gmm par_lgcio_pch par_disp

 

results with second query are (with *)

String A| String B| String F par_psf_pcie
String A| String B| String F par_psf_pcie
String C | String G par_tme, par_psf1, par_psftctop, par_usbx_usb3_com, par_sa_misc, par_tbt_ports, par_psf4, par_lgcio_misc, ddrrptchtop, par_iunit, par_fmhc, par_fivr_core_right, par_fivr_core_left, par_mee
String A| String B| String F par_psftctop
String A| String D| String F par_psf_pcie
String A| String B| String F par_psf_pcie
String A| String D | String F par)psftc4
String A| String D | String F par_psftctop
String A| String E | String G par_psftctop, par_psf4, par_lgcio_misc, par_psf1, par_tme
String A| String D | String F par_psf_pcie par_gmm par_lgcio_pch par_disp
String A| String D | String F par_psf_pcie
String A| String D | String F par_psf_pcie
String A| String E | par_dmi_tl, par_disp, par_pcie4, par_psf3 andpar_psftctop

 

The issue is that we still have more issues which have "psf" such as 

String A | String B| String C: par_psf4

or

String A | String B| String C: par_psf0 (and many more)

 

These don't show up in the search. 

John Funk
Community Champion
July 12, 2019

Maybe try summary ~ "psf~"

AnupamS July 14, 2019

HI John,

 

This is giving issues which doesn't have "psf" as well (psf-like issues?)

 

few results:

String1 | String2_nsf_top | String 3 --- nsf is psfish...

String1 | PSG_String2 | String 3---(PSG is psfish..)

John Funk
Community Champion
July 15, 2019

:-(   

Maybe try  summary ~ "_psf~"

AnupamS July 15, 2019

Nope, doesn't work :(

John Funk
Community Champion
July 16, 2019

Suggest an answer

Log in or Sign up to answer