• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


28 Nov, 2024

Updated at 02 Dec, 2024

I am facing some Errors while using Script Runner

I am using Jira Cloud. In that while using Script Runner, I am facing this isuue.

Screenshot 2024-11-28 165010.png

I am trying to calculate the Total Time Spent by a Story in "In Progress" Status. So, whenever it moves to "Done" Status, there is custom field which shows the time spent in this format (d h m s). 
Note: The Story can be Reopened again. So, the time should be added accordingly. Below is my code for Script Runner
Screenshot 2024-11-28 165418.pngScreenshot 2024-11-28 165502.pngScreenshot 2024-11-28 165630.png

What to do?