Versions Compared

Key

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


Info
titleAvailability

This routine is available starting with SIL Engine 4.8.0.4.

...

Excerpt

Retrieves a list of workflow transition actions.

Parameters

Parameter name

Type

Required

Description

workflowName

string

Yes

The name of the workflow.

...

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


// String representation
// Create|||com.atlassian.jira.workflow.functionvalidator.issue.IssueCreateFunctionPermissionValidator|com.atlassian.jira.workflow.function.issue.IssueReindexFunctionIssueCreateFunction|com.atlassian.jira.workflow.function.eventissue.FireIssueEventFunction IssueReindexFunction|com.atlassian.jira.workflow.function.validatorevent.PermissionValidatorFireIssueEventFunction||To Do|Done|||com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction |com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction |com.atlassian.jira.workflow.function.misc.CreateCommentFunction| com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction |com.atlassian.jira.workflow.function.issue.IssueReindexFunction|com.atlassian.jira.workflow.function.event.FireIssueEventFunction ||In Progress|Done|||com.keplerrominfo.jira.plugins.jjupin.workflow.SilPostFunction|com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction |com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction |com.atlassian.jira.workflow.function.misc.CreateCommentFunction| com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction |com.atlassian.jira.workflow.function.issue.IssueReindexFunction|com.atlassian.jira.workflow.function.event.FireIssueEventFunction |Done|Done|Done||com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction |com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction |com.atlassian.jira.workflow.function.misc.CreateCommentFunction| com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction |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.functionvalidator.issue.IssueCreateFunctionPermissionValidator"],
	"postFunctions": ["com.atlassian.jira.workflow.function.issue.IssueReindexFunctionIssueCreateFunction", "com.atlassian.jira.workflow.function.eventissue.FireIssueEventFunctionIssueReindexFunction", "com.atlassian.jira.workflow.validatorfunction.event.PermissionValidatorFireIssueEventFunction"],
	"postFunctions": []
}, {
	"name": "To Do",
	"fromStatus": "Done",
	"conditions": [],
	"validators": [],
	"postFunctions": ["com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction", "com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction", "com.atlassian.jira.workflow.function.misc.CreateCommentFunction", "com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction", "com.atlassian.jira.workflow.function.issue.IssueReindexFunction", "com.atlassian.jira.workflow.function.event.FireIssueEventFunction"],
	"postFunctions": []
}, {
	"name": "In Progress",
	"fromStatus": "Done",
	"conditions": [],
	"validators": [],
	"postFunctions": ["com.keplerrominfo.jira.plugins.jjupin.workflow.SilPostFunction", "com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction", "com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction", "com.atlassian.jira.workflow.function.misc.CreateCommentFunction", "    com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction", "com.atlassian.jira.workflow.function.issue.IssueReindexFunction", "com.atlassian.jira.workflow.function.event.FireIssueEventFunction"],
	"postFunctions": []
}, {
	"name": "Done",
	"fromStatus": "Done",
	"conditions": [],
	"validators": [],
	"postFunctions": ["com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction", "com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction", "com.atlassian.jira.workflow.function.misc.CreateCommentFunction", "com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction", "com.atlassian.jira.workflow.function.issue.IssueReindexFunction", "com.atlassian.jira.workflow.function.event.FireIssueEventFunction"],
	"postFunctions": []
}]
*/