Cannot add issues to a sprint when originating board has been deleted

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Summary

      When attempting to add an issue via REST API:

      /rest/agile/1.0/sprint/<SPRINT_ID>/issue
      with body "{"issues":["ISSUE-KEY"]}
      

      to a sprint whose originating board has been deleted, it results to an HTTP 400 error: "The requested board cannot be viewed because it either does not exist or you do not have permission to view it."

      Steps to replicate

      1. Create a new Scrum board
      2. Create a sprint in that board and note its ID
      3. Delete the board
      4. Attempt to add an issue to the sprint using the public REST API, i.e.:
         
        /rest/agile/1.0/sprint/{SPRINT_ID}/issue
        with body "{"issues":["ISSUE-KEY"]}
        

      Background

      Sprints are global entities that exist across many boards, even if its originating board has been deleted.

      This feature works fine with server.

      Workaround

      None

            Assignee:
            Unassigned
            Reporter:
            Anne Calantog
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: