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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.