Hi all,

 

I was wondering how to disable a group of users from
creating epics while creating an issue in Jira. This is my current code which
is if you’re not the project manager then you can’t create an epic or Bug. This
works fine but I need to do it for a group or for certain roles within a
project. Can anyone help me please??

 

string project = "PT";  //the project key

string pm = projectPM(project);

string[] forbiddenTypes = {"Epic",
"Bug"}; //the array of the issue types to restrict 

 

if(pm != currentUser()) { 

lfRestrictSelectOptions("issueType",
forbiddenTypes);}

 

 

Kind Regards

Keith

                                          
_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to