How can I get the time logged using smart values in Automation

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2023

Hi 
I'm looking to obtain the total time spent in seconds. None of the options I've found will give me that result.

{{issue.timetracking.timespent}} returns 2h 56m format

{{issue.timetracking.timespent.seconds}} invalid

{{worklog.timeSpentSeconds}} return a list of values 1800, 5400, 1500, 60, 300, 300, 1200

{{worklog.timeSpent}} returns a list of values 30m, 1h 30m, 25m, 1m, 5m, 5m, 20m

Is there a way to get the total number by unit?

1 answer

1 vote
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2023

Looks like it was a simple sum ...

 

{{worklog.timeSpentSeconds.sum}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events