Gitlab and jira integration (issues on repo level)

I am able to integrate gitlab with my jira account. I am enabling jira issues in the settings- integration level of each git repo. I am doing this because - if i turn this on then only when a merge request is raised in gitlab , i get the web url redirecting to the jira ticket.
I need to automate this process as i have to turn this on each repo level. Is there any gitlab api in python that i can leverage for this?

You can enable Jira Integration on a Group level. All projects will inherit the settings.

This setting is enabled on repo level only.

Ah, that particular feature. I don’t think there is API for it.