Removed unintentionally commented code (#2711)

This commit is contained in:
Yasin 2017-10-07 00:05:40 +05:30 committed by Grzegorz Piwowarek
parent 1dbc2c9127
commit 3f21a3b529
1 changed files with 4 additions and 5 deletions

View File

@ -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();
}