Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Upload artifacts from Bamboo to Confluence

Hello All,

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.



1 answer

0 votes
Steven Behnke Community Leader Apr 11, 2018

Use a task in a deployment environment to create the page and upload the files using the REST api. Should be straight forward.

Hello Steven,

 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.

Steven Behnke Community Leader Apr 12, 2018

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.

Hello Steven,

Thanks for your inputs.

Is it necessary to have a Deployment project additionally. Can this script be added to an existing build plan?

I already have a  running build plan which validates the bitbucket code. 


Regardless, the approach is the same in a deployment project or build plan -- They both use Tasks.

Yes, as stated the script just needs to be ran. Whether or not that is a buildplan or a deploymentplan is up to you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

953 views 4 7
Read article

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