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