IssueSecuritySchemesApi class

Jira Cloud platform REST API documentation

Constructors

IssueSecuritySchemesApi(ApiClient _client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addSecurityLevel({required String schemeId, required AddSecuritySchemeLevelsRequestBean body}) Future
Adds levels and levels' members to the issue security scheme. You can add up to 100 levels per request.
addSecurityLevelMembers({required String schemeId, required String levelId, required SecuritySchemeMembersRequest body}) Future
Adds members to the issue security level. You can add up to 100 members per request.
associateSchemesToProjects({required AssociateSecuritySchemeWithProjectDetails body}) Future<TaskProgressBeanObject>
Associates an issue security scheme with a project and remaps security levels of issues to the new levels, if provided.
createIssueSecurityScheme({required CreateIssueSecuritySchemeDetails body}) Future<SecuritySchemeId>
Creates a security scheme with security scheme levels and levels' members. You can create up to 100 security scheme levels and security scheme levels' members per request.
deleteSecurityScheme(String schemeId) Future
Deletes an issue security scheme.
getIssueSecurityScheme(int id) Future<SecurityScheme>
Returns an issue security scheme along with its security levels.
getIssueSecuritySchemes() Future<SecuritySchemes>
Returns all issue security schemes.
getSecurityLevelMembers({String? startAt, String? maxResults, List<String>? id, List<String>? schemeId, List<String>? levelId, String? expand}) Future<PageBeanSecurityLevelMember>
Returns a paginated list of issue security level members.
getSecurityLevels({String? startAt, String? maxResults, List<String>? id, List<String>? schemeId, bool? onlyDefault}) Future<PageBeanSecurityLevel>
Returns a paginated list of issue security levels.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLevel({required String schemeId, required String levelId, String? replaceWith}) Future<TaskProgressBeanObject>
Deletes an issue security level.
removeMemberFromSecurityLevel({required String schemeId, required String levelId, required String memberId}) Future
Removes an issue security level member from an issue security scheme.
searchProjectsUsingSecuritySchemes({String? startAt, String? maxResults, List<String>? issueSecuritySchemeId, List<String>? projectId}) Future<PageBeanIssueSecuritySchemeToProjectMapping>
Returns a paginated mapping of projects that are using security schemes. You can provide either one or multiple security scheme IDs or project IDs to filter by. If you don't provide any, this will return a list of all mappings. Only issue security schemes in the context of classic projects are supported. Permissions required: Administer Jira global permission.
searchSecuritySchemes({String? startAt, String? maxResults, List<String>? id, List<String>? projectId}) Future<PageBeanSecuritySchemeWithProjects>
Returns a paginated list of issue security schemes. If you specify the project ID parameter, the result will contain issue security schemes and related project IDs you filter by. Use {@link IssueSecuritySchemeResource#searchProjectsUsingSecuritySchemes(String, String, Set, Set)} to obtain all projects related to scheme.
setDefaultLevels({required SetDefaultLevelsRequest body}) Future
Sets default issue security levels for schemes.
toString() String
A string representation of this object.
inherited
updateIssueSecurityScheme({required String id, required UpdateIssueSecuritySchemeRequestBean body}) Future
Updates the issue security scheme.
updateSecurityLevel({required String schemeId, required String levelId, required UpdateIssueSecurityLevelDetails body}) Future
Updates the issue security level.

Operators

operator ==(Object other) bool
The equality operator.
inherited