Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 Champion
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
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events