Skip to end of banner
Go to start of banner

getAllWorkflows

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Availability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

getAllWorkflows()

Description

Retrieves a list of all workflows in the Jira environment.

Return type

JWorkflow[]

Returns a list of all workflow representations.

Example

JWorkflow[] workflows = getAllWorkflows();
return workflows;


// String representation
// 0|jira|live|System||false|Open|In Progress|Resolved|Reopened|Closed|Create Issue|Close Issue|Reopen Issue|Start Progress|Resolve Issue|Stop Progress|Close Issue|10000|classic default workflow|live|User Built||false|Open|In Progress|Resolved|Reopened|Closed|Create Issue|Close Issue|Reopen Issue|Start Progress|Resolve Issue|Stop Progress|Close Issue


// JSON representation
/*
[{
	"id": "0",
	"name": "jira",
	"mode": "live",
	"type": "System",
	"assocIssueType": null,
	"active": false,
	"statuses": ["Open", "In Progress", "Resolved", "Reopened", "Closed"],
	"transitions": ["Create Issue", "Close Issue", "Reopen Issue", "Start Progress", "Resolve Issue", "Stop Progress", "Close Issue"]
}, {
	"id": "10000",
	"name": "classic default workflow",
	"mode": "live",
	"type": "User Built",
	"assocIssueType": null,
	"active": false,
	"statuses": ["Open", "In Progress", "Resolved", "Reopened", "Closed"],
	"transitions": ["Create Issue", "Close Issue", "Reopen Issue", "Start Progress", "Resolve Issue", "Stop Progress", "Close Issue"]
}]
*/

The filter can be partially updated by specifying only the attribute needed to be updated in the JFilter structure.

  • No labels