Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8531

api/issues/changelog should return raw value of effort

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Issues, Web API
    • Labels:

      Description

      For the moment, api/issues/changelog is returning changes on effort by returning the duration :

      {
        "changelog": [
          {
            "user": "john.smith",
            "userName": "John Smith",
            "creationDate": "2014-03-04T23:03:44+0100",
            "diffs": [
              {
                "key": "effort",
                "newValue": "1h20min"
              }
            ]
          }
        ]
      }
      

      It should return the effort in number of minutes, and it should be up to the client to convert it to a duration :

      {
        "changelog": [
          {
            "user": "john.smith",
            "userName": "John Smith",
            "creationDate": "2014-03-04T23:03:44+0100",
            "diffs": [
              {
                "key": "effort",
                "newValue": "80"
              }
            ]
          }
        ]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: