Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-16766

Time Tracking in Smart Commits does not record all logged time with multiple commits in a single push

      Problem

      Time Tracking in Smart Commits does not record all logged time with multiple commits in a single push.

      Steps to reproduce

      1. Create a new text file, test.txt.
      2. Execute below git command, 1st push with 10 minutes logged time.
        git add test.txt
        git commit -m "KEY-1 #time 10m 1st in push"
        
      3. Update the test.txt file again, execute below git command (2nd push with 20 minutes logged time).
        git add test.txt
        git commit -m "KEY-1 #time 20m 2nd in push"
        
        git push
        

      Expected Results

      The logged time should be reflected as 30 minutes in total.

      Actual Results

      2 worklogs are added, but the total time spent (Logged) only take either 10m or 20m.

            [JSWSERVER-16766] Time Tracking in Smart Commits does not record all logged time with multiple commits in a single push

              Unassigned Unassigned
              schew@atlassian.com Sean Chew (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: