It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Blueprints: Creating Multiple Blueprints within Single Plugin

I've been following the excellent Atlassian guides "create a blueprint plugin" (simple, intermediate, advanced) and I now have a plugin that contains one fully functional blueprint.:)

My question is: are there there any examples/resources out there (or community guidance) that outlines how I can manipulate my plugin so it houses more than one blueprint (as is done with Atlassian's "Blueprints for Business Teams Pack"). Like i mentioned i have the basics for single blueprint, so just need to understand how to organise the contents / references to now support multiple blueprints within a single plugin.

All feedback/suggestions welcomed (apologies if this is a noob question, this is my first time at coding for Atlassian products / Java).

Many thanks!


2 answers

1 accepted

4 votes
Answer accepted

Hi Gavin,

This is done by simply appending more tags to your atlassian-plugin.xml file. As an example with our Business Blueprints, we've got common descriptors shared up the top of our file, then for each Blueprint we just keep adding the standard descriptors. Hope this helps. Here is a sample:

<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${}" plugins-version="2">
        <vendor name="${}" url="${project.organization.url}" />

    <!-- Common descriptors -->
    <component-import key="localeManager" interface="com.atlassian.confluence.languages.LocaleManager"/>
    <component-import key="i18nBeanFactory" interface="com.atlassian.confluence.util.i18n.I18NBeanFactory"/>
    <component-import key="sharePageService" interface="com.atlassian.confluence.plugins.sharepage.api.SharePageService"/>
    <component-import key="contentBlueprintManager" interface="com.atlassian.confluence.plugins.createcontent.ContentBlueprintManager"/>
    <component key="contextProviderHelper" id="contextProviderHelper" class="com.atlassian.confluence.plugins.BusinessBlueprintsContextProviderHelper" />

    <!-- Common index page -->
    <web-resource key="common-template-resources" name="Common Templates Resources">
        <transformation extension="js">
            <transformer key="jsI18n"/>
        <transformation extension="soy">
            <transformer key="soyTransformer">
	    <resource type="download" name="common-style.css" location="com/atlassian/confluence/plugins/blueprint/common/css/common-style.css" />
        <resource type="download" name="common-templates.js" location="com/atlassian/confluence/plugins/blueprint/common/soy/" />


    <!-- File List descriptors -->
    <web-item key="file-list-item" i18n-name-key="" section="system.create.dialog/content">
        <description key="file.list.blueprint.description"/>
        <styleClass>file-list-blueprint-icon large</styleClass>
        <param name="blueprintKey" value="file-list-blueprint"/>

    <blueprint ....>

    <content-template ....>

    <resource name="file-list-i18n" type="i18n" location="com/atlassian/confluence/plugins/filelist/file-list-i18n"/>

    <web-resource ...>


    <!-- Meeting Note descriptors -->
    <resource name="meeting-notes-i18n" type="i18n" location="com/atlassian/confluence/plugins/meetingnotes/meeting-notes-i18n"/>

    <web-item key="meeting-notes-item" i18n-name-key="" section="system.create.dialog/content">
        <description key="meeting.notes.blueprint.description"/>
        <styleClass>meeting-notes-blueprint-icon large</styleClass>
        <param name="blueprintKey" value="meeting-notes-blueprint"/>

    <blueprint ...>

    <content-template ....>

    <web-resource ...>


this example is most appreciated Sherif!


With our approach you can build blueprints based on normal confluence pages. No programming skills are needed and therefor all your users can improve the blueprints and fully collaborate.

Marketplace Link: Page Tree Creator


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you