I want to write a python script that automatically creates a jira issue and populates a custom field in it. The custom field is of type user picker. What should I send as 'fields' from my code so that this field gets populated.
I have tried a bunch things:
{<custom_field_id>: {name: "name of user"}}
{<custom_field_id>: {value: "name of user"}}
{<custom_field_id>: {name: "email"}}
{<custom_field_id>: {value: "email"}}
but nothing seems to work, the user field is always 'None'. Is there some specific configuration for the custom field that would make this work. What am I doing wrong?