Issue
When I try to create a Jira ticket using the Sentry Jira integration, it fails with a 400 (Bad Request) error when I manually enter my custom field.
Applies To
- Paying SaaS Customers
- Integrations
Resolution
Presently only single-select dropdown custom fields are supported by Sentry; select list - cascading field types are not supported and will result in the following error in the UI:
Can not instantiate value of type [simple type, class com.atlassian.jira.issue.fields.rest.json.beans.CustomFieldOptionsJsonBean] from JSON String; no single-String constructor/factory method
When creating a custom field you can do so in Jira navigating to your Jira Settings -> Issues -> Custom Fields -> 'the field in question". Ensure that the type is a single-select dropdown.
Also see our related help article Can I add custom Jira fields to my Sentry alerts?