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

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

XMLWordPrintable

    • 3
    • Severity 3 - Minor
    • No

      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
          audit-log-tshirt-points.png
          54 kB
        2. Capacity Rank.png
          Capacity Rank.png
          102 kB
        3. image-2024-09-25-11-27-14-127.png
          image-2024-09-25-11-27-14-127.png
          62 kB
        4. Points.png
          Points.png
          153 kB
        5. Points and Tshirts.png
          Points and Tshirts.png
          1.58 MB

              fea1a6ef3355 Yannick Genin
              c68711b41d4f Samuel Rompas
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: