Estimated effort update by custom function

Estimated effort update by custom function

Hi Team,

I need to update Estimated Effort field in task based on task priority. I think it's possible using Deluge script in custom function.
Can you please provide me such script?
                New to ADManager Plus?

                  New to ADSelfService Plus?