WorkflowSchemeDraftsApi class

Jira Cloud platform REST API documentation

Constructors

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

createWorkflowSchemeDraftFromParent(int id) Future<WorkflowScheme>
Create a draft workflow scheme from an active workflow scheme, by copying the active workflow scheme. Note that an active workflow scheme can only have one draft workflow scheme.
deleteDraftDefaultWorkflow(int id) Future<WorkflowScheme>
Resets the default workflow for a workflow scheme's draft. That is, the default workflow is set to Jira's system workflow (the jira workflow).
deleteDraftWorkflowMapping({required int id, required String workflowName}) Future<void>
Deletes the workflow-issue type mapping for a workflow in a workflow scheme's draft.
deleteWorkflowSchemeDraft(int id) Future<void>
Deletes a draft workflow scheme.
deleteWorkflowSchemeDraftIssueType({required int id, required String issueType}) Future<WorkflowScheme>
Deletes the issue type-workflow mapping for an issue type in a workflow scheme's draft.
getDraftDefaultWorkflow(int id) Future<DefaultWorkflow>
Returns the default workflow for a workflow scheme's draft. The default workflow is the workflow that is assigned any issue types that have not been mapped to any other workflow. The default workflow has All Unassigned Issue Types listed in its issue types for the workflow scheme in Jira.
getDraftWorkflow({required int id, String? workflowName}) Future<IssueTypesWorkflowMapping>
Returns the workflow-issue type mappings for a workflow scheme's draft.
getWorkflowSchemeDraft(int id) Future<WorkflowScheme>
Returns the draft workflow scheme for an active workflow scheme. Draft workflow schemes allow changes to be made to the active workflow schemes: When an active workflow scheme is updated, a draft copy is created. The draft is modified, then the changes in the draft are copied back to the active workflow scheme. See Configuring workflow schemes for more information. Note that:
getWorkflowSchemeDraftIssueType({required int id, required String issueType}) Future<IssueTypeWorkflowMapping>
Returns the issue type-workflow mapping for an issue type in a workflow scheme's draft.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publishDraftWorkflowScheme({required int id, bool? validateOnly, required PublishDraftWorkflowScheme body}) Future<void>
Publishes a draft workflow scheme.
setWorkflowSchemeDraftIssueType({required int id, required String issueType, required IssueTypeWorkflowMapping body}) Future<WorkflowScheme>
Sets the workflow for an issue type in a workflow scheme's draft.
toString() String
A string representation of this object.
inherited
updateDraftDefaultWorkflow({required int id, required DefaultWorkflow body}) Future<WorkflowScheme>
Sets the default workflow for a workflow scheme's draft.
updateDraftWorkflowMapping({required int id, required String workflowName, required IssueTypesWorkflowMapping body}) Future<WorkflowScheme>
Sets the issue types for a workflow in a workflow scheme's draft. The workflow can also be set as the default workflow for the draft workflow scheme. Unmapped issues types are mapped to the default workflow.
updateWorkflowSchemeDraft({required int id, required WorkflowScheme body}) Future<WorkflowScheme>
Updates a draft workflow scheme. If a draft workflow scheme does not exist for the active workflow scheme, then a draft is created. Note that an active workflow scheme can only have one draft workflow scheme.

Operators

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