Previously, we used javascript in Announcement Banner to hide the Project Field. However, if a user is in two groups and above, the user must be able to choose which Project. In order to this, I have remove the line $('#project-single-select').parent().hide() from our script.
But now users who are only in 1 project is able to see other Projects during the selection of Projects field in the Create Issue screen, which they do no have permission for those projects.
Now, I want to either HIDE the project field for these users or only show the list of projects that they have permission for at Create Issue screen.
What should I do to achieve this?