public class

IssueTypeResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.issue.IssueTypeResource

Summary

Public Constructors
IssueTypeResource(JiraAuthenticationContext authContext, ConstantsService constantsService, VelocityRequestContextFactory velocityRequestContextFactory, ContextUriInfo contextUriInfo, JiraBaseUrls jiraBaseUrls)
Public Methods
Response getIssueAllTypes()
Returns a list of all issue types visible to the user
Response getIssueType(String issueTypeId)
Returns a full representation of the issue type that has the given id.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

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

Public Methods

public Response getIssueAllTypes ()

Returns a list of all issue types visible to the user

Returns
  • a list of issue types

public 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