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.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events