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

It's possible to set Effort Swag score to 0 on an Epic via API which prevents users from being able to save it in UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.133.0
    • 10.130.3
    • REST API
    • 1
    • Severity 3 - Minor
    • No

      Issue Summary

      It's possible to set Effort Swag score to 0 on an Epic via API which prevents users from being able to save it in UI.

      The incorrect Effort Swag score is originally hidden in the full details expander when opening up an Epic details panel, so the issue appears like the save button does nothing if full details are not shown.

      Steps to Reproduce

      1. Set the Effort Swag score to 0 on an Epic via API with the below method
      2. Open the details panel for this Epic and change the description
      3. Save
      4. Observe that nothing appears to happen
      5. Expanding full details below focuses on the invalid field when saving

      Expected Results

      In the UI, it's not possible to set the Effort Swag score to 0 on an Epic, there's a prompt that the value must be between 1-100 (or empty).

      Nice to have: full details should be expanded to focus on the incorrect value or some other more obvious prompt would be helpful (like the red banner we have for other invalid save scenarios).

      Actual Results

      We can set the Effort Swag score on an Epic via API, for example:

      PATCH /rest/align/api/2/Epics/7747
      
      [
          {
              "op":"replace",
              "path":"effortSwag",
              "value": 0
          }
      ]
      

      When opening the details panel of such an Epic and modifying it, clicking Save or Save and close buttons appears to do nothing until full details are expanded.

      When full details are expanded, save button focuses on the incorrect value.


       

      Workaround

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

      Please check that the Effort Swag score is in the range of 1-100.

            fea1a6ef3355 Yannick Genin
            c7f2a2ebc58e Kirill Duplyakin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: