issueInSprint

Syntax

issueInSprint(issue key, sprint id)

Description

Checks whether the issue with the provided issue key is in the sprint.

Parameters

Parameter name

Type

Required

Description

issue key

string

Yes

The issue key

sprint idnumberYesThe sprint id

Return type

boolean

'True' if issue is in the sprint, 'false' otherwise.

Example

boolean result = issueInSprint("AGILE-3", 5);

Notes

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

See also