API: PATCH request to replace a custom field in Epics also updates the Program Increment (PI) in Audit Log

XMLWordPrintable

    • 2
    • Severity 2 - Major
    • No
    • None

      Issue Summary

      When sending a Patch API request to replace a custom field, the PI for Epic is modified in Audit Logs, though no changes are shown on the Epic grid.

      This is observed when the general Portfolio's Display Week Estimate is set to Member Weeks.

      PATCH https://jalign-87872.prod.atl-cd.net/rest/align/api/2/Epics/1/
      
      [
          {
              "op": "replace",
              "path": "customfields/0",
              "value":
              {
                  "customfield_90686":
                  [
                      {"id": 2}
                  ]
              }
          }
      ]
      

      Steps to Reproduce

      1. Update the Epic's custom field via PATCH call (see the API snippet above for example)
      2. Open the Epic details and click on the Audit Log

      Expected Results

      Audit Log should only display custom field modifications.

      Actual Results

      Audit Log shows changes with respect to PI along with custom field modifications.

      Workaround

      No workaround is available currently.

        1. Estimate.png
          Estimate.png
          69 kB
        2. PI change.png
          PI change.png
          267 kB

              Assignee:
              Roman Zarzecki (Inactive)
              Reporter:
              Sivashanmathi A
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: