Hi, I am creating a ticket for the first time using JiraRestClient. It works beautifully, and my code looks like this:
@PostConstruct
public void init() {
jiraRestClient = new AsynchronousJiraRestClientFactory()
.create(URI.create(jiraUrl), new BasicHttpAuthenticationHandler(jiraUser, jiraPassword));
}
// todo 작업중
public void createIssue(Long issueType, String issueSummary) {
IssueRestClient issueRestClient = jiraRestClient.getIssueClient();
IssueInput issueInput = new IssueInputBuilder()
.setFieldValue("customfield_10011", "Epic Name")
.setProjectKey(projectKey)
.setDescription(issueSummary)
.setSummary(issueSummary)
.setIssueType(new IssueType(null, 10000L, null, false, null, null))
.build();
issueRestClient.createIssue(issueInput).claim();
// return issueRestClient.createIssue(issueInput).claim().getKey();
}
In here, i don't know what is customfield_10011 and what means 10000L of IssueType.
Next is customization, so I need a document that is related to these fields. If you already have a document, would you give me the link address? Thank you.