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

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

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • No

      Issue Summary

      When sending a Patch API request to replace an Epic's spendToDate, 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 --location --request PATCH 'https://alignsupport.jiraalign.com/rest/align/api/2/Epics/8998' \
      --data '[
          {
              "op":"replace",
              "path":"/spendToDate",
              "value":"2000"
          }
      ]'

      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 with multiple program increments
      4. Update the Epic's spendToDate 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 spendToDate 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 spendToDate and Estimate Team Weeks's modification.

      Workaround

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

              fea1a6ef3355 Yannick Genin
              c68711b41d4f Samuel Rompas
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: