Class: Subtask

Subtask

new Subtask()

Subtask

Properties:
Name Type Description
connector IConnector

the jira connector instance

Source:

Methods

canMoveSubTask(options, callbackopt) → {Promise.<any>}

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
issueIdOrKey string

issueIdOrKey

token string

token The token to use for authentication. This token is supplied on a sucessful login. If not supplied, the default token (if set) is used

callback <optional>

if supplied, called with result of api call

Source:
Returns:

result of api call

Type
Promise.<any>

getSubTasks(options, callbackopt) → {Promise.<any>}

Returns an issue's subtask list

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
issueIdOrKey string

issueIdOrKey

token string

token The token to use for authentication. This token is supplied on a sucessful login. If not supplied, the default token (if set) is used

callback <optional>

if supplied, called with result of api call

Source:
Returns:

result of api call

Type
Promise.<any>

moveSubTasks(options, callbackopt) → {Promise.<any>}

Reorders an issue's subtasks by moving the subtask at index "from" to index "to".

Parameters:
Name Type Attributes Description
options Object

An object containing options to pass to the Jira API.

Properties
Name Type Description
issueIdOrKey string

issueIdOrKey

current string

current

original string

original

token string

token The token to use for authentication. This token is supplied on a sucessful login. If not supplied, the default token (if set) is used

callback <optional>

if supplied, called with result of api call

Source:
Returns:

result of api call

Type
Promise.<any>