This post can help you for,
1. Get the current user.
2. Get the groups of current user and check if the user belongs to a given group.
3. If the user is indeed in the given group, do whatever you want to!
Thanks to JTracks.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG