Simple question, how do I get worklog.TimeSpent as a number?
My automation needs to know what the user has entered in hours. Some users will enter 4h some will enter 0.5d. I just need to get the numeric value in hours so 4h and 0.5d are both 4 hours. No matter what I try, worklog.TimeSpent returns a string and when I try to convert this to numeric I get an error
Check your time tracking settings, to get there add this to your Jira Cloud base URL: /secure/admin/TimeTrackingAdmin.jspa
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.