{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin Account Issue Priorities API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Issue Priorities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Set Default Priority",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/priority/default",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sets default issue priority.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        },
        {
          "info": {
            "name": "Atlassian Move Priorities",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/priority/move",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes the order of issue priorities.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        },
        {
          "info": {
            "name": "Atlassian Search Priorities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/priority/search",
            "params": [
              {
                "name": "startAt",
                "value": "",
                "type": "query",
                "description": "The index of the first item to return in a page of results (page offset)."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return per page."
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example, `id=2&id=3`."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "query",
                "description": "The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example, `projectId=10010&projectId=10111`."
              },
              {
                "name": "priorityName",
                "value": "",
                "type": "query",
                "description": "The name of priority to search for."
              },
              {
                "name": "onlyDefault",
                "value": "",
                "type": "query",
                "description": "Whether only the default priority is returned."
              }
            ]
          },
          "docs": "Returns a [paginated](#pagination) list of priorities. The list can contain all priorities or a subset determined by any combination of these criteria:<br><br> *  a list of priority IDs. Any invalid priority IDs are ignored.<br> *  a list of project IDs. Only priorities that are available in these projects will be returned. Any invalid project IDs are ignored.<br> *  whether the field configuration is a default. This returns priorities from company-managed (classic) projects only, as there is no"
        },
        {
          "info": {
            "name": "Atlassian Get Priority",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/priority/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the issue priority."
              }
            ]
          },
          "docs": "Returns an issue priority.<br><br>**[Permissions](#permissions) required:** Permission to access Jira."
        },
        {
          "info": {
            "name": "Atlassian Update Priority",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/priority/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the issue priority."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an issue priority.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        },
        {
          "info": {
            "name": "Atlassian Delete Priority",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.atlassian.com/rest/api/3/priority/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the issue priority."
              },
              {
                "name": "replaceWith",
                "value": "",
                "type": "query",
                "description": "The ID of the issue priority that will replace the currently selected resolution."
              }
            ]
          },
          "docs": "*Deprecated: please refer to the* [changelog](https://developer.atlassian.com/changelog/#CHANGE-1066) *for more details.*<br><br>Deletes an issue priority.<br><br>This operation is [asynchronous](#async). Follow the `location` link in the response to determine the status of the task and use [Get task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        },
        {
          "info": {
            "name": "Atlassian Get Priorities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/priority"
          },
          "docs": "Returns the list of all issue priorities.<br><br>**[Permissions](#permissions) required:** Permission to access Jira."
        },
        {
          "info": {
            "name": "Atlassian Create Priority",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/rest/api/3/priority",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an issue priority.<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        }
      ]
    }
  ],
  "bundled": true
}