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

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

public class IssueTypeResource
extends Object

Since:
4.2

Constructor Summary
IssueTypeResource(JiraAuthenticationContext authContext, ConstantsService constantsService, VelocityRequestContextFactory velocityRequestContextFactory, ContextUriInfo contextUriInfo, JiraBaseUrls jiraBaseUrls)
           
 
Method Summary
 javax.ws.rs.core.Response getIssueAllTypes()
          Returns a list of all issue types visible to the user
 javax.ws.rs.core.Response getIssueType(String issueTypeId)
          Returns a full representation of the issue type that has the given id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueTypeResource

public IssueTypeResource(JiraAuthenticationContext authContext,
                         ConstantsService constantsService,
                         VelocityRequestContextFactory velocityRequestContextFactory,
                         ContextUriInfo contextUriInfo,
                         JiraBaseUrls jiraBaseUrls)
Method Detail

getIssueAllTypes

public javax.ws.rs.core.Response getIssueAllTypes()
Returns a list of all issue types visible to the user

Returns:
a list of issue types

getIssueType

public javax.ws.rs.core.Response getIssueType(String issueTypeId)
Returns a full representation of the issue type that has the given id.

Parameters:
issueTypeId - a String containing an issue type id
Returns:
a full representation of the issue type with the given id


Copyright © 2002-2012 Atlassian. All Rights Reserved.