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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

insert bitbucket content directly into confluence document

I can't seem to find a macro or a way to point to and include the content of a specific file from a bitbucket repo/branch.   Whenever the branch is updated, the content in the confluence documnent is updated automatically.


Essentialy this would be the same as the include excerpt macro, but for git.


Hope this mumbling makes sense.

3 answers

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 04, 2020

Hi @Rocke Robertson,

Welcome to Atlassian Community.

At the moment the integration between Bitbucket and Confluence is sort of non existing. There are a couple of apps that allows you to display content in Confluence that is stored in a Bitbucket repository. Maybe the iFrame macro can be used and just link it to the file in Bitbucket. 

dam.  ok will begin some kind of a lame  hack.

And stay safe down there!



Like Mikael Sandberg likes this

Thanks @Rocke Robertson . 

Hi @boris

You may find Include Bitbucket for Confluence useful for your use case where you want to embed a Bitbucket file into Confluence and it is kept in sync to ensure you always have the latest version. 

You can simply copy the URL of the Bitbucket file and paste it into the Confluence page.

In the following example we use this Bitbucket URL of a .js file:

Then paste the URL in the Confluence page as shown in the video and the macro will automatically be applied to embed the file.

Include Bitbucket - paste file url.gif

You can include private and public files and we have a Data Center and Cloud edition. 

I hope this is helpful.

Best regards,
Sue from Mibex Software

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events