public class Watches extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
Watches(RestClient restclient,
net.sf.json.JSONObject json)
Creates watches from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
static Watches |
get(RestClient restclient,
String issue)
Retrieves the given watches record.
|
int |
getWatchCount() |
List<User> |
getWatchers() |
boolean |
isWatching() |
String |
toString() |
getApiRev, getAuthUri, getBaseUri, getId, getSelf, getUrl, setApiRevprotected Watches(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic static Watches get(RestClient restclient, String issue) throws JiraException
restclient - REST client instanceissue - Internal JIRA ID of the issueJiraException - when the retrieval failspublic int getWatchCount()
public boolean isWatching()
Copyright © 2022. All rights reserved.