Sharing content between two Confluence OnDemand accounts

Atlassian Manager December 12, 2013

We're collaborating with an agency.

They have a Confluence onDemand instance. We have one as well.

If they create pages in their instance that has to do with our project, is there a way we can see them in our Confluence? Or vice versa?

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2013

You could easily generate a page on your site that is a table of links to pages on the other site. While you could also copy the pages using similar techniques, I would think linking is better. You will need some criteria for determining "has to do with our project" - probably using a one or or more of space location, Confluence search, labels, or a regular expression on titles. All are supported by Confluence Command Line Interface using either getPageList or getContentList. You would set the action to run on a regular interval (hourly ?) using your favorite job scheduler (or even better, Bamboo). Run the action to create a csv file from one site and then use addAttachment to the other site. Use the CSV macro to display. Example output describes the techniques and shows live examples.

Atlassian Manager December 16, 2013

Thanks Bob. I presume that each user in our onDemand instance would need to be a user in their onDemand instance as well? I.e. it's not possible to share pages so we don't have to create user's in accounts?

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 16, 2013

Yes, for linking, they would need accounts on the other site. If this is not possible, then, you have to go with the copy page option. In that case, use the getContentList option as it can search by change time in addition to the other criteria, then use the targetServer parameter on the copyPage action.

There is a third option, Include-remote Macro. It may work for relatively simple content, but it has some limitations for general content.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events