Private
clientReturns all permissions, including:
Permissions required: Administer Jira global permission.
Optional
callback: undefinedReturns:
If no account ID is provided, the operation returns details for the logged in user.
Note that:
globalPermissions
, projectPermissions
, projectPermissions.projects
, and
projectPermissions.issues
are ignored.projectPermissions.permissions
are ignored.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.
Returns:
If no account ID is provided, the operation returns details for the logged in user.
Note that:
globalPermissions
, projectPermissions
, projectPermissions.projects
, and
projectPermissions.issues
are ignored.projectPermissions.permissions
are ignored.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.
Optional
parameters: Version2.Version2Parameters.GetBulkPermissionsOptional
callback: undefinedReturns a list of permissions indicating which permissions the user has. Details of the user's permissions can be obtained in a global, project, issue or comment context.
The user is reported as having a project permission:
commentId
is provided whose
permissions
does not equal BROWSE_PROJECTS, a 400 error will be returned.This means that users may be shown as having an issue permission (such as EDIT_ISSUES) in the global context or a project context but may not have the permission for any or all issues. For example, if Reporters have the EDIT_ISSUES permission a user would be shown as having this permission in the global context or the context of a project, because any user can be a reporter. However, if they are not the user who reported the issue queried they would not have EDIT_ISSUES permission for that issue.
Global permissions are unaffected by context.
This operation can be accessed anonymously.
Permissions required: None.
Returns a list of permissions indicating which permissions the user has. Details of the user's permissions can be obtained in a global, project, issue or comment context.
The user is reported as having a project permission:
commentId
is provided whose
permissions
does not equal BROWSE_PROJECTS, a 400 error will be returned.This means that users may be shown as having an issue permission (such as EDIT_ISSUES) in the global context or a project context but may not have the permission for any or all issues. For example, if Reporters have the EDIT_ISSUES permission a user would be shown as having this permission in the global context or the context of a project, because any user can be a reporter. However, if they are not the user who reported the issue queried they would not have EDIT_ISSUES permission for that issue.
Global permissions are unaffected by context.
This operation can be accessed anonymously.
Permissions required: None.
Optional
parameters: Version2.Version2Parameters.GetMyPermissionsOptional
callback: undefinedReturns all the projects where the user is granted a list of project permissions.
This operation can be accessed anonymously.
Permissions required: None.
Returns all the projects where the user is granted a list of project permissions.
This operation can be accessed anonymously.
Permissions required: None.
Optional
parameters: Version2.Version2Parameters.GetPermittedProjectsOptional
callback: undefined
Returns all permissions, including:
Permissions required: Administer Jira global permission.