Hello
I need to set the value of user picker
I have PMUser of type ApplicationUser.
I am trying to set the value of user picker. and tried 2 ways:
Method1:
def PMField = customFieldManager.getCustomFieldObjectsByName("My PM")
thisIssue.setCustomFieldValue(psirtPMField[0],PMUser)
Method2:
def PMFieldSingle = customFieldManager.getCustomFieldObjectByName("My PM")
thisIssue.setCustomFieldValue(psirtPMFieldSingle,PMUser)
I am getting cannot find matching method for setCustomFieldValue for both ways. setCustomFieldValue should have customfield and object as parameters right. Where could be the issue.
Please let me know.
Thanks
Abe