I'm in the process of building out a new JSD project that has some unique requirements to it. What we are looking to do is specify that when a user e-mails the JSD project that they get added to a group because this set of users should only have access to only this project on the portal. We're able to restrict visibility to certain groups by using Devinti's Extension for JSD but not too sure how to have users added to a group on create. Any help or ideas would be appreciated!
Hello @Kevin Decker
If a user emailed the JSD project is a reporter (in report field) you can try the following
Adds a post function on the Create action with the script
import com.atlassian.jira.component.ComponentAccessor
def group = ComponentAccessor.groupManager.getGroup('groupname')
ComponentAccessor.groupManager.addUserToGroup(issue.reporter, group)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.