com.atlassian.greenhopper.web.rapid.issue
Class IssueResource

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.web.AbstractResource
          extended by com.atlassian.greenhopper.web.rapid.issue.IssueResource

public class IssueResource
extends AbstractResource

Provides issue related rest resources


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
IssueResource()
           
 
Method Summary
 javax.ws.rs.core.Response areSubtasksResolved(java.lang.Long issueId, java.lang.Long rapidViewId)
           
 javax.ws.rs.core.Response getEditData(javax.ws.rs.core.Request request, java.lang.String issueIdOrKey, java.lang.Long rapidViewId)
          Get the edit values for for a single issue.
 javax.ws.rs.core.Response getPageData(javax.ws.rs.core.Request request, java.lang.String issueIdOrKey, java.lang.Long rapidViewId, boolean loadSubtasks)
          Get the details for a single issue.
 javax.ws.rs.core.Response getTransitions(java.lang.Long issueId)
          Get the list of possible transitions for the given issue.
 javax.ws.rs.core.Response updateField(com.atlassian.greenhopper.web.rapid.issue.IssueResource.UpdateFieldRequest updateFieldRequest)
          Stores a single field value
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueResource

public IssueResource()
Method Detail

getPageData

public javax.ws.rs.core.Response getPageData(@Context
                                             javax.ws.rs.core.Request request,
                                             java.lang.String issueIdOrKey,
                                             java.lang.Long rapidViewId,
                                             boolean loadSubtasks)
Get the details for a single issue.

Parameters:
issueIdOrKey - the issue id or key to query

areSubtasksResolved

public javax.ws.rs.core.Response areSubtasksResolved(java.lang.Long issueId,
                                                     java.lang.Long rapidViewId)

getTransitions

public javax.ws.rs.core.Response getTransitions(java.lang.Long issueId)
Get the list of possible transitions for the given issue.

Parameters:
issueId - the issue id to query

getEditData

public javax.ws.rs.core.Response getEditData(@Context
                                             javax.ws.rs.core.Request request,
                                             java.lang.String issueIdOrKey,
                                             java.lang.Long rapidViewId)
Get the edit values for for a single issue.

Parameters:
issueIdOrKey - the issue id or key to query

updateField

public javax.ws.rs.core.Response updateField(com.atlassian.greenhopper.web.rapid.issue.IssueResource.UpdateFieldRequest updateFieldRequest)
Stores a single field value



Copyright © 2007-2012 Atlassian. All Rights Reserved.