I want to set a custom field (group picker field - single group) to a particular user group.
My automation looks like this:
{
"fields": {
"customfield_10140": {"id":"35911a95-667e-4fb6-a5e5-9b4550ce1cc7"}
}
}
Error: (Unrecognized field "id" (Class com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean), not marked as ignorable at [Source: N/A; line: -1, column: -1] (through reference chain: com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean["id"]) (customfield_10140))
When I tried this:
{
"fields": {
"customfield_10140": {{"id": "35911a95-667e-4fb6-a5e5-9b4550ce1cc7" }}
}
}
I get the error:
(Can not deserialize instance of com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean out of START_ARRAY token at [Source: N/A; line: -1, column: -1] (customfield_10140))
Can someone help me with the context?