cannot find DefaultChangeHistoryManager in jira-api-5.0

max cai November 12, 2012

Hi

I want write a report for jira to track the time on diffenert status.

I was able to use DefaultChangeHistoryManager in Jira SDK 4.x and the plugin is working.

but when I try to deploy it to a Jira 5.1 server, I get a lot off missing class exception. So I rewrite the plugin with SDK 5. However, I was unable to find the class in the API library.

here is my code

User remoteUser = action.getRemoteUser();
OfBizDelegator ofBizDelegator = (OfBizDelegator) ComponentManager.getComponentInstanceOfType(OfBizDelegator.class);

DefaultChangeHistoryManager changeManager = new DefaultChangeHistoryManager(ComponentManager.getInstance().getIssueManager(), ofBizDelegator, ComponentManager.getInstance().getPermissionManager(), null);    	
     
searchresults = searchProvider.search(query, remoteUser,PagerFilter.getUnlimitedFilter());

Has anyone a idea for me????

Many thanks in advance

Max

2 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
November 13, 2012
0 votes
max cai November 13, 2012

thank you. just wandering why they still have the DefaultChangeHistoryManager in the 5.0 API document.

Suggest an answer

Log in or Sign up to answer