...
- Configure Run CLI Actions in Confluence with appropriate profile for Jira that has administration permissions.
- Install RUN.
- Install CMSP and secure the ability to use the cli macro to only jira-administrators or equivalent.
- Create a page similar to the example below to a suitable location. Use Insert > Markup or do equivalent via Macro Browser.
- Add more replace parameters if you need to give users more control over scheme setting, etc...
- Add more parameters to the createProject action to enforce any standards you have for projects.
- Restrict edit permission on the page to jira-administrators or equivalent (must be permitted by your macro security configuration).
- Restrict view access to the page to only users that you want the ability to create projects.
...