ProjectComponentsApi class

Jira Cloud platform REST API documentation

Constructors

ProjectComponentsApi(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

createComponent({required ProjectComponent body}) Future<ProjectComponent>
Creates a component. Use components to provide containers for issues within a project.
deleteComponent({required String id, String? moveIssuesTo}) Future<void>
Deletes a component.
getComponent(String id) Future<ProjectComponent>
Returns a component.
getComponentRelatedIssues(String id) Future<ComponentIssuesCount>
Returns the counts of issues assigned to the component.
getProjectComponents(String projectIdOrKey) Future<List<ProjectComponent>>
Returns all components in a project. See the Get project components paginated resource if you want to get a full list of components with pagination.
getProjectComponentsPaginated({required String projectIdOrKey, int? startAt, int? maxResults, String? orderBy, String? query}) Future<PageBeanComponentWithIssueCount>
Returns a paginated list of all components in a project. See the Get project components resource if you want to get a full list of versions without pagination.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateComponent({required String id, required ProjectComponent body}) Future<ProjectComponent>
Updates a component. Any fields included in the request are overwritten. If leadAccountId is an empty string ("") the component lead is removed.

Operators

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