Expose Jira issues for vulnerabilities fields in the REST API

Release notes

When configuring the Jira Issues integration it is possible to also configure the integration to Create a Jira issue for a vulnerability using the GitLab UI.

The configured fields can be seen in the request as:

service[vulnerabilities_enabled]	"true"
service[project_key]	"ABCDE"
service[vulnerabilities_issuetype]	"10000"
service[customize_jira_issue_enabled]	"true"

Currently, the Jira issues REST API does not expose these fields which makes it impossible to configure the integration fully using the API.

Problem to solve

Proposal

It should be possible to set these fields using the API as well as retreiving the configured values for this integration.

Intended users

Feature Usage Metrics

Does this feature require an audit event?

Edited by 🤖 GitLab Bot 🤖