Link JIRA Project to Confluence Space


I noticed that the function to create a Confluence Space upon creating a project in Jira got removed (?).

Using ScriptRunner and a custom script I managed to create a Confluence Space upon Jira project creation. However, this space still needs to be linked manually to the Jira project in space settings at the moment.

Is the functionality in the Confluence api to set the application link missing? I can’t seem to find it in the documentation:

If not, can someone tell me if this is something that will be added in the future?

Thanks in advance.