com.atlassian.jira.gadgets.system
Class QuickCreateResource

java.lang.Object
  extended by com.atlassian.jira.gadgets.system.QuickCreateResource

public class QuickCreateResource
extends Object

REST endpoint to get ISsueType/project scheme info and to create an issue.

Since:
v4.0

Nested Class Summary
static class QuickCreateResource.CreateIssueBean
           
static class QuickCreateResource.IssueKeyBean
           
 
Constructor Summary
QuickCreateResource(ConstantsManager constantsManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext, IssueService issueService)
           
 
Method Summary
 javax.ws.rs.core.Response createIssue(QuickCreateResource.CreateIssueBean createIssueBean)
          This method will attempt to create an issue with the issue type, project and summary only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickCreateResource

public QuickCreateResource(ConstantsManager constantsManager,
                           PermissionManager permissionManager,
                           JiraAuthenticationContext authenticationContext,
                           IssueService issueService)
Method Detail

createIssue

public javax.ws.rs.core.Response createIssue(QuickCreateResource.CreateIssueBean createIssueBean)
This method will attempt to create an issue with the issue type, project and summary only. Any errors will passed back.

Parameters:
createIssueBean - The values being passed in.
Returns:
Simple issue information QuickCreateResource.IssueKeyBean or a list erros for validation errors.


Copyright © 2002-2014 Atlassian. All Rights Reserved.