use of com.atlassian.jira.rest.client.api.domain.input.IssueInput in project tutorials by eugenp.
the class MyJiraClient method createIssue.
private String createIssue(String projectKey, Long issueType, String issueSummary) {
IssueRestClient issueClient = restClient.getIssueClient();
IssueInput newIssue = new IssueInputBuilder(projectKey, issueType, issueSummary).build();
return issueClient.createIssue(newIssue).claim().getKey();
}
use of com.atlassian.jira.rest.client.api.domain.input.IssueInput in project tutorials by eugenp.
the class MyJiraClient method updateIssueDescription.
private void updateIssueDescription(String issueKey, String newDescription) {
IssueInput input = new IssueInputBuilder().setDescription(newDescription).build();
restClient.getIssueClient().updateIssue(issueKey, input).claim();
}
Aggregations