Removed unintentionally commented code
@@ -33,13 +33,12 @@ public class MyJiraClient {
MyJiraClient myJiraClient = new MyJiraClient("user.name", "pass", "http://jira.company.com");
-// final String issueKey = myJiraClient.createIssue("ABCD", 1L, "Issue created from JRJC");
- final String issueKey = "BAEL-1139";
-// myJiraClient.updateIssueDescription(issueKey, "This is description from my Jira Client");
+ final String issueKey = myJiraClient.createIssue("ABCD", 1L, "Issue created from JRJC");
+ myJiraClient.updateIssueDescription(issueKey, "This is description from my Jira Client");
Issue issue = myJiraClient.getIssue(issueKey);
System.out.println(issue.getDescription());
- /*myJiraClient.voteForAnIssue(issue);
+ myJiraClient.voteForAnIssue(issue);
System.out.println(myJiraClient.getTotalVotesCount(issueKey));
@@ -49,7 +48,7 @@ public class MyJiraClient {
comments.forEach(c -> System.out.println(c.getBody()));
myJiraClient.deleteIssue(issueKey, true);
-*/
+
myJiraClient.restClient.close();
}
