We have a build jobs running for our project which create certain artifacts. These artifacts constitute the various deliverable of a release. We wanted to know if there is a way these artifacts can be uploaded to the linked confluence space for our project.
The idea is to have a release note page which has all the uploaded the artifacts from bamboo and the JIRA tickets from the current release.
Please do let me know if its possible internally or if we have a plugin that could do this for us.
Thanks for addressing this. We do not have a deployment environment or a deployment project.
What we have is a build project with stages and our scripts added to these stages. From what I understood we can still have a script as a part of the stage which accesses the Confluence REST API and uploads the artifacts generated by the build to a confluence page.
Please correct me if I am wrong. Also please do suggest.
I would suggest handling this in a Deployment Project attached to your Build Plan. This way only successful builds will deploy to Confluence.
Regardless, the approach is the same in a deployment project or build plan -- They both use Tasks.
The Script Task would allow you to select a script that has the appropriate calls. You can call the createContent endpoint with the XML for the page, and then call the createAttachment endpoint with all the files you're adding.
On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...
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