Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Log Time on epic based on total spend from trigger issue

Is it possible with Jira Automation (Cloud) to log time on Epic based on total spend time in Trigger issue. 

1 answer

Hi @Florian Warncke  -- Welcome to the Atlassian Community!

Yes, you should be able to do that.  The technique I found was to sum up the trigger issue's time spent as seconds, and then convert it to minutes.  For example:

  • Trigger: manual (I used this for the example)
  • Branch: for epic (parent)
    • Action: edit issue fields, using JSON
"update": {
"worklog" : [
{ "add": {
"timeSpent" : "{{#=}}{{triggerIssue.worklog.timeSpentSeconds.sum}} / 60 {{/}}m"


Best regards,


Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,104 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you