...
...
Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Info | ||
---|---|---|
| ||
This routine is available starting with SIL Engine 4.8.0.4. |
...
getWorkflowsFromSchemeName(workflowSchemeName)
Description
Excerpt |
---|
Update one ore more attributes for the provided filter. Retrieves a list of workflows associated to a workflow scheme. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
filterNameworkflowSchemeName | string | Yes | The name of the filterworkflow scheme. |
Return type
boolean
Returns true if the filter was updated. False otherwise.
Example
...
Returns a list workflow objects representing workflows associated to a given workflow scheme.
Example
Code Block |
---|
string workflowSchemeName = "TEST: Software Simplified Workflow Scheme";
JWorkflow[] workflows = getWorkflowsFromSchemeName(workflowSchemeName);
return workflows;
// String representation
// 10100|Software Simplified Workflow for Project TEST|live|User Built|Default|true|To Do|In Progress|Done|Create|To Do|In Progress|Done|10600|Software Simplified Workflow for Project DEMO|live|User Built|10000|true|To Do|In Progress|Done|Create|To Do|In Progress|Done|Clone Epic
// JSON representation
/*
[{
"id": "10100",
"name": "Software Simplified Workflow for Project TEST",
"mode": "live",
"type": "User Built",
"assocIssueType": "Default",
"active": true,
"statuses": ["To Do", "In Progress", "Done"],
"transitions": ["Create", "To Do", "In Progress", "Done"]
}, {
"id": "10600",
"name": "Software Simplified Workflow for Project DEMO",
"mode": "live",
"type": "User Built",
"assocIssueType": "10000",
"active": true,
"statuses": ["To Do", "In Progress", "Done"],
"transitions": ["Create", "To Do", "In Progress", "Done", "Clone Epic"]
}]
*/ |