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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

191 views 1 18
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