issueManager.getIssueById(issue.getId());
}
@Test
public void testUpdateIssueSpecialXMLtags() throws Exception {
Issue issue = createIssues(issueManager, projectKey, 1).get(0);
String newSubject = "\"text in quotes\" and <xml> tags";
String newDescription = "<taghere>\"abc\"</here>";
issue.setSubject(newSubject);
issue.setDescription(newDescription);
issueManager.update(issue);
Issue updatedIssue = issueManager.getIssueById(issue.getId());
assertEquals(newSubject, updatedIssue.getSubject());
assertEquals(newDescription, updatedIssue.getDescription());
}