Syntax:
addIssueToSprint(issue key, sprint id)
Description:
Adds an issue to a sprintParameters:
Parameter name | Type | Required | Description |
---|---|---|---|
issue key | string | Yes | The issue key |
sprint id | number | Yes | The sprint id |
Return type:
boolean
True if the operation succeeded, false otherwise
Example:
boolean result = addIssueToSprint("AGILE-3", 5);
Notes:
- If there is no issue with that issue key, an exception will be raised.
- If there is no sprint with that sprint id, an exception will be raised.
- The user must have enough permissions to perform this action
See also:
-
getIssueEntityPropertyKeys (Power Scripts for Jira Cloud)
-
refreshIssue (Power Scripts for Jira Cloud)
-
saveModifiedIssues (Power Scripts for Jira Cloud)
-
issueExists (Power Scripts for Jira Cloud)
-
issueTypeName (Power Scripts for Jira Cloud)
-
getIssueURL (Power Scripts for Jira Cloud)
-
cloneIssue (Power Scripts for Jira Cloud)
-
subtasks (Power Scripts for Jira Cloud)
-
isIssueContext (Power Scripts for Jira Cloud)
-
countIssues (Power Scripts for Jira Cloud)
-
Issue Functions (Power Scripts for Jira Cloud)
-
selectIssues (Power Scripts for Jira Cloud)
-
lastIssueChanges (Power Scripts for Jira Cloud)
-
getIssueEntityPropertyValue (Power Scripts for Jira Cloud)
-
allLinkedIssues (Power Scripts for Jira Cloud)