I have project ID/key, I need a way to get the project object but not from the issue object because I'm in the create new issue context the GetProjectObject will not work in this context
You can inject com.atlassian.jira.project.ProjectManager interface and the use getProjectObjByKey or some other variant of getProjectObj* method.
Note that using ComponentManager in JIRA 5.0 is not recommended and in this circumstances where you cannot inject dependencies, you should rather use ComponentAccessor class.
Every team in the world is unique, and so Atlassian believes that each and every team's best way of working needs to be molded to their unique circumstances – ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot