Issue #22865:retrieve prj_id of auto created projects