public class WorkLog extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
WorkLog(RestClient restclient,
net.sf.json.JSONObject json)
Creates a work log from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkLog |
get(RestClient restclient,
String issue,
String id)
Retrieves the given work log record.
|
User |
getAuthor() |
String |
getComment() |
Date |
getCreatedDate() |
Date |
getStarted() |
String |
getTimeSpent() |
int |
getTimeSpentSeconds() |
User |
getUpdateAuthor() |
Date |
getUpdatedDate() |
String |
toString() |
getApiRev, getAuthUri, getBaseUri, getId, getSelf, getUrl, setApiRevprotected WorkLog(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic static WorkLog get(RestClient restclient, String issue, String id) throws JiraException
restclient - REST client instanceissue - Internal JIRA ID of the associated issueid - Internal JIRA ID of the work logJiraException - when the retrieval failspublic User getAuthor()
public String getComment()
public Date getCreatedDate()
public User getUpdateAuthor()
public Date getUpdatedDate()
public Date getStarted()
public String getTimeSpent()
public int getTimeSpentSeconds()
Copyright © 2022. All rights reserved.