public class

WorkflowsResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.admin.WorkflowsResource

Class Overview

REST resource for retrieving workflows.

Summary

Public Constructors
WorkflowsResource(WorkflowManager workflowManager, DateTimeFormatter dateTimeFormatter, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, PermissionManager permissionManager, WorkflowTransitionResource.Factory transitionFactory)
Public Methods
Response getAllWorkflows(String workflowName)
Returns all workflows.
WorkflowTransitionResource getWorkflowTransitions(String workflowName, String workflowMode)
Return a sub-resource to handle transitions.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WorkflowsResource (WorkflowManager workflowManager, DateTimeFormatter dateTimeFormatter, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, PermissionManager permissionManager, WorkflowTransitionResource.Factory transitionFactory)

Public Methods

public Response getAllWorkflows (String workflowName)

Returns all workflows.

Returns
  • all workflows.

public WorkflowTransitionResource getWorkflowTransitions (String workflowName, String workflowMode)

Return a sub-resource to handle transitions.

Parameters
workflowName the name of the workflow to use.
workflowMode the type of workflow to use. Can either be "live" or "draft".
Returns