Package com.atlassian.jira.rest.client.api.domain

Examples of com.atlassian.jira.rest.client.api.domain.Comment


    assertEquals(IntegrationTestUtil.USER_ADMIN, client.getIssueClient().getIssue("TST-5").claim().getAssignee());
    navigation.logout();
    navigation.issue().addComment("ANNON-1", "my nice comment");
    final Issue issue = client.getIssueClient().getIssue("ANNON-1").claim();
    assertEquals(1, Iterables.size(issue.getComments()));
    final Comment comment = issue.getComments().iterator().next();
    assertEquals("my nice comment", comment.getBody());
    if (isJira5xOrNewer()) {
      assertNotNull(comment.getId());
    } else {
      assertNull(comment.getId());
    }
    assertNull(comment.getAuthor());
    assertNull(comment.getUpdateAuthor());

  }
View Full Code Here

TOP

Related Classes of com.atlassian.jira.rest.client.api.domain.Comment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.