com.atlassian.jira.rest.v2.issue
Class PriorityResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.PriorityResource
public class PriorityResource
- extends Object
- Since:
- 4.2
Method Summary |
javax.ws.rs.core.Response |
getPriorities(javax.ws.rs.core.UriInfo uriInfo)
Returns a list of all issue priorities. |
javax.ws.rs.core.Response |
getPriority(String id)
Returns an issue priority. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PriorityResource
public PriorityResource(ConstantsManager constantsManager,
ContextI18n i18n,
JiraBaseUrls baseUrls)
getPriorities
public javax.ws.rs.core.Response getPriorities(@Context
javax.ws.rs.core.UriInfo uriInfo)
- Returns a list of all issue priorities.
- Parameters:
uriInfo
- a UriInfo
- Returns:
- a list of Jira Priorities
getPriority
public javax.ws.rs.core.Response getPriority(String id)
- Returns an issue priority.
- Parameters:
id
- a String containing the priority id
- Returns:
- a response containing the requested issue priority
Copyright © 2002-2012 Atlassian. All Rights Reserved.