I am trying to create an issue using IssueInputBuilder and setting customfieldvalue() like
1.IssueInputBuilder inputBuilder = new IssueInputBuilder(projectKey, issueType, issueSummary);
2. inputBuilder.setDescription("Creating the sample test execution");
3. inputBuilder.setFieldValue("customfield_15928", ComplexIssueInputFieldValue.with("value", "RR-336"));
4. IssueInput issue = inputBuilder.build();
Getting the below exception at the line 3
RestClientException{statusCode=Optional.of(500), errorCollections=[ErrorCollection{status=500, errors={}, errorMessages=[Internal server error]}]}
at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
at com.pru.serviceImpl.JiraBugServiceImpl.createTestExecution(JiraBugServiceImpl.java:48)
at com.pru.jira.test.TestJira.main(TestJira.java:3)
Can anyone please help me out of this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.