Goals snapshots field is not populated correctly after certain actions which results in erroneous input when saving

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • No
    • None

      Issue Summary

      When multiple snapshots are selected in Yearly Goals, after users perform certain actions, the field is modified to single snapshot.

      As user did not directly modify the field, they may not be aware of the change and save the item, resulting in unintended changes.

      Currently, two scenarios are reproducible:

      • Directly after a new Yearly Goal is created
      • When an associated Key Result is edited from the Yearly Goals details panel and the user returns to the parent Goal's details panel

      Steps to Reproduce

      When a new Yearly Goal is created

      1. Navigate to Strategy Room
      2. Select a different snapshot in the middle context menu dropdown
        • Optionally select the original snapshot again
      3. Navigate to Strategic Backlog
      4. Select Yearly Goals
      5. Click +Add New button in the top right
      6. Select a few snapshots
      7. Add the description/name
      8. Click Save
      9. Observe that only one snapshot is shown now
      10. Click on Audit log and observe that multiple snapshots are recorded
      11. Clicking save again will submit the incorrect snapshots, but refreshing without saving will reload the correct ones

      When a Key Result is edited

      1. Navigate to Strategy Room
      2. Select a different snapshot in the middle context menu dropdown
        • Optionally select the original snapshot again
      3. Navigate to Strategic Backlog
      4. Open a Yearly Goal with multiple snapshots and at least one Key Result
      5. Expand the Key Results section and click on the 3 dots menu for one of the item, then click Edit
      6. Make and Edit and click 'Save and Close'
      7. Observe the Yearly Goal details panel snaphots field now only shows one snapshot
      8. Clicking save again will submit the incorrect snapshots, but refreshing without saving will reload the correct ones

      Expected Results

      Details panel should always load the correct snapshots associated with the Yearly Goals.

      Actual Results

      Some actions lead to only one snapshot being loaded in the Yearly Goal details panel, further saves will commit this erroneous entry.

      Workaround

      Reopen the goal or refresh the page after each Save action.

            Assignee:
            Grzegorz Kurek
            Reporter:
            Kirill Duplyakin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: