v3

latestOpenAPI 3.0.12026-08-0474115357.9 KB
Servicedesk

Check request type permissions

Returns:

  • a list of request type IDs where the given user has permission to administer.
  • a list of request type IDs where the given user has permission to submit the request.

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

Note that:

  • invalid request type IDs are ignored.
  • a maximum of 50 request types can be checked.

Permissions required:

  • Administer Jira or Project Administrator to check the permissions for other users.

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.

post/rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/permissions/check

Path parameters

serviceDeskIdstring required

Request body

accountIdstring

The account ID of a user.

permissionsstring[]

List of requested permissions.

requestTypeIdsinteger[]

List of request type IDs.

Response

Returned if the request is successful.

canAdministerinteger[]

List of request type IDs for which the user has permission to administer.

canCreateRequestinteger[]

List of request type IDs for which the user can create requests.