1
0
Fork 0

implemented unlinking issues

master
Bob Carroll 2013-05-29 14:57:55 -07:00
parent bda6748e84
commit b0d3c3d7c6
1 changed files with 14 additions and 0 deletions

View File

@ -54,6 +54,20 @@ public final class IssueLink extends Resource {
inwardIssue = Field.getResource(Issue.class, map.get("inwardIssue"), restclient);
}
/**
* Deletes this issue link record.
*
* @throws JiraException when the delete fails
*/
public void delete() throws JiraException {
try {
restclient.delete(RESOURCE_URI + "issueLink/" + id);
} catch (Exception ex) {
throw new JiraException("Failed to delete issue link " + id, ex);
}
}
/**
* Retrieves the given issue link record.
*