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

Key Results are not deleted when deleting the Objective

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.85
    • 10.78
    • multiple - objectives
    • None
    • 1
    • Severity 3 - Minor
    • Party Parrots - USH 5

      Issue Summary

      API: Key Results are not deleted when deleting the Objective

      Steps to Reproduce

      1. Login
      2. Go to the Objectives grid.
      3. Create Objective with Key Result.
      4. Go to any app that allows you to run API requests.
      5. Run GET for the Objective.
      6. Run GET for Key Results. Find the ID of the Key result that is tied to the Objective.
      7. Delete the Objective.
      8. Run GET for the Key Result. /rest/align/api/2/keyresults/ {Id from the Step 6}

      Expected Results

      Key Result doesn't appear, it is deleted along with the Parent Objective.
      Maybe as a part of the fix, it would be good to ad code that will remove all orphan Key results from the application.

      Actual Results

      Key Result appears in the response.

      Workaround

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

              kbyrd@atlassian.com Kyle Byrd (Inactive)
              rpetrunyak@atlassian.com Roman Petrunyak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: