Forums

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

How do I search text like *something

Aniruddha Karanjkar February 22, 2022

Hi,

I am trying to search text which is IP address but no issues are detected with the following search queries.

text ~ "192.168.1.222"

text ~ "192.168.1.222*"

which is mentioned in the comment like following

Your IP address is IP-192.168.1.222.

I have searched various help topics but no luck. Looks like you have not provided any options to search text like this.

Please let me know how to do it?

3 answers

1 accepted

3 votes
Answer accepted
Pavel Junek
Community Champion
February 22, 2022

Hi @Aniruddha Karanjkar,

Welcome to Atlassian community!

If you have been using Jira Server since version 8.6, you can use "suffix":

text ~ "*box"

Unfortunately Jira Cloud (URL is https://yxz.atlassian.net) still can't use suffix - https://jira.atlassian.com/browse/JRACLOUD-78077.

Pavel

Aniruddha Karanjkar February 23, 2022

Thanks, Pavel,

Correct. it is Jira v8.5.7 and so *something is not supported.

 

0 votes
Pramodh M
Community Champion
February 22, 2022

@Aniruddha Karanjkar 

Is this IP address in any of the following fields -Summary, Description, Environment, comments?

Try with \\ as the escape character

Guide here

https://support.atlassian.com/jira-software-cloud/docs/search-syntax-for-text-fields/

If it's a custom field 

Try searching with 

Custom-field-name = value

Let me know if you have any queries

Thanks,

Pramodh

Aniruddha Karanjkar February 23, 2022

Thanks, Pramodh

It's in comments.

Like Pramodh M likes this
0 votes
Fabio Racobaldo _Herzum_
Community Champion
February 22, 2022

Hi @Aniruddha Karanjkar ,

welcome to the Atlassian community!

If you search text ~ "192.168.1.222" , JIRA will retrieve all issue containing 192.168.1.222 so it is already what you are looking for.

192.168.1.222

192.168.1.2221

192.168.1.2222

192.168.1.2223

192.168.1.222A

and so on.

Hope this helps,

Fabio

Aniruddha Karanjkar February 23, 2022

Hey Fabio,

Thanks but I am trying to search which is not matching with "IP-192.168.1.222" which is suffix wildcard.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events