I am creating a project in JIRA 7 , while i am using validateCreateProject method and passing Application user and projectCreationData as patameter.
In return i am getting a null object , and there is no log generated hence i am not getting any clue to resolve the same .
Code:
pcdBuilder.withType(sourceProjectKey).withProjectTemplateKey(null).withName(targetProjectName).withKey(targetProjectKey).withDescription("Testing").withUrl("abc").withLead(user);
ProjectCreationData pcd = pcdBuilder.build();
log.warn("Before creating Project >> "+pcd.toString());
CreateProjectValidationResult newProjectVR = projectService
.validateCreateProject(user, // User
pcd
);
Please suggest.
Regards,
Jitendra