How can I set one or more users to the Approvers field with a ScriptRunner behaviour?
I tried setFormValue("user1") but it did not work. Here is the code.
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def approversField = customFieldManager.getCustomFieldObjectByName("Approvers")
Would you be able to show me a simple script to pull the users into the field based on security group?
Preferably with an if statement based on another field. If custom field application type = x then pre fill approvers field with members of X application approvers group.
Hi Atlassian Community! This is Teresa from the Atlassian team. My colleague Paul Buffington @Buff and I are excited to share a brand new ITSM resource we’ve created – "The Complete Guide to At...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events