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 Details

  • Method Details

    • getSubTasks

      @GET public javax.ws.rs.core.Response getSubTasks(@PathParam("issueIdOrKey") String issueIdOrKey)
      Returns an issue's subtask list
      Parameters:
      issueIdOrKey - The parent issue's key or id
    • canMoveSubTask

      @GET @Path("move") public javax.ws.rs.core.Response canMoveSubTask(@PathParam("issueIdOrKey") String issueIdOrKey)
    • moveSubTasks

      @POST @Path("move") @Consumes("application/json") public javax.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 id
      position - the description of previous and current position of subtask in the sequence.