Create Project: How to move data from the demand to the created project?

Bob Waltrip
Giga Contributor

Hi,

When I create a project from a demand, most of the data copies over to the newly created project.  But, for the "Description" field, it is not copied.  The Description field on the project is blank.   How can I get this field to copy over during the create project?

 

Also, if I create a custom field on the demand, how do I get that data to copy over to the project.  I assume I create the same field on the project as the first step but not sure how to tell the system to copy this data during the copy project.

Thanks,

Bob

1 ACCEPTED SOLUTION

Hi Bob,

 

You need to map column names between demand and project.

Please modify script include with below

 

project.setValue("u_pgroup",demand.getValue("u_pgroup"));

 

Also, Please make sure that your type of demand is  saved as"project" before clicking on "Create Project" UI action.

find_real_file.png

 

 

 

 

 

Regards,

Sachin

View solution in original post

17 REPLIES 17

Can you post screenshot of your code changes in script include?

Also, what's datatype of pgroup field ? is this reference field?

 

Regards,

Sachin

Bob Waltrip
Giga Contributor

Hi, I've attached three screenshots showing the demand and project datatypes and the script changes.  

 

Again, thanks for your help.

 

Bob

Hi Bob,

 

You need to map column names between demand and project.

Please modify script include with below

 

project.setValue("u_pgroup",demand.getValue("u_pgroup"));

 

Also, Please make sure that your type of demand is  saved as"project" before clicking on "Create Project" UI action.

find_real_file.png

 

 

 

 

 

Regards,

Sachin

Thanks for this!  You've just helped me solve a requested change at our organization!

Thanks for helping navigate, any idea from where this Script Include is getting triggered, I don't see its getting triggered from BR.