Forums

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

search for jira issue with title "CLS-S-OG2-AP06 offline"

Christian Schneider
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.
September 29, 2021

Hi,

I know the difference between the different search options provided in jira.

Search syntax for text fields | Jira Software Data Center and Server 8.19 | Atlassian Documentation

 

One of my users was looking for a ticket, but he didn't knew the exact name. He only remembered part of the name of the asset: "CLS-S-OG2".

We tried different search strings, but non was successfull.

  • CLS-S-OG2-AP06*
  • CLS S OG2
  • CLS-S-OG2*
  • *CLS-S-OG2*
  • ...

Only if you search for the exact string of the title "CLS-S-OG2-AP06 offline", the search is successfull.

 

How do I need to search for this ticket, of I only remember part of the title?

 

Any help is very much appreciated.

 

take care,

Chris

 

3 answers

0 votes
Christian Schneider
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.
September 29, 2021

Thank you both for your inputs. Unfortunately, it does not work.

When using JQL, this does not provide any results:
project = "Helpdesk ICT" AND summary ~ "CLS-S-OG2"

This JQL does find the looked for ticket: 
project = "Helpdesk ICT" AND summary ~ "CLS-S-OG2-AP06 offline"

 

In the above linked documentation, it says that the dash "-" is a special character.

Special characters aren’t stored in the index, which means you can’t search for them. The index only keeps text and numbers, ...

How does this impact on my search string?

Is there some setting that I have to configure? (Index language, word stemming, ...)

Christian Schneider
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.
September 29, 2021

Update: I just tried the following JQL, which successfully delivers the wished ticket:

summary ~ "CLS" AND summary ~ "offline"

 

Where as this JQL does not deliver any results.

summary ~ "CLS" AND summary ~ "AP06"

 

This is very annoying...

Chris Thomas
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.
September 30, 2021

It's entirely possible I never searched for a dash.

Out of curiosity, copy the "CLS-S-OG2-AP06" right from the ticket and paste it into the search bar and see what happens.

Christian Schneider
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.
September 30, 2021

no, no results are shown in the quick search preview.

quicksearch.png

0 votes
Jose Luis Gaitan
Community Champion
September 29, 2021

Hello, @Christian Schneider ;

Have you tried using ~ ?

(summary ~ "CLS-S-OG2") for example.  I'ts the best way when you don't remember the complete name...

Try to complete the search with other fields you know, like the project name, a label, etc.

0 votes
Chris Thomas
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.
September 29, 2021

Do you mean just typing in the search box? That's always been hit or miss for me.

Try the following JQL:

project = "XXXPROJECTXXX" AND summary ~ "CLS-S-OG2"

You can also change summary to description.

Suggest an answer

Log in or Sign up to answer