Option comment_on_event_enabled: false not recognized when using API endpoint /api/v4/groups/$GROUP_ID/integrations/jira

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

I have an issue, where I make an API call with "comment_on_event_enabled": false and the option ends up being set as true.

I have found a recent change in the Jira integration files where the group API call got added: 57918fe7 In this change above, I don't see field :comment_on_event_enabled block in file app/models/integrations/jira.rb.

Could this be my issue? My GitLab version is on 17.9.3. I am using the API endpoint /api/v4/groups/$GROUP_ID/integrations/jira.

My json request body looks like the following:

{
	"active": true,
	"url": "https://ats.anexia-it.com",
  "password": "elitesting",
  "jira_auth_type": 1,
  "jira_issue_regex": "(PROJECT|PROJECT|PROJECT)-\\d{1,5}",
  "merge_requests_events": true,
	"commit_events": false,
  "comment_on_event_enabled": false
}

My 200 response body looks like the following:

{
	"id": 2,
	"title": "Jira issues",
	"slug": "jira",
	"created_at": "2025-04-09T13:19:05.937Z",
	"updated_at": "2025-04-09T16:08:27.551Z",
	"active": true,
	"commit_events": false,
	"push_events": true,
	"issues_events": true,
	"incident_events": false,
	"alert_events": true,
	"confidential_issues_events": true,
	"merge_requests_events": true,
	"tag_push_events": true,
	"deployment_events": false,
	"note_events": true,
	"confidential_note_events": true,
	"pipeline_events": true,
	"wiki_page_events": true,
	"job_events": true,
	"comment_on_event_enabled": true,
	"inherited": false,
	"vulnerability_events": false,
	"properties": {
		"url": "https://some-jira.com",
		"api_url": null,
		"jira_auth_type": 1,
		"username": null,
		"jira_issue_regex": "(PROJECT|PROJECT|PROJECT)-\\d{1,5}",
		"jira_issue_prefix": null,
		"jira_issue_transition_id": null,
		"issues_enabled": false,
		"project_keys": []
	}
}
Edited by 🤖 GitLab Bot 🤖