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.

        1. screenshot-1.png
          46 kB
          Sean Chew

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

            Bugfix Automation Bot made changes -
            Minimum Version New: 7.03
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2852408 ] New: JAC Bug Workflow v3 [ 2937130 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2811656 ] New: JAC Bug Workflow v2 [ 2852408 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Andrei Khudavets made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Andrei Khudavets made changes -
            Link New: This issue duplicates JSWSERVER-16756 [ JSWSERVER-16756 ]

            This issue duplicates JSWSERVER-16756

            Andrei Khudavets added a comment - This issue duplicates JSWSERVER-16756
            Pawel Przytarski made changes -
            Labels New: triaged

            pdrygas Have we triaged similar bug ~2 weeks ago?

            Michal Warkocz added a comment - pdrygas Have we triaged similar bug ~2 weeks ago?
            Pawel Przytarski made changes -
            Occurrence Factor New: 75% [ 12833 ]

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

                Created:
                Updated:
                Resolved: