Hi,
I am trying to set a single user select custom field either via the JiraPS module or Jira Automation from the email of a user.
1. Via the JiraPS module:
I am using the following snippet:
$fields = @{
"customfield_yyyy" = "email@dn.com"
}
Set-JiraIssue -Fields $fields -Issue "xxxx" -Credential $Cred
I have tried several things, like "customfield_yyyy" = {name: "Firstname Lastname"} and things but that just set the field to none.
2. Via Jira Automation, it the same, I am trying to find the way to set the select with a hardcoded value but it always reset it to none. I using the following snippet in the advance issue edit action:
{
"fields": {
"customfield_yyyy" : { "value":account_id }
}
}
I tried several things instead of the account_id, but the behavior is the same.
I would like to apply approval based on this field so I do need a user select field.
Any idea?
Thanks!