REST API: PATCH to Update Features Field removes CapacityRank and modifies Points, T-shirt values

XMLWordPrintable

    • 3
    • Severity 3 - Minor
    • No
    • None

      Issue Summary

      When updating the following fields of a Feature through API PATCH the field capacityRank is removed:

      • category
      • portfolioAskDate

      As an additional note, we also see the Points and T-Shirts size details get modified upon updating the PortfolioAskDate to null.

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Send the following API call:

      PATCH /align/api/2/Features/{id}
      [
        {
          "op":"replace",
          "path":"category",
          "value":"2"
        }
      ] 
      PATCH /align/api/2/Features/<FeatureID>
      [{ 
      "value": null, 
      "path": "/portfolioAskDate", 
      "op": "replace" 
      }]
      

      2. View the Audit Log of the Features from the UI

       

      Expected Results

      The API call should only modify the intended fields without removing the CapacityRank, Points, T-shirt value.

      Actual Results

      The CapacityRank value is removed; Points and T-shirt value are modified.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. audit-log-tshirt-points.png
          54 kB
          Sivashanmathi A
        2. Capacity Rank.png
          102 kB
          Sivashanmathi A
        3. image-2024-09-25-11-27-14-127.png
          62 kB
          Samuel Rompas
        4. Points.png
          153 kB
          Sivashanmathi A
        5. Points and Tshirts.png
          1.58 MB
          Sivashanmathi A

            Assignee:
            Yannick Genin
            Reporter:
            Samuel Rompas
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: