I’m copying Select List (single choice) and User Picker (single user) fields from one issue to another issue when the first issue is updated. I’m using the following JSON in automation’s additional fields box:
Select List example:
"Directorate": {
"value": "{{triggerIssue.fields.directorate.value}}",
"child": { "value" : "{{triggerIssue.fields.directorate.child.value}}"
}
},User Picker example:
"Team Lead": { "id": "{{triggerIssue.Team Lead.accountId}}" },These work fine when the triggerIssue’s field has a value other than None. But when the triggerIssue’s field is cleared using the GUI and sets to None, I get the error, “Option id 'null' is not valid (fieldname),”
How might I overcome this error?