public class IssueSubTaskResource extends Object
Constructor and Description |
---|
IssueSubTaskResource(SubTaskService subTaskService,
IssueFinder issueFinder,
JiraAuthenticationContext authenticationContext,
IssueLinksBeanBuilderFactory issueLinksBeanBuilderFactory,
ResponseFactory responseFactory) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
canMoveSubTask(String issueIdOrKey) |
javax.ws.rs.core.Response |
getSubTasks(String issueIdOrKey)
Returns an issue's subtask list
|
javax.ws.rs.core.Response |
moveSubTasks(String issueIdOrKey,
IssueSubTaskMovePositionBean position)
Reorders an issue's subtasks by moving the subtask at index "from"
to index "to".
|
public IssueSubTaskResource(SubTaskService subTaskService, IssueFinder issueFinder, JiraAuthenticationContext authenticationContext, IssueLinksBeanBuilderFactory issueLinksBeanBuilderFactory, ResponseFactory responseFactory)
public javax.ws.rs.core.Response getSubTasks(String issueIdOrKey)
issueIdOrKey
- The parent issue's key or idpublic javax.ws.rs.core.Response canMoveSubTask(String issueIdOrKey)
public javax.ws.rs.core.Response moveSubTasks(String issueIdOrKey, IssueSubTaskMovePositionBean position)
issueIdOrKey
- The parent issue's key or idposition
- the description of previous and current position of subtask in the sequence.Copyright © 2002-2024 Atlassian. All Rights Reserved.