Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to configure ProjectCreationData to validateCreateProject ?

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you