How to overcome requierd fields

Hi fellas,

I developed a Jira Cloud app that opens issues for our users based on some external data.
I have a problem when a user has a required custom field in the project that must be populated when opening an issue.
When I do the create issue API call I get the response :

400 Bad Request: "{"errorMessages":[],"errors":{"components":"Components is required."}}"
 400 Bad Request: "{"errorMessages":["Product: Product is required."],"errors":{}}"

Is there any way to populate a default value for these required fields or any other workaround to open issues even when the project has required fields?



No. The API is pretty much required to follow the same “business logic” as the UI.