After Re indexing by code:Resolved field is empty in issue navigator

Hi,

I use the following code for re indexing issues per project-(as a service)

for (Issue issue : issueList) {
issueIndexManager.reIndex(issue);
}

After this I go to issue navigator and search for issues I see that resolved field comes empty even there is a Resolved Date in the edit issue screen.

The resolved date appears in issue navigator only when i update the issue with some field(say add some comments).

And again when i do re idnexing for this project the resolved date is empty in the navigator screen.

When i do a excel download the reoslved date is empty .

Is there any other alternative how i can solve this?Or should i not re index at all using this code.

I have jira 5.0.3 cant upgrade to 5.2 as we have issues with GreenHopper adoption of new Sprint field.

3 answers

0 vote
Ahmad Danial Atlassian Team May 01, 2013

Hey there, Mir.

Have you tried manual reindexing to see if the Resolved field is still empty? Does it occur with every project that you try to search from the Issue Navigator? Can you try to clear off your JIRA indexes / caches by performing the following steps:

  1. Shutdown JIRA instance
  2. Delete the contents of JIRA Installation/work directory
  3. Restart JIRA instance
  4. Run the manual reindexing

Not sure whether the problem is actually caused by the code though.

Warm regards,

Danial

Yes, manual re indexing is not a option has it requires system down time .I cant afford to shut down system has it been used by many users.So was loooking something running background.

However,system re indexing does solve the problem.

0 vote
Ahmad Danial Atlassian Team May 06, 2013

Hey there again, Mir.

Glad to know that the system reindexing solved the issue on your side.

Warm regards,

Danial

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

143 views 19 3
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