Internal Server Error when creating issue using IssueInputBuilder

Bindhu November 15, 2019

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?

 

 

 

 

 

 

 

1 answer

0 votes
Rolf Lader
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2024

Hi @Bindhu 

Have you found the reason for the "Internal server error"?

Best regards, Rolf

Suggest an answer

Log in or Sign up to answer