Join the community to find out what other Atlassian users are discussing, debating and creating.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Still have a question?
Get fast answers from people who know.
...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events