Hi,
I am migrating my JIRA 4.2 to JIRA 4.4. I have a few custom plugins which donot work properly in JIRA 4.4, since they were developed to be compatible with JIRA 4.2.
I updated the pom.xml with <jira.version> as 4.4 and <jira.data.version> as 4.4. Then i got a few errors.
The type com.atlassian.crowd.embedded.api.User cannot be resolved.
I cant find this class in any jar. Can you help me find a jar this class???
I read that i should change some APIs like "com.opensymphony.user.User". Can you tell me what are the other deprected APIs that should be changed to make my plugin work in JIRA 4.4??
Thanks in advance....
Community moderators have prevented the ability to post new answers.
You've already spotted the main one you need to change, and you're looking at the right answer - users are now managed by com.atlassian.crowd, so you need to include the right dependencies and apis.
Rather than try to debug why it's not working by hand, you might find it easier to
You might also want to check over the use of componentmanager and componentaccessor if you've used them. I've converted a load of Jira 3.3 and 4.1 plugins to 5.x recently and the users and componentmanagers were the only two things that cropped up more than once.
I am modifying the java source code of my custom plugins(developed for JIRA 4.2) to suite JIRA 4.4. Here is a code snippet
FieldVisibilityBean fieldvisibilitybean = new FieldVisibilityBean();
isHidden = fieldvisibilitybean.isFieldHidden(field.getId(), issue);
But i find that FieldVisibilityBean is deprecated in JIRA 4.4. When i searched the docs, it said
You should get a FieldVisibilityManager dependency injected via PICO rather than creating one of these manually. This class will not be availables via dependency injection in the future. Since v4.0
What should i use instead of this FieldVisibilityBean....How to inject dependency using PICO container???
Thanks in advance...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.