The Requested Participant field can be set like any other custom field in Jira. However, referencing a custom field by its ID is not a best practice for SIL scripting. For more information on the preferred method of referencing custom fields, go to Custom Fields Aliases.
The following post function automatically adds a requested participant.
customfield_10301 = assignee;