I want to restrict the user who logs in to access the gadget.
I want to find out whether the user is specific group like jira-developers.
I have some sample code in this post. Note that you can use AJS.params.loggedInUser instead of getCurrentUserName.
Thanks Jobin. it is helpful.
if the loged in user is not in the group how to disable the gadget OR hide it from the gadget directory
It looks like you're new here. Sign in or register to get started.