How to autotag ORIGYEAR into YEAR field? If not exist > oldest release date

Based on the link you've posted above, I think this entry from the FAQ is what you're looking for:

If you only want to copy the ORIGYEAR field, if it actually exists in the file and preserve the YEAR field otherwise, you can use

$if2(%origyear%,%year%)