Given a script in Jobs that updates the value of duration in a custom field by calculating since how many days the issue has been open.
The calculated value is updated in the history According to crone expression like this:
Duration : --null-- to 'less than 3 days'
But after this the duration is updating one more time simultaneously as follows:
Duration: 'less than 3 days' to --null--
So the custom field value in edit shows null instead of less than 3 days.
Can anyone please tell any possible solution for this.