Implement the REST API endpoint to delete plans

XMLWordPrintable

    • 0
    • 1

      Problem Definition

      The REST API endpoint to delete Portfolio plans is present but not implemented.
      When you try to delete a plan via REST, you get the following:

      $ curl -XDELETE -s -u username:password http://localhost:47133/j7133/rest/jpo-api/1.0/plan/5 | jq .
      {
        "error": "unexpected-error",
        "errorMessages": [],
        "exception": {
          "type": "com.atlassian.rm.common.publicapi.exception.APIErrorCode$Exception",
          "message": "Delete operation not available!",
          "stackTrace": [
      ...
      

      Suggested Solution

      Implement the DELETE method so plans can be deleted via the REST API endpoint.

      Workaround

      Delete plans from the GUI.

              Assignee:
              Unassigned
              Reporter:
              Arbi Dridi
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: