Package com.atlassian.jira.rest.v2.issue
Class IssueSubTaskResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.IssueSubTaskResource
@Path("issue/{issueIdOrKey}/subtask")
@Produces("application/json")
public class IssueSubTaskResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionIssueSubTaskResource(SubTaskService subTaskService, IssueFinder issueFinder, JiraAuthenticationContext authenticationContext, IssueLinksBeanBuilderFactory issueLinksBeanBuilderFactory, ResponseFactory responseFactory) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecanMoveSubTask(String issueIdOrKey) jakarta.ws.rs.core.ResponsegetSubTasks(String issueIdOrKey) Returns an issue's subtask listjakarta.ws.rs.core.ResponsemoveSubTasks(String issueIdOrKey, IssueSubTaskMovePositionBean position) Reorders an issue's subtasks by moving the subtask at index "from" to index "to".
-
Constructor Details
-
IssueSubTaskResource
@Inject public IssueSubTaskResource(SubTaskService subTaskService, IssueFinder issueFinder, JiraAuthenticationContext authenticationContext, IssueLinksBeanBuilderFactory issueLinksBeanBuilderFactory, ResponseFactory responseFactory)
-
-
Method Details
-
getSubTasks
Returns an issue's subtask list- Parameters:
issueIdOrKey- The parent issue's key or id
-
canMoveSubTask
@GET @Path("move") public jakarta.ws.rs.core.Response canMoveSubTask(@PathParam("issueIdOrKey") String issueIdOrKey) -
moveSubTasks
@POST @Path("move") @Consumes("application/json") public jakarta.ws.rs.core.Response moveSubTasks(@PathParam("issueIdOrKey") String issueIdOrKey, IssueSubTaskMovePositionBean position) Reorders an issue's subtasks by moving the subtask at index "from" to index "to".- Parameters:
issueIdOrKey- The parent issue's key or idposition- the description of previous and current position of subtask in the sequence.
-