Publish Confluence Server events to Mattermost. Requires the Mattermost Plugin to be installed and configured on your Mattermost instance.
- Refer Instructions here to Install the Atlassian SDK on a (Windows) or (Linux or Mac) system.
- Refer Instructions here to setup Confluence server locally OR alternatively, you may use the Docker image.
docker run -v /data/your-confluence-home:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server
Here are the SDK commands you'll use immediately:
atlas-version
-- Displays version and runtime information for the Atlassian Plugin SDK. Useful to check if the SDK is installed.atlas-clean
-- Removes files generated during the build-time in a project's directory (runs mvn clean).atlas-mvn package
-- Packages the plugin artifacts.atlas-mvn checkstyle:check
-- Runs checkstyle against all packages.atlas-help
-- Prints description for all commands in the SDK.
Note: Full documentation is always available in the Docs.
-
Download the Mattermost Confluence Plugin OBR file from the download page.
-
Open the Confluence administration menu and select Manage apps (must have Admin rights).
-
Log in with your Confluence Admin credentials.
-
Select Upload app.
-
Browse your computer for the Mattermost Confluence Plugin OBR file you downloaded in Step 1 and click Upload.
-
The plugin will be uploaded to the Confluence Server and will be automatically installed. Check the Manage apps screen to ensure that the plugin is available.
-
Make sure you have installed the plugin in your Confluence Instance.
-
Click on Configure from the Manage apps page.
-
Set the webhook URL:
https://SITEURL/plugins/com.mattermost.confluence/api/v1/server/webhook?secret=WEBHOOKSECRET
.- Replace
SITEURL
with the site URL of your Mattermost instance, andWEBHOOKSECRET
with the secret generated in Mattermost via System Console > Plugins > Confluence. - Please note that the URL should start with
https://
orhttp://
or it would fail to be saved.
- Replace