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?
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! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.