WorkflowScheme class

Details about a workflow scheme.

Constructors

WorkflowScheme({String? defaultWorkflow, String? description, bool? draft, int? id, Map<String, dynamic>? issueTypeMappings, Map<String, dynamic>? issueTypes, String? lastModified, User? lastModifiedUser, String? name, String? originalDefaultWorkflow, Map<String, dynamic>? originalIssueTypeMappings, String? self, bool? updateDraftIfNeeded})
WorkflowScheme.fromJson(Map<String, Object?> json)
factory

Properties

defaultWorkflow String?
The name of the default workflow for the workflow scheme. The default workflow has All Unassigned Issue Types assigned to it in Jira. If defaultWorkflow is not specified when creating a workflow scheme, it is set to Jira Workflow (jira).
final
description String?
The description of the workflow scheme.
final
draft bool
Whether the workflow scheme is a draft or not.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The ID of the workflow scheme.
final
issueTypeMappings Map<String, dynamic>?
The issue type to workflow mappings, where each mapping is an issue type ID and workflow name pair. Note that an issue type can only be mapped to one workflow in a workflow scheme.
final
issueTypes Map<String, dynamic>?
The issue types available in Jira.
final
lastModified String?
The date-time that the draft workflow scheme was last modified. A modification is a change to the issue type-project mappings only. This property does not apply to non-draft workflows.
final
lastModifiedUser User?
The user that last modified the draft workflow scheme. A modification is a change to the issue type-project mappings only. This property does not apply to non-draft workflows.
final
name String?
The name of the workflow scheme. The name must be unique. The maximum length is 255 characters. Required when creating a workflow scheme.
final
originalDefaultWorkflow String?
For draft workflow schemes, this property is the name of the default workflow for the original workflow scheme. The default workflow has All Unassigned Issue Types assigned to it in Jira.
final
originalIssueTypeMappings Map<String, dynamic>?
For draft workflow schemes, this property is the issue type to workflow mappings for the original workflow scheme, where each mapping is an issue type ID and workflow name pair. Note that an issue type can only be mapped to one workflow in a workflow scheme.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self String?
final
updateDraftIfNeeded bool
Whether to create or update a draft workflow scheme when updating an active workflow scheme. An active workflow scheme is a workflow scheme that is used by at least one project. The following examples show how this property works:
final

Methods

copyWith({String? defaultWorkflow, String? description, bool? draft, int? id, Map<String, dynamic>? issueTypeMappings, Map<String, dynamic>? issueTypes, String? lastModified, User? lastModifiedUser, String? name, String? originalDefaultWorkflow, Map<String, dynamic>? originalIssueTypeMappings, String? self, bool? updateDraftIfNeeded}) WorkflowScheme
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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