The customfield “Product (level 2)” on Jira Project. Getting the below mapping Error in the integration.
[ERROR] 2023-08-16T12:01:05.385Z - [aca626a30-65-2408-1] Error occurred when performing flow
com.engrator.platform.facades.interf.exceptions.RestClientException: Invalid response status code received (expected: 204 but got 400). Response: {"errorMessages":[],"errors":{"customfield_10112":"Specify a valid option 'id' or 'name' for Product"}}
at com.engrator.platform.integration.connectors.generic.interf.p.a(RestClient.java:108)
at com.engrator.platform.integration.connectors.generic.interf.p.b(RestClient.java:93)
at com.engrator.platform.integration.connectors.jira.e.e.e(JiraRestClient.java:209)
at com.engrator.platform.integration.connectors.jira.steps.e.b.a(JiraUpdateIssueStep.java:29)
at com.engrator.platform.integration.connectors.jira.steps.e.b.a(JiraUpdateIssueStep.java:14)
at com.engrator.platform.integration.connectors.generic.steps.g.a.a(UpdateItemStep.java:102)
at com.engrator.platform.integration.connectors.jira.a.a(JiraConnector.java:98)
at com.engrator.platform.integration.connectors.generic.steps.b.b.a(ArtifactsComparatorIntegrationStep.java:144)
at com.engrator.platform.integration.connectors.generic.steps.b.b.a(ArtifactsComparatorIntegrationStep.java:117)
at com.engrator.platform.integration.connectors.freshdesk.a.a(FreshdeskConnector.java:92)
at com.engrator.platform.integration.synchronization.suites.steps.c.d(StepExecutionHandler.java:36)
at com.engrator.platform.integration.synchronization.smartints.executor.a.a(SmartIntIntegrationStepsExecutor.java:46)
at com.engrator.platform.integration.synchronization.f.<init>(PerformedFlow.java:44)
at com.engrator.platform.integration.synchronization.c.a(IntegrationSuiteRun.java:193)
at com.engrator.platform.facades.IntegrationFacade.runIntegrationSuite(IntegrationFacade.java:42)
at com.engrator.platform.backend.system.app.RunIntegrationSuite.run(RunIntegrationSuite.java:68)
at com.engrator.platform.facades.threads.IntegrationThreadRun.runSyncLoop(IntegrationThreadRun.java:147)
at com.engrator.platform.persistance.services.standalone.threads.IntegrationThread.run(IntegrationThread.java:82)
[INFO ] 2023-08-16T12:01:05.385Z - [aca626a30-65-2408-1] Flow result: FAILURE - {"success":false,"errorClass":"RestClientException","flowId":16,"errorMsg":"Invalid response status code received (expected: 204 but got 400). Response: {\"errorMessages\":[],\"errors\":{\"customfield_10112\":\"Specify a valid option 'id' or 'name' for Product\"}}"}
Welcome to the community. What kind of field is your custom field? I can assumed it is a drop-down list. If so, when you use REST API to interact with the field, then the value of the field needs to match against what you have defined in the dropdown list options.
This will be the first area that I would recommend you to validate.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Freshservice and Jira Integration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.