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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

JQL query returns no-matching issue

When I execute this query :

project in ("Sample Suite Project 2","Sample ClaimCenter Project 2","Sample DM & BI Project 2","Sample Integration Project 2") and summary ~ "R1_IC_OOTB Reports And BI Applications_Claim Reports_DEV"

Jira returns 2 issues :

R1_IC_OOTB Reports And BI Applications_Claim Reports_DEV
R1_IC_OOTB Reports And BI Applications_Claim Cycle_DEV

One of which doesn't match with the criteria in the query. Why? Is it a bug?

Regards,
Teru

1 answer

1 accepted

0 votes
Answer accepted

 

If you want to do an exact match you should use summary ~ "\"R1_IC_OOTB Reports And BI Applications_Claim Reports_DEV\""

Thanks, it works ! :)

For my knowledge, can you tell me when I should use this \" ?

For text field including space?

And it is originally \ only and " is escape sequence? or oposite?

Sorry to bother you !

Regards,
Teru

You should use \ when you want exact match . For eg if you use 

summary ~ "\"hello world\""  you will issues with summary 'hello world' together as a phrase

 

But if you use summary ~ "hello world" , Jira will treat it as a two separate words with AND operator. so it will return issues which has got hello  and world in the summary. eg - 'Hello from the world of Jira'

Hope this helps

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

5,550 views 6 21
Join discussion

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