Class WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder
- Enclosing class:
- WorkflowSchemeUpdateRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultWorkflowId
(String defaultWorkflowId) The ID of the workflow for issue types without having a mapping defined in this workflow scheme.description
(String description) The new description for this workflow scheme.The ID of this workflow scheme.The new name for this workflow scheme.statusMappingsByIssueTypeOverride
(List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride) Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
.statusMappingsByWorkflows
(List<MappingsByWorkflow> statusMappingsByWorkflows) The status mappings by workflows.toString()
version
(DocumentVersion version) workflowsForIssueTypes
(List<WorkflowSchemeAssociation> workflowsForIssueTypes) Mappings from workflows to issue types.
-
Method Details
-
defaultWorkflowId
public WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder defaultWorkflowId(String defaultWorkflowId) The ID of the workflow for issue types without having a mapping defined in this workflow scheme. Only used in global-scoped workflow schemes. If thedefaultWorkflowId
isn't specified, this is set to *Jira Workflow (jira)*.- Returns:
this
.
-
description
public WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder description(String description) The new description for this workflow scheme.- Returns:
this
.
-
id
The ID of this workflow scheme.- Returns:
this
.
-
name
The new name for this workflow scheme.- Returns:
this
.
-
statusMappingsByIssueTypeOverride
public WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder statusMappingsByIssueTypeOverride(List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride) Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
.- Returns:
this
.
-
statusMappingsByWorkflows
public WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder statusMappingsByWorkflows(List<MappingsByWorkflow> statusMappingsByWorkflows) The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
.- Returns:
this
.
-
version
public WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder version(DocumentVersion version) - Returns:
this
.
-
workflowsForIssueTypes
public WorkflowSchemeUpdateRequest.WorkflowSchemeUpdateRequestBuilder workflowsForIssueTypes(List<WorkflowSchemeAssociation> workflowsForIssueTypes) Mappings from workflows to issue types.- Returns:
this
.
-
build
-
toString
-