Automate "jira integration" for many projects

Hi,

are there a way to automate adding Jira integration to project? I have about 40 projects which I want integrate with the same Jira project. I didn’t found anything in API documentation, but maybe there is some undocumented way?

Thanks,
Stan