I want to calculate how much time the ticket took from creation to resolve using automation. I have used
{{issue.resolutiondate.diff(issue.created).hours}} Hours
smart value but after running the automation I am getting the negative result (ex -97 hours) even if the resolved date is after created date