public class

ProjectSecurityLevelResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.securitylevel.ProjectSecurityLevelResource

Class Overview

Provide security level information of the given project for the current user.

Summary

Public Constructors
ProjectSecurityLevelResource(ProjectFinder projectFinder, IssueSecurityLevelManager issueSecurityLevelManager, JiraBaseUrls baseUrls, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ResponseFactory responseFactory)
Public Methods
Response getSecurityLevelsForProject(String projectKeyOrId)
Returns all security levels for the project that the current logged in user has access to.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProjectSecurityLevelResource (ProjectFinder projectFinder, IssueSecurityLevelManager issueSecurityLevelManager, JiraBaseUrls baseUrls, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ResponseFactory responseFactory)

Public Methods

public Response getSecurityLevelsForProject (String projectKeyOrId)

Returns all security levels for the project that the current logged in user has access to. If the user does not have the Set Issue Security permission, the list will be empty.

Parameters
projectKeyOrId - key or id of project to list the security levels for
Returns
  • list of security levels