Editing an Agile Team returns 'You must set a value for Auto-populate Estimate if it is enabled'

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 11.28.0
    • Affects Version/s: 10.125.3
    • Component/s: Team - Other

      Issue Summary

      After editing fields like team's "name", "team short name", "description" and "Sprint Prefix" for a Team with "Agile Team" and save this message "You must set a value for auto-populate estimate if it is enabled" is shown.

      Steps to Reproduce

      The issue is reproducible via API PUT and PATCH.

      For each of these methods, there is a workaround.

      API PUT

      1. Crete Team_xxx (no matter via UI or Connector)
      2. Run GET API call on the created Team_xxx (the call will return this field with value 0 ("enableAutoEstimate": 0) (this is ok as this field is not used for Agile Teams and that means it is disabled))
      3. Update any of Team_xxx's fields via the API PUT method. But add all fields in the body including "enableAutoEstimate:":0
      4. Back to the Team_xxx slide-out and try to update something. You will receive a red message with the issue.
        This happens because in our request we had "enableAutoEstimate": 0, and it enables the "Auto-populate Estimate" toggle on the UI. In this case, there is missed validation, as the "Auto-populate Estimate" field should not be used for the Agile Team on creating/updating via API.

      Workaround for PUT

      You have two possibilities:

      • In the API PUT don't add the "enableAutoEstimate:":0
      • In the API PUT add the "enableAutoEstimate:": NULL (add value NULL to this field)

       

      API PATCH

      1. Crete Team_xxx (no matter via UI or Connector)
      2. Run GET API call on the created Team_xxx (the call will return this field with value 0 ("enableAutoEstimate": 0) (this is ok as this field is not used for Agile Teams and that means it is disabled))
      3. Update any of Team_xxx's fields via the API PATCH method. it is not necessary to include "enableAutoEstimate:":0 to generate the issue
      4. Back to the Team_xxx slide-out and try to update something. You will receive a red message with the issue.

       Workaround for PATCH

      • In the API PATCH add the "enableAutoEstimate:": NULL (add value NULL to this field)

      Expected Results

      Able to edit the Agile Team, because the Auto-populate Estimate is related to the Kanban team.

      Actual Results

      The Agile team can't be edited.

      Workaround using UI

      1) Open the Team details panel and change the "Type" field to "Kanban Team"
      2) Disable the "Auto-populate Estimate" toggle
      3) Change the "Type" field back to "Agile Team"
      4) Save changes.
      5) Re-attempt making a change to the team's short name and/or team name
      6) Save changes.

              Assignee:
              Kyle Foreman (Inactive)
              Reporter:
              Federica Marchetti (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: