Project is no longer visible in Investment Portal when added to a Change Request or when the Parent is changed


Description

Project is no longer visible in Investment Portal when added to a Change Request or when the Parent is changed

Resolution

Upon investigation, I found that this is the expected behavior.
In the "PortalBoardUtils" Script Include, there is a 'parentISEMPTY' query added.

So when you change the Project's Parent to a Change Request it will not display.
The same principle applies for another record such as Sub Projects as they are not displayed in the Investment Portal as well.

Please note that I would recommend using the Projects related list for your Change Requests. It is not there OOB and could cause other issues if they are parented improperly.
Multiple Projects should not be associated with 1 Change Request but instead multiple Change Requests could be associated with 1 Project. I would recommend using the Request Changes related list to make project_change_request records. Or you can link Change Requests to Project Tasks:

https://docs.servicenow.com/csh?topicname=t_LinkChangesToAProjectTask.html&version=latest