How do I search for the text string "OCCB-DR-180?"

lfobel February 28, 2012

We have a JIRA text string that contains two dashes. I have tried just about all of the suggested ways in the JIRA On-line help to search for the string, but no luck. The latest search I tried was a simple search using OCCB\-DR\-180 but it didn't work. Any help or insight would be greatly appreciated.

3 answers

1 accepted

1 vote
Answer accepted
Kapil Bolli
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.
February 29, 2012

Hello fobel,

you can also search the string in Simple Searching Pane by covering the string with double quotes.

PFA

lfobel February 29, 2012

This works in the Simple search. Thanks!

0 votes
Mizan
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.
February 29, 2012

You need to put the value in double quotes and use the tilde (~) operator e.g.textfield_name ~ "OCCB-DR-180"

0 votes
Andrzej Pasterczyk
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.
February 29, 2012

In my JIRA 5 works fine without any escaping. E.g. the following JQL query returns proper results

summary ~ OCCB-DR-180 OR description ~ OCCB-DR-180 OR comment ~ OCCB-DR-180

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events