we just installed Confluence Server Edition and want to shape it fitting our workflow. Sadly it doesn’t seem as easy as i expected.
Currently i need to create a ‘intermediate’ blueprint. Nothing special. All we want is a simple blueprint with its own template and name. Also the current date should be inserted into the title (just like the meeting notes-blueprint). But i didn’t even get to this point…
I followed the beginner tutorial and created a basic blueprint without any context provider nor java code. Worked as expected. After that i went on to the intermediate tutorial and tried to create a context provider.
I can’t follow the tutorial anymore since it seems like it uses some old
confluence-create-content-plugin. Also the created plugin boilerplate already includes some java-code splitted into
api. I tried to work around this issue and follow the guide, but wasn’t able to get it working.
To get a better idea of a working code example i found (or so i though…?) the source of the meeting notes-blueprint on bitbucket. https://bitbucket.org/atlassian/confluence-business-blueprints/src/84b86c46d457?at=master But a cloned repo does also not run via
Next i tried to use the atlas-sdk scripts to create a clean plugin and blueprint boilerplate. So i used
atlas-create-confluence-plugin to create my plugin (which works), followed by
atlas-create-confluence-plugin-module and selected the option
blueprint. Also added a ContextProvider via the interactive script. And guess what? It doesn’t work. Seems like the Script creates also a ‘old’ version of ContextProvider-Blueprint since
atlas-run fails with
package com.atlassian.confluence.plugins.createcontent.api.contextproviders does not exist.
All i was able to find about this issue are old threads without a working solution, people telling each other how bad the confluence-guides are and some info about using Spring-Scanner instead of the broken
create-content-plugin. (I would provide links to my found threads, but i am not allowed to post more links.)
I was redirected to the README-file of the used Spring-Scanner in Confluence but can’t wrap my head around how to use it in my ‘simple’ blueprint.
I really didn’t though that this will need so much work. All i want is the current Date in the Page Title to make the confluence experience for my coworkers as pleasant as possible…