Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Tom Lister
Community Champion
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 Champion
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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events