public class IssueLink extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
IssueLink(RestClient restclient,
net.sf.json.JSONObject json)
Creates a issue link from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this issue link record.
|
static IssueLink |
get(RestClient restclient,
String id)
Retrieves the given issue link record.
|
Issue |
getInwardIssue() |
Issue |
getOutwardIssue() |
LinkType |
getType() |
String |
toString() |
getApiRev, getAuthUri, getBaseUri, getId, getSelf, getUrl, setApiRevprotected IssueLink(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic void delete()
throws JiraException
JiraException - when the delete failspublic static IssueLink get(RestClient restclient, String id) throws JiraException
restclient - REST client instanceid - Internal JIRA ID of the issue linkJiraException - when the retrieval failspublic LinkType getType()
public Issue getOutwardIssue()
public Issue getInwardIssue()
Copyright © 2022. All rights reserved.