Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=issueInSprint+-+15489062
widthauto

The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

issueInSprint(issue key, sprint id)

Package

Alias

Pkg Usage

Description

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

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

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

issue key

String

Yes

The issue key

sprint id

Number

Yes

The sprint id

Return Type

Boolean

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

Example

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

Note

1. If there is no issue with that issue key, an exception will be raised. 2. The user must have sufficient permissions to view the board.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "agile_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.