Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-7245

Patch API Request to replace Epic's owner is modifying Estimate Team Weeks in Audit Log

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • No

      Issue Summary

      When sending a Patch API request to replace an Epic's owner, the Estimate Team Weeks value for the Epic is changed as well in Audit Logs. This is observed when the general Portfolio's Display Week Estimate is set to Member Weeks.

      curl -X 'PATCH' \
        'https://alignsupport.jiraalign.com/rest/align/api/2/Epics/8134' \
        -H 'accept: */*' \
        -H 'Authorization: bearer XXXXXXX \
        -H 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
        -d '[
        {
          "value": "662081",
          "path": "ownerId",
          "op": "replace"
        }
      ]' 

       

      Steps to Reproduce

      1. Go to Settings > Platform > Portfolio
      2. Set the 'Display Week Estimates In' to Member Weeks and Save
      3. Create an Epic and set the Initial Estimate (MW) to 10 
      4. Update the Epic's owner via API PATCH (see the API snippet above for example)
      5. Open the Epic details and click on the Audit Log

      Expected Results

      Audit Log should only display Epic's owner modification.
      The API should not update the audit log when the TW and MW values have not changed, whether the Display Week Estimate is set to Team weeks or Member weeks as it does with the UI.

      Actual Results

      Audit Log displays Epic's owner and Estimate Team Weeks's modification. See the above screenshot.

      Workaround

      Set the 'Display Week Estimates In' to Team Weeks (see Step 2 above)

              5ed8ef87d2cd Karen Bradshaw
              c68711b41d4f Samuel Rompas
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: