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

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

last re-index time of jira

Hello,

 

Is there a way to determine when last time JIRA (currently on 6.4) was re-indexed?

Thanks

 

S

 

1 answer

1 accepted

0 votes
Answer accepted

Not in the UI that I can think of directly. 

But the log will have "indexing" lines in it, and I think the admin audit logging will catch it as well, as long as it is enabled.

I'm not entirely sure how much use it might be though - the index is also updated whenever an issue is touched, so technically, the system was partially re-indexed the last time you used it!  I'm guessing you mean one of the full re-indexes though (or project re-index?)

Thanks Nic,

 

I was referring to admin full-index. Will look into audit logs.

 

S

Hi @shailesh ligade2 Did you find it on the logs?

@Daniel Alonso though you posted this a while ago I figured I'd share the below

Current Workaround

  • Proceed to JIRA HOME > Cache > Indexes
  • Check when last this folder was modified.

This is from:

https://jira.atlassian.com/browse/JRASERVER-44163

Thank you @john morrissey very useful :)

@Daniel Alonso though I'm not sure I trust that as my JIRA HOME > Cache > Indexes folder has a time stamp of the installation date though indexes inside have newer dates.  I'm still piecing it together so will update here with what I find

I had to look at $JIRA_HOME/caches/indexes/issues to obtain the latest re-index start.

I forgot I posted here.  Seems the offline reindex builds and cleans up the older index files but the online doesn't as they're in use so it's good to do the offline once and a while as it will clean up disk space also (at least did for us)

I think re-index events are not included in Audit Log (System --> Audit Log), or at least I don't see them and Atlassian documentation don't mention it (https://confluence.atlassian.com/adminjiraserver/auditing-in-jira-applications-938847740.html).

It would be great that this info was included there: re-index type (project or global background/blocking), start and finish.

Meanwhile, I prefer to take a look into log files. It's clear and easy to know when re-index started and finished.

Like Stan likes this

It appears to me that the Issues folder is timestamped with the current date, however, the minimum date of the files within the folder does seem to be the date of the last index.  I specifically validated against a background re-index.

It's unclear if the timestamps can be used to definitely identify start/end times of the re-index, but the date appears correct.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,888 views 11 5
Join discussion

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