ProjectVersionsApi class

Jira Cloud platform REST API documentation

Constructors

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

createVersion({required Version body}) Future<Version>
Creates a project version.
deleteAndReplaceVersion({required String id, required DeleteAndReplaceVersionBean body}) Future
Deletes a project version.
deleteVersion({required String id, String? moveFixIssuesTo, String? moveAffectedIssuesTo}) Future<void>
Deletes a project version.
getProjectVersions({required String projectIdOrKey, String? expand}) Future<List<Version>>
Returns all versions in a project. The response is not paginated. Use Get project versions paginated if you want to get the versions in a project with pagination.
getProjectVersionsPaginated({required String projectIdOrKey, int? startAt, int? maxResults, String? orderBy, String? query, String? status, String? expand}) Future<PageBeanVersion>
Returns a paginated list of all versions in a project. See the Get project versions resource if you want to get a full list of versions without pagination.
getVersion({required String id, String? expand}) Future<Version>
Returns a project version.
getVersionRelatedIssues(String id) Future<VersionIssueCounts>
Returns the following counts for a version:
getVersionUnresolvedIssues(String id) Future<VersionUnresolvedIssuesCount>
Returns counts of the issues and unresolved issues for the project version.
mergeVersions({required String id, required String moveIssuesTo}) Future
Merges two project versions. The merge is completed by deleting the version specified in id and replacing any occurrences of its ID in fixVersion with the version ID specified in moveIssuesTo.
moveVersion({required String id, required VersionMoveBean body}) Future<Version>
Modifies the version's sequence within the project, which affects the display order of the versions in Jira.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateVersion({required String id, required Version body}) Future<Version>
Updates a project version.

Operators

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