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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

128 views 0 3
Join discussion

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