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

Examples of com.atlassian.jira.rest.client.api.domain.input.IssueInputBuilder


    // build issue input
    final String summary = "Some subtask";
    final String description = "Some description for substask";

    // prepare IssueInput
    final IssueInputBuilder issueInputBuilder = new IssueInputBuilder(project, issueType, summary)
        .setDescription(description)
        .setFieldValue("parent", ComplexIssueInputFieldValue.with("key", issue.getKey()));

    // create
    final BasicIssue basicCreatedIssue = issueClient.createIssue(issueInputBuilder.build()).claim();
    assertNotNull(basicCreatedIssue.getKey());

    return basicCreatedIssue;
  }
View Full Code Here

TOP

Related Classes of com.atlassian.jira.rest.client.api.domain.input.IssueInputBuilder

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.