Group of customers allow only create Bug type Issue not New future,Task Type etc..

Hi All,

I have agroup of customers.How to restrict them to only creating bug type issue.

I have user fallowing code.when ever the user login he is not there in Group.Message is coming i have used tookit

vmmessage filed edit.But create button in create screen is not disabling.How to this

#if ($authcontext.user.inGroup('Cutomer-Group'))
##do nothing

You do not have the rights to raise issues of this type - please contact the administrators if you think this may be wrong

<script language="JavaScript">

function disableCreate()
var inps = document.getElementsByTagName('INPUT');
for (i = 0; i < inps.length; i++)
if (inps.type == 'submit')
{ = 'none';




2 answers

1 accepted

0 vote

I think you can do this with a validator on the Create transition. There is an open JIRA issue requesting this functionality more explicitly somewhere.

How we can the security levels and their groups in the validator class

how to do that could you please explain more!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

255 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you