Class SplitIssueResource

java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.plan.SplitIssueResource

@Path("issue/{issueId}/split") public class SplitIssueResource extends AbstractResource
  • Constructor Details

  • Method Details

    • getDialogData

      @GET @Produces("application/json") public javax.ws.rs.core.Response getDialogData(@PathParam("issueId") long issueId, @QueryParam("rapidViewId") long rapidViewId, @QueryParam("getIssueDestinations") boolean getIssueDestinations)
      Endpoint to get various data required to render the split issue dialog.
      Parameters:
      issueId - ID of issue being split
      rapidViewId - ID of the rapid view on which the split is being performed.
      getIssueDestinations - True if we should get a list of open sprints.
      Returns:
      200
    • splitIssue

      @PUT @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response splitIssue(@PathParam("issueId") long issueId, SplitIssueResource.SplitIssueData data)
      Endpoint to perform the actual split operation.
      Parameters:
      issueId - ID of issue being split
      data - Details about how the original issue should be updated as well as details on new issues to be created.
      Returns:
      200 if the split was performed successfully.