Uploaded image for project: 'ScriptRunner for JIRA'
  1. GRV-437

timespent in specific day is not correct when using 'issueFunction in workLogged'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.16
    • Component/s: None
    • Labels:
      None
    • Internal Complexity:
      Unknown
    • Internal Value:
      Unknown

      Description

      This issue has moved

      This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

      All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
      Can't access your account link in order to reset to a new password.

      So it looks like impossible to obtain how much time a person has worked in a ticket in a given period of time. The total time spent is the only result one could get. Please follow the two steps below to try to replicate in your local system. Alternatively if you provide a sandbox I will be more than happy to demonstrate the issue myself.

      1. Create a sample issue for which the admin user will log time in two different dates. Let us assume 30m(1800sec) in 2014/03/10 and 30m(1800sec) in 2014/03/11. The total so far is 1hr(3600sec).

      2. The below query should return in timespent=1800 however it returns the total 3600. No field related to worklog shows the expected 1800.

      /rest/api/2/search?jql=issueFunction in workLogged('by admin on 2014/03/10')

      Thanks!

      • Nestor

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                jechlin jechlin
                Reporter:
                nestor.urquiza@gmail.com Nestor Urquiza

                Dates

                • Created:
                  Updated:
                  Resolved: