com.atlassian.jira.rest.v2.issue
Class CreateIssueResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.CreateIssueResource

public class CreateIssueResource
extends Object

Extensions to the JIRA issue resource. This code should eventually be moved into JIRA.


Constructor Summary
CreateIssueResource(JiraAuthenticationContext jiraAuthenticationContext, IssueService issueService, ResourceUriBuilder resourceUriBuilder, SubTaskManager subTaskManager, IssueInputParametersAssembler issueInputParametersAssembler)
           
 
Method Summary
protected  com.atlassian.crowd.embedded.api.User callingUser()
           
 javax.ws.rs.core.Response createIssue(IssueUpdateBean createRequest, javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response createIssues(IssuesUpdateBean createRequests, javax.ws.rs.core.UriInfo uriInfo)
           
protected  javax.ws.rs.WebApplicationException error(ErrorCollection errors)
           
protected  javax.ws.rs.WebApplicationException error(javax.ws.rs.core.Response.Status status, ErrorCollection errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateIssueResource

public CreateIssueResource(JiraAuthenticationContext jiraAuthenticationContext,
                           IssueService issueService,
                           ResourceUriBuilder resourceUriBuilder,
                           SubTaskManager subTaskManager,
                           IssueInputParametersAssembler issueInputParametersAssembler)
Method Detail

createIssue

public javax.ws.rs.core.Response createIssue(IssueUpdateBean createRequest,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo)

createIssues

public javax.ws.rs.core.Response createIssues(IssuesUpdateBean createRequests,
                                              @Context
                                              javax.ws.rs.core.UriInfo uriInfo)

error

protected javax.ws.rs.WebApplicationException error(ErrorCollection errors)

error

protected javax.ws.rs.WebApplicationException error(javax.ws.rs.core.Response.Status status,
                                                    ErrorCollection errors)

callingUser

protected com.atlassian.crowd.embedded.api.User callingUser()


Copyright © 2002-2015 Atlassian. All Rights Reserved.