rankBefore

Syntax

rankBefore(issue to rank, reference issue)

Description

Moves an issue before another issue.

Parameters

Parameter name

Type

Required

Description

issue to rank

string

Yes

The issue key to move

reference issuestringYesThe reference issue

Return type

boolean

'True' if operation succeeded, 'false' otherwise

Example

boolean result = rankBefore("AGILE-3", "AGILE-2");

Notes

  1. If an issue with that issue key is not found, an exception will be raised.
  2. The user must have enough permissions to perform this action

See also