When creating a new Story record, and attaching a Project by using the reference lookup field Project, few Project records are returned (fewer than expected)
Release or Environment
This reference qualifier, defined in the ScrumSecurityManager Script Include eventually leads back to the Agile2SecurityManager Script Include where getStoryDotProject is defined as:
var qualifier = 'sys_class_nameIN'+PPMRoleClassMapper.getClasses('project', gs.getUser());
projectId = story.demand.project + '';
qualifier = 'sys_idIN'+projectId;
qualifier += '^execution_typeNOT INwaterfall';
In short, for new Story records (where there are no values to check), the method compiles a list of Project records that are NOT using the Execution type Waterfall. It will only display a list of Projects which are Agile or Hybrid.
Only projects which are Agile specific may be included in Stories (agile development).
This is the expected behavior. You could always change the Execution type of your Project to Agile or Hybrid in order to utilize a Project into a Story