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

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

public class IssueResource
extends java.lang.Object

Provides issue related rest resources


Constructor Summary
IssueResource(com.atlassian.jira.security.JiraAuthenticationContext authContext, IssueEntryFactory issueEntryFactory, TransitionEntryFactory transitionEntryFactory, GHJSONMarshaller jsonMarshaller)
           
 
Method Summary
 javax.ws.rs.core.Response getEditData(java.lang.Long issueId)
          Get the edit values for for a single issue.
 javax.ws.rs.core.Response getPageData(java.lang.Long issueId)
          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(java.lang.Long issueId, java.lang.String fieldId, java.lang.String newValue)
          Stores a single field value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueResource

public IssueResource(com.atlassian.jira.security.JiraAuthenticationContext authContext,
                     IssueEntryFactory issueEntryFactory,
                     TransitionEntryFactory transitionEntryFactory,
                     GHJSONMarshaller jsonMarshaller)
Method Detail

getPageData

public javax.ws.rs.core.Response getPageData(java.lang.Long issueId)
Get the details for a single issue.

Parameters:
issueId - the issue id to query

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(java.lang.Long issueId)
Get the edit values for for a single issue.

Parameters:
issueId - the issue id to query

updateField

public javax.ws.rs.core.Response updateField(java.lang.Long issueId,
                                             java.lang.String fieldId,
                                             java.lang.String newValue)
Stores a single field value



Copyright © 2007-2011 Atlassian. All Rights Reserved.