Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

I don't get JQL's ~ results

Given two tickets with summary:

  1. "Flaky spec: spec/features/portfolio/deals/deal_profile/complete_deal_spec.rb"
  2. "Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb"

Why does the following JQL returns the ticket: 

  1. summary ~ "Flaky spec: spec/features/portfolio/deals/deal_profile/complete_deal_spec.rb"

And this one doesn't?

  1. summary ~ "Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb"

1 answer

1 vote
Ismael Jimoh Community Leader Mar 31, 2019

Hi @Gustavo Matias ,

May I know what you searched for originally?

The only time JIRA should miss a result if your search request is correct is if there is something wrong with the indexing.

Since you are on JIRA Cloud from what I see from your other ticket you raised, you may need to wait for the index to be rebuilt. However to be able to say more, I would need to see the actual JQL you are running.

@Ismael Jimoh  wow long does it take for the re-index to happen? the ticket has been created for a few days now.

Below are the queries.

This works:

https://viewthespace.atlassian.net/issues/?jql=summary%20~%20%22Flaky%20spec%3A%20spec%2Ffeatures%2Fportfolio%2Fdeals%2Fdeal_profile%2Fcomplete_deal_spec.rb%22

JQL:

summary ~ "Flaky spec: spec/features/portfolio/deals/deal_profile/complete_deal_spec.rb"

This doesn't:

https://viewthespace.atlassian.net/issues/?jql=summary%20~%20%22Flaky%20spec%3A%20spec%2Ffeatures%2Fportfolio%2Fproposal%2Fproposal_details_spec.rb%22

JQL:

summary ~ "Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb"

Any ideas? 

Ismael Jimoh Community Leader Mar 31, 2019

Hi @Gustavo Matias ,

This I am unsure of but I would suggest raising a ticket with the Atlassian Cloud team here.

They would be in a better position to assist you with the issue with indexing and also due to their access to the server they would be able to diagnose the issue better.

I personally do not see any problem here but would ask that you run the following query to see how many results are returned:

summary ~ "Flaky spec"

I would expect this to return both so if it does not then there is a potential problem here.

Another thing to confirm with you is can you see the ticket with the "Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb"?

I would like to remove the potential of the problem being down to a permission or issue security problem as these could impact your search result.

Thanks.

@Ismael Jimoh that simpler JQL does return both tickets. I also have no problem seeing the ticket itself, I created it about 4 days ago.

Ismael Jimoh Community Leader Mar 31, 2019

@Gustavo Matias 

That's odd and great to see you can find the ticket. Seeing as this is the case then I am not sure if this is an indexing problem in itself since you can find the ticket via a search.

I wonder if it could be the query when parsed to URL is failing (hypothesis with no justification).

Due to this, I would suggest raising a ticket with the Atlassian support and others in the community are welcome to help and chip in here.

As for now, I will suggest using the other query I suggested when looking for the issue till they are able to assist you with the issue.

Cheers.

Like Gustavo Matias likes this

Thanks! I opened a ticket with support. I may report back once we get to a resolution.

Got the answer from support, which helped! basically I was missing \" around the string for exact match.

You're concerned with the fact that some issues you would expect to be returned when you run JQL filters are not being presented, correct?

As an example, you have mentioned that you have two different issues with the following summaries:

  • Flaky spec: spec/features/portfolio/deals/deal_profile/complete_deal_spec.rb
  • Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb

However, while running the search summary ~ "Flaky spec: spec/features/portfolio/deals/deal_profile/complete_deal_spec.rb"returns the issue you expect, running summary ~ "Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb" does not.

Providing you some context about this, when you run searches Jira uses tokens to search words in text. When you define the search as represented above, you are not searching for that particular string as a whole, but instead you're searching for the words contained there.

By running summary ~ "\"Flaky spec: spec/features/portfolio/proposal/proposal_details_spec.rb\"", you will be searching for this whole string as a single thing, thus returning the desired issue (check below):

  • Notice that, in this approach, we have added an additional pair of double quotes, escaped by the '\' character.

Could you please confirm if by running this search you're able to get the desired results? Please let us know if you need any further assistance or if you have any other questions.

Ismael Jimoh Community Leader Apr 03, 2019

Thanks for sharing this @Gustavo Matias .

Do have a nice day.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

193 views 6 7
Read article

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