Forums

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

[Freshservice and Jira Integration] Can the field “Product (level 2)” be modified?

Mariano Moraca
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2023

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\"}}"}

2 answers

0 votes
Joseph Chung Yin
Community Champion
August 18, 2023

@Mariano Moraca -

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.

0 votes
Mariano Moraca
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2023

Freshservice and Jira Integration

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events