If you want to set a "Group Picker (multiple groups)" with a post-function.
If a "customer" makes a new Task, the Group Picker "Security Level Group" should be automatically filled with the existing Group "customer".
the following if/else works, and I can set the Description depending on customer yes/no, but i have no Chance to set the customer-group into my userSecGrp.
I also did not find anything in the Internet that could help me.
If i activate one of the setCustomFieldValue, I only get the message that something is not compatible to my jira Version.
So the question is: How to setCustomFieldValue for a Group Picker to a Group? or GroupObject...
Thx for your support
The following code works for me to set the value of single and multigroup custom fields: