How to do a compound subject search

I created a search for the following term:

Summary ~ "Market Operations"

The problem I am encountering is that this search returns all results with the words "Market" and "Operations" in them. So, for example:

1. "Market Operations"

2. "New Market Hours of Operations"

3. "Global Market Operating Hours"

Is there any way to only get result number 1?

2 answers

1 accepted

1 vote
Accepted answer

Hi Peter,

 

Try searching like this, it should give you the first case that you need:

summary ~ "\"Market Operations\""

Hi Daniel,

I tried that and it did not work for me or Nathan in JRASERVER-21372.  Can you please post a screenshot of the results you get?

Cheers,

Branden

Hi Branden,

I haven't tried just now, might have worked in the past!

using this, seems to do the trick (it was in the ticket you linked)

text ~ "Exact+String+To+Match"

It is interesting - I just tried Daniel's method using \" and that did work for me. Actually, when I tried "+Market+Operations" I got the first and third result, which is not what I want. I guess JIRA's ways are mysterious.

It would definitely make sense for the system to provide a simple - clear forward - method to look for an exact compound string.

Hi Peter,

That is interesting.  Neither of those worked in my instances.  I can't explain the inconsistency in behavior but I'm glad Daniel's initial suggestion works in your instance!  If you can please mark Daniel's answer as the correct answer so others can benefit as well!

Cheers,

Branden

Hi Peter,

There is a feature request that has been open for a while that you can find at JRASERVER-21372.  Please vote on JRASERVER-21372 to add impact so we can get this added to JQL.

Another way you could go about this is to query the database directly with a query such as:

select * from jiraissue where summary = 'Market Operations'

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,639 views 18 21
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you