How to Restrict the Projects in DropDown box

Mallela Narender Reddy February 13, 2012

Hi
I have a select dropdown in which i have 10 projects . I have a propertes file where in that properties file i have 5 projects .
so how can i write (Logic) my java class where i have to restrict the Dropdown to view only 5 projects which are mentioned in my properties file
i am extending CreateIssue.java class in my code.

Thanks
Naren

1 answer

0 votes
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2012
Do you mean you want the users to be able to create issues only in those 5 projects in your properties file? If yes wouldn't it be possible to just assign a permission scheme without create permission to the projects where you do not want users to create issues? Or is this properties file something dynamic so you can easily switch the projects where issues can be created?

Suggest an answer

Log in or Sign up to answer