Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25277

Implement the REST API endpoint to delete plans

    XMLWordPrintable

Details

    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adridi Arbi Dridi
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: