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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to search for a string in Description

I have text like the following in Description.

|h4. Satisfaction Score|5|
|h4. Was Document Helpful|Yes|

 

As obvious, these are two rows of a table. Every issue gets different value in the range of 1-7 in Satisfaction Score. Now, when I try to find issues with value 5, I get the above. But I get the above even I search for issues using JQL

description ~ "Satisfaction Score|4|" OR description ~ "Satisfaction Score|3|" OR description ~ "Satisfaction Score|2|" OR description ~ "Satisfaction Score|1|"

How do I fix the query to return exact matches for score? And what am I doing wrong?

1 answer

1 accepted

0 votes
Answer accepted

Try

description ~ "\"Satisfaction Score|4|\"" OR description ~ "\"Satisfaction Score|3|\"" OR description ~ "\"Satisfaction Score|2|\"" OR description ~ "\"Satisfaction Score|1|\""

It worked! Thank you so much. I totally missed the escape character.

Like Airbus Driver likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

931 views 2 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you