public class WorkflowsApi extends Object
| Constructor and Description |
|---|
WorkflowsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<DeprecatedWorkflow>> |
getAllWorkflows(Optional<String> workflowName,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deprecated.
|
public WorkflowsApi(org.everit.http.restclient.RestClient restClient)
@Deprecated public io.reactivex.Single<List<DeprecatedWorkflow>> getAllWorkflows(Optional<String> workflowName, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all workflows in Jira or a workflow. Deprecated, use Get workflows paginated.
If the workflowName parameter is specified, the workflow is returned as an object (not in an array). Otherwise, an array of workflow objects is returned.
Permissions required: Administer Jira global permission.
workflowName - The name of the workflow to be returned. Only one workflow can be specified.
(optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2020 Everit Kft.. All rights reserved.