Selects only issues from projects in which you are a member. Being a member means being in any role, except where that is by virtue of being in a group with a global permission. That is, many projects will have the group jira-users in the Users role. These won’t be included in myProjects, as generally you will not be interested in them.
project in myProjects()
Projects you have viewed recently.
project in recentProjects()
Allows to find issues in projects of a given type.
project in projectsOfType("service_desk")