I'm trying to edit the issue field when there is an issue transition.

I have set the edit issue field condition with smart value -> {{issue.created.diff(issue.resolved).hours}}
With this I'm trying to find the get the data in hours and mapped it to a custom number field.

Rule is executed but data is not updated in the custom field.
Please help me