Forums

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

JQL query returns no-matching issue

tueda April 30, 2019

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
Libu B
Contributor
April 30, 2019

 

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

tueda April 30, 2019

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

Libu B
Contributor
April 30, 2019 edited

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
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events