Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,318
Community Members
 
Community Events
184
Community Groups

i can see an issue in the front end application, but i cannot find the same issue in the DB.

Sajid Moughal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 11, 2023

not sure what is happening.

but i can search for an issue in the search page, and it displays in the list.

however, if i click on the link for the issue, i get a screen suggesting that i dont have access to it.

what is odd, is that when i do a DB search on the JIraIssue table, i cannot find that issue in there...

so i am a bit confused on why the initial search can find that issue???

what can i do to solve this issue?

2 answers

The search results come from a lucene and not from the database so it's technically possible for them to be out of sync, which could explain why you can't find the issue in the database.

You might need to re-index the issues and they will then disappear from the search results.

 

Just a guess though :)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

If re-indexing works here, then you need to take a long hard look at what you have set up that is corrupting your index.

Like Jared Kells likes this

😀 for sure, keen to hear back now!

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

Same here!  

There is a long boring essay possible about how it works, but it is not too hard to summarise.

You said, "Search results come from the Lucene index", which covers most of the essay really well.

The bit I wanted to add was a note about when Jira does read the database.  It does it for

  • Issue view (not as part of a search/report/gadget/board/queue, just the plain "look at the whole of an issue")
  • Re-indexing
  • Most permission checks
  • Admin screens

It's a "source of truth" thing.

There are a few other bits, mostly because it's quicker and easier to ask the database for data directly rather than write a huge amount of code for a really simple abstraction that is rarely if ever, used.

The other thing was "try just a project re-index", or even just edit an issue that you think should be appearing in the search - editing an issue triggers a rebuild of all the index data for it, so if it is an index problem, that should fix it.  (Amend a system field to be 100% sure it triggers re-indexing.  I usually add or remove some punctuation from the summary or description; "Mr Flibble rocks." to "Mr Flibble rocks!" will re-index the whole issue)

Like Jared Kells likes this
0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 11, 2023

Welcome to the Atlassian Community!

I strongly recommend that you stop looking in the database.  Its complex, has evolved as a data store, and is totally unsuitable for any form of reporting, because it's rare that people trying to report on it understand it (and there's a very steep learning curve).

Go to the project administrator and ask them why you don't have permission to see it.

Suggest an answer

Log in or Sign up to answer