ReaderCache and IssueIndexManager Edited

I am using 7.2.2 jira version and I know that ReaderCache and IssueIndexManager are two deprecated classes now. What could I use instead?

I need those classes for this tutorial: https://developer.atlassian.com/jiradev/jira-platform/guides/projects/tutorial-creating-a-jira-report.

2 answers

I am trying to update my report (created for Jira 6.4.12) to match version 7.9.2 but I am facing an issue with IssueIndexManager and ReaderCache.

The documentation tells that they should still be available (see https://docs.atlassian.com/software/jira/docs/api/7.9.2/com/atlassian/jira/issue/index/IssueIndexManager.html) and that only deIndex and reIndex methods have been moved to IssueIndexingService.

Where can I find these classes ?

Note that there is an existing pull request to adapt the tutorial to version 7 but it does not include changes related to these classes (see https://bitbucket.org/atlassian_tutorial/jira-report-plugin/pull-requests/1/upgrading-the-tutorial-to-jira-7/diff)

I found out that I needed to add a dependency on com.atlassian.jira:jira-lucene-dmz where these classes have been moved (in the same packages) !

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,718 views 17 21
Read article

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