Skip to end of banner
Go to start of banner

getAvailableTransitions

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 3 Current »

Description

Retrieves all available transitions for the current user from the given issue state.

Parameters

Return Type

String []

The return value is an array of strings, containing the names of the available transitions for the current user from the given issue state.

Example

Issue DEMO-1 has status Open and is assigned to test user. Currently logged in user is admin. Start Progress transition is restricted only to assignee, therefore it will be omitted.

return getAvailableTransitions("DEMO-1");

Result: Resolve Issue|Close Issue.

See also

  • No labels