I'm trying to use advanced editing automation and trying to set Data type custom field with some value from a lookup Issue OR null, but I can't figure why it does not work.
{ "fields": { "customfield_10640": null } }
This one works fine, it will clear the data custom field.
{ "fields": { "customfield_10640": "{{#lookupIssues}}{{customfield_10640}}{{/}}" } }
This also works fine, when the lookup issue filed is filled with some data it works. BUT when the look up issue is empty, it fails.
{ "fields": { "customfield_10640": "{{#lookupIssues}}{{customfield_10640|null}}{{/}}" } }
This does not work.
Tried all kind of tricks to go around but just can't figure why does not work.