Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-42092

worklogManager uses current date\time instead of supplied one for history

    XMLWordPrintable

Details

    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      The importWorklog method of DefaultJiraDataImporter makes a call to

      worklogManager.create(userProvider.getUser(externalWorklog.getAuthor()), worklog, null, false);

      The method adds worklog to issue worklog and also adds an item to the history table. The worklog item is ok:

      guena logged work - 01/Sep/14 8:01 PM

      Time Spent:2 hours
      Validate

      However, the corresponding history item is not ok:

      guena made changes - 8 hours ago

      Time Spent 3 hours, 5 minutes [ 11100 ] 5 hours, 5 minutes [ 18300 ]
      Worklog Id 11202 [ 11202 ]

      It should be like

      guena made changes 01/Sep/14 8:01 PM

      Time Spent 3 hours, 5 minutes [ 11100 ] 5 hours, 5 minutes [ 18300 ]
      Worklog Id 11202 [ 11202 ]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              samkochkarev SERGEY KOCHKAREV
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: