I am trying to set or change custom field according to the group the user that create the issue , if the user is in GROUP A , custome field would be XXX if user in GROUP B custome field would be YYY.
This is my script , it seems to run fine but it doenst work.
I am really new at this so tried to work with some scripts I found...
CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager();
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