public class Priority extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
Priority(RestClient restclient,
net.sf.json.JSONObject json)
Creates a priority from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
static Priority |
get(RestClient restclient,
String id)
Retrieves the given priority record.
|
String |
getIconUrl() |
String |
getName() |
String |
toString() |
getApiRev, getAuthUri, getBaseUri, getId, getSelf, getUrl, setApiRevprotected Priority(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic static Priority get(RestClient restclient, String id) throws JiraException
restclient - REST client instanceid - Internal JIRA ID of the priorityJiraException - when the retrieval failspublic String getName()
public String getIconUrl()
Copyright © 2022. All rights reserved.