Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about the Database for JIRA

Taylor Huston
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!
March 21, 2019

So I am not exactly a DBA, but I know my way around a basic SQL query. Trying to troubleshoot an issue with a Jira instance, and this kind of led me down a rabbit hole that raised some questions that Google can't solve for me.

Right now in the instance I am working on, some things aren't lining up. For example:

The instance has 90245 issues in it, but 'select count(*) from jiraissue;' returns 83989.

The Instance has over 110 projects, but 'select count(*) from project;' returns 98.

There is a Project with the key of 'CON' and an ID of 12403, according to the UI. But I can't find it anywhere in the 'project' table. There's a totally different Project in that table with the same key, but it's pname doesn't line up with anything in the actual instance.

Can't tell if I am going insane or if there's something I am missing?

2 answers

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2019

Hello,

Reindex your Jira. cog item -> system -> reindexing

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2019

Hello,

Go to cog item -> system. and then reindex your Jira in the reindexing option.

Suggest an answer

Log in or Sign up to answer