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

API : Updating Programs via PUT call results in isActive property set to "null" instead of "1"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 10.97.2
    • 10.95, 10.96
    • REST API
    • 2
    • Severity 2 - Major
    • No

    Description

      Issue Summary

      API : Updating Programs via PUT call results in isActive property set to "null" instead of "1"

      Steps to Reproduce

      1. In order to create a new Program, make a POST call to /programs endpoint
      2. By using the same JSON request body, make a PUT call to /programs endpoint
      3. Notice the Program will get its isActive property set to "null" instead of "1"
      • That render the Program "de-activated" in UI & in API, hence not displaying in Configuration bar filter options as well as on some dropdowns (e.g. Value Stream's slide-out details panels)

      Expected Results

      • The Program gets updated in accordance to the values sent in the request body
      • The Program remains active or as-is (isActive property is hardcoded to "1" in POST source code; it is set to "0" when deleted)

      Actual Results

      • The Program gets updated in accordance to the values sent in the request body and its isActive property is set to "null"
      • PdM to confirm
      • Engineering to confirm

      Workaround

      • Use the PATCH method instead of PUT
      • Engineering to confirm

      Attachments

        Issue Links

          Activity

            People

              aaff78dae7f0 isemkiv2 (Inactive)
              rcortez@atlassian.com Rodrigo Cortez
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h

                  Backbone Issue Sync