Introduction to Space Blueprints
The Space Blueprints API (introduced in 5.3) is an extension of the existing Blueprints API (introduced in 5.1). Its main purpose is to help users bootstrap the space creation process. As a plugin developer, you can now hook into the Create Space dialog to add your own space blueprint. You can optionally do the following:
And lots more! It is really up to your imagination! For example the Team Space Blueprint provides a wizard to define 'team members' for a space and automatically adds the team members as space watchers and gives them explicit space permissions.
If you want to see some example code, the Hello Blueprint now contains a space blueprint. The source code is available on Atlassian Bitbucket: bitbucket.org/atlassian/hello-blueprint. To clone the repository, issue the following command:
git clone https://bitbucket.org/atlassian/hello-blueprint.git
Space Blueprints are built with the following plugin module types:
Add your Space Blueprint to the Create Space dialog.
You must specify a section of and have a element with name "" specified, where is the space blueprint module key.
The icon resource should be 200 x 150 pixel PNG icon resource representing the blueprint icon.
Defines the space blueprint
Describes the default home page and content for the space
|Allows you promote blueprints for a space|
|Define a dialog wizard for users to input data during space creation|