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?
Hi Emily,
If I understand your concerns here it sounds like you have users that can see project names in the create issue screen, but these users should not see these because they do not have permission to create there.
However I am somewhat confused here. In my own testing in Jira Server, I found that users that do not have the create permission for a particular project cannot see that project listed at all when in the create screen. I am curious if perhaps your Jira site is somehow granting these users that permission to create, but perhaps blocking the creation of issues through the use of workflow conditions/validators or issue security. One quick way to test this would be by using the Permission helper to determine this.
If this doesn't help, I'd like to learn more about your environment to see if we can help. Could you let me know what version of Jira you are using here? And also I'd be interested to see what your javascript in the announcement banner looks like. Perhaps I can investigate this further if we understand more details about this environment.
Regards,
Andy
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.