POST /rest/api/2/permissions/check

Returns:

If no account ID is provided, the operation returns details for the logged in user.

Note that:

Deprecation notice: The required OAuth 2.0 scopes will be updated on June 15, 2024.

This operation can be accessed anonymously.

Permissions required: Administer Jira global permission to check the permissions for other users, otherwise none. However, Connect apps can make a call from the app server to the product to obtain permission details for any user, without admin permission. This Connect app ability doesn't apply to calls made using AP.request() in a browser.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
accountId String No

The account ID of a user.

globalPermissions[] Array No

Global permissions to look up.

projectPermissions[] Array No

Project permissions with associated projects and issues to look up.

projectPermissions[].projects[] Array No

List of project IDs.

projectPermissions[].issues[] Array No

List of issue IDs.

projectPermissions[].permissions[] Array Yes

List of project permissions.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.