[kepler-users] Disabling Epics for users in Jira

Keith O Shea keith_o_shea at hotmail.com
Mon Sep 30 08:20:15 PDT 2013



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

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20130930/b071e907/attachment.html>


More information about the Kepler-users mailing list