Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

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
titleAvailability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

getWorkflowTransition(workflowName, transtionName)

Description

Excerpt

Update one ore more attributes for the provided filter. Retrieves transition information for a single workflow transition.

Parameters

filterName filter.

Parameter name

Type

Required

Description

workflowName

string

Yes

The name of the workflow.

transtionNamestringYesThe name of the transition. (Example: Start Progress)

Return type

boolean

Returns true if the filter was updated. False otherwise.

Example

...

JWorkflowAction[]

Returns an array of transition objects for a transition of a given name.

Example

Code Block
string workflowName = "Software Simplified Workflow for Project TEST";
string transtionName = "Create";
JWorkflowAction[] actions = getWorkflowTransition(workflowName, transtionName);
return actions;

// String representation
// Create|||com.atlassian.jira.workflow.validator.PermissionValidator|com.atlassian.jira.workflow.function.issue.IssueCreateFunction|com.atlassian.jira.workflow.function.issue.IssueReindexFunction|com.atlassian.jira.workflow.function.event.FireIssueEventFunction


// JSON representation
/*
[{
	"name": "Create",
	"fromStatus": null,
	"conditions": [],
	"validators": ["com.atlassian.jira.workflow.validator.PermissionValidator"],
	"postFunctions": ["com.atlassian.jira.workflow.function.issue.IssueCreateFunction", "com.atlassian.jira.workflow.function.issue.IssueReindexFunction", "com.atlassian.jira.workflow.function.event.FireIssueEventFunction"]
}]
*/