Use case
Return the highest value from a list of numbers consisting of a combination of numeric field codes.
Expression
Create and configure a Smart field using this expression in General parsing mode:
%{max([{issue.cfAAAAA}, {issue.cfBBBBB}, {issue.cfCCCCC}, {issue.cfDDDDD}, {issue.cfEEEEE}])}
Please, replace the field codes with the ones of your choice.