youngmon/atlassian-qna huggingface dataset:
Upon clicking on a heading in table of content, how can you go to that particular header in the page
Asked by christa:

*This question is in reference to Atlassian Documentation: [Table of Contents Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=701435097)*

Upon clicking on a heading in table of content, how can you go to that particular header in the page


Answers:
author: Milo Test
body: It should. Though, if your page completely fits on the screen, it may look like nothing happens because there is no need to scroll.


Tags: table-of-contents
How do I limit users to only see a specific page and children pages in confluence?
Asked by Rachel Eng:

I want a user group to only be able to see a page and its children pages in confluence. How do I set that up?


Answers:
author: Nelson Carranza
body: Hi Rachel,

When you restrict the parent page, the children will inherit the restriction.

Doc <https://confluence.atlassian.com/confcloud/page-restrictions-724764891.html>

Regards

Nelson


Tags: cloud

confluence-cloud
global search reference old url for pages moved
Asked by Rich Thorn:

I recently moved a bunch of pages from one space to a different space. When user do a global search for one of those moved pages, the search results are returning the url links to the old space, which in return give a 404 error since the pages do not exist there.

I verified the pages are in the new space and the URL's in the search results are just link to the wrong space.

Any help would be appreciated.


Answers:
author: Kay Brown
body: HI Rich,

Did you try reindexing?

Regards,

Kay


author: Rich Thorn
body: jeez, yup that did it.

Thanks !!

comments: author: Kay Brown
body: You are welcome!

Kay


Tags: confluence-administration
Multimedia Macro provided by which system plugin in Confluence
Asked by Sumit Kumar:

Multimedia Macro provided by which system plugin in Confluence ?

In Confluence 5.6.6 multimedia macro only plays a video till approx 3 minutes even when the file attached is fine.

{I have copied file from attachment directory in File Server and it a video file for approx 50 minutes}.

Thanks,

Sumit


Answers:
author: Sumit Kumar
body: I can play video fine when I bypass the apache by creating a ssh tunnel and access page with the video.

Where should I tweak the setting in apache to make it work with apache in place without creating a tunnel.

Thanks,

Sumit


Tags: confluence-administration
Why cannot I delete a personal space ?
Asked by aurelien:

Hey Confluence,

Im trying to delete a personnal space, but i cannot find the button Delete Space ...Screenshot 2016-02-04 12.20.55.png  
[](https://community.atlassian.com/t5/Confluence-questions/Why-cannot-I-delete-a-personal-space/qaq-p/127135?attachment-id=8046){#link_11875dbb2667b7}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/21178/1/Screenshot%202016-02-04%2012.20.55.png){#display_11875dbb2667b7_0}


Answers:
author: aurelien
body: Thank you in advance for your help
PDF Export Confluence Cloud
Asked by Karl Schweighofer:

GENERELL

* how to add custom modifyable content to the pdf export. (like version, author, creation date)

TITLEPAGE

* Background image of div not working propperly

PAGE HEADER

* how to include projecttitle and pagetitle in the pageheader

PAGE FOOTER

* how to add the file name of the generated pdf
* how to get page count like "page x of y"

CONTENT

* how to set custom font with css in pdf export. (we need verdana) in cloud


Answers:
author: Tim Eddelb?ttel
body: Maybe this will help for *custom modifyable content,* you must change some things due to new Confluence version: <https://www.scandio.de/2011/03/confluence-pdf-export-titelseite-mit-dokument-daten/>

This document is a good start: <http://www.antennahouse.com/CSSInfo/CSS-Page-Tutorial-en.pdf>

Also this page: <https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/>

The Atlassian documentation (<https://confluence.atlassian.com/doc/customise-exports-to-pdf-190480945.html>) is not really helpful becauses it hides all comments from the last years.  
With the mobile interface you can read those comments :smile:  
<https://confluence.atlassian.com/plugins/servlet/mobile#content/view/190480945>


author: Steffen Heller
body: * how to add custom modifyable content to the pdf export. (like version, author, creation date)
* how to include projecttitle and pagetitle in the pageheader
* how to add the file name of the generated pdf

=\> If these variables need to be dynamic you must create your own user macro for this.

* how to get page count like "page x of y"

=\> content: counter(page) " of " counter(pages);

* how to set custom font with css in pdf export. (we need verdana) in cloud

=\> upload font file to a page, define the font in CSS with @font-face and then reference it like any other font

* Background image of div not working propperly

=\> can you explain in more detail: what did you do? what did you expect? what did really happen?

comments: author: Karl Schweighofer
body: What do you mean with dynamic in this context?

To my knowledge user macros are not supported in the CLOUD Version.


author: Steffen Heller
body: I mean that you type the name of a variable and the system automatically adds the current value.

Edit: Yes, if it is not supported in the cloud version then this won't work for you.


author: GG
body: You can easily add all of these to your header or footer using Content Exporter for Confluence addon. Here's a sample screenshot:

![Cex footer.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/10947i9E4795191DCA1E83/image-dimensions/431x212?v=v2 "Cex footer.PNG")

You can try out how it works online by exporting the documentation itself from its support site:

<https://metainf.atlassian.net/wiki/spaces/CEX/overview>


Tags: cloud

confluence-cloud
i'd like to install confluence source editor plugin, after click "Get it Now" the confluence-source-editor-1.1.3.jar was downloaded, my question is how to install it?
Asked by angie:

i'd like to install confluence source editor plugin, after click "Get it Now" the confluence-source-editor-1.1.3.jar was downloaded, my question is how to install it?


Answers:
author: Nic Brough -Adaptavist-
body: The best way to do it is forget the download and use the "admin -\> add-ons -\> find new addons" to find it and add it. This is the approved route (and it protects you from installing invalid versions of add-ons)

If you want to do it by upload, then there's an "upload add-on" link in the manage add-ons section

Of course, these only apply to Server versions of Confluence. If you are on the Cloud version, you can only install Connect add-ons.
How long will it take for calendar changes to appear in Outlook?
Asked by Todd_Underwood:

We are attempting to create a team calendar in Confluence to keep track of time off for our team.

Our organization used Outlook for scheduling meetings, events, etc. We have team members who require that the time off entries appear in outlook alongside our meetings and company events.

I've created the team calendar and I can edit it in the confluence web UI. I've subscribed to the calendar in Outlook as well.

The issue we are running into is that there seems to be a massive delay between the time a new event is added to the confluence calendar and when it appears in our Outlook calendars. Sometimes I need to completely delete and re subscribe to the calendar to see changes.

How long should this take normally and is there anything I can do on the confluence side to shorten the amount of time between creating a calendar event and it being added to the subscribed calendar in Outlook?


Answers:
author: TomC
body: @Todd Underwood I have not seen this and may not be able to help you directly but something that may help those who are qualified to answer are the answers to these questions:

* Are you using Confluence Server or Confluence Cloud, and do you have any feel for what the 'massive delay' might be?
* Is the delay in the neighborhood of minutes, an hour or even more?
I need access to https://devcloud.swcoe.ge.com/devspace/pages/releaseview.action?spaceKey=DEVCLOUD&title=Get+Started+in+GitHub#GetStartedinGitHub-HowdoIcreateaGitHubuseraccount?
Asked by ganeshme:


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to contact the owners of that website. We can't help you with that.


Tags: confluence-administration
Update robots.txt on hosted Confluence site
Asked by Eric Farr:

Hi,

How do I modify my robots.txt file on my hosted Confluence site. I want to leave the site public, but remove it from search engines.

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: I'm not sure Atlassian will do it, but it can't harm to ask (let us know if they do do it!). Raise a support request at <https://support.atlassian.com>


author: rrudnicki
body: Hi Eric,

robots.txt shouldn't block the access to your site, that only won't index your site on search engines, but you should be fine to access that if you know the URL to your site.

I believe this documentation can be useful:

<https://www.koozai.com/blog/search-marketing/a-brief-guide-to-robots-txt-and-five-mistakes-to-avoid/>

<https://developers.google.com/webmasters/control-crawl-index/docs/faq?hl=en>

<https://confluence.atlassian.com/jira/using-robots-txt-to-hide-from-search-engines-185729512.html>

Regards,   
Renato Rudnicki

comments: author: Eric Farr
body: Thanks, Renato. I'm not looking to block access to the site. I just don't want my Confluence pages to show up in Google searches.


Tags: cloud

confluence-cloud

robots.txt
Change burndown macro from "total days spent" to "issue count"
Asked by Jeremiah Landi:

Hello,

Right now I am using the 'Sprint Burndown Gadget' Macro. It is showing "total days spent" and I would like to change it to "issue count". I am wondering how to go about this.

In the configurations for the macro I don't see the ability to change what it is looking at. I am assuming it might be a setting on the actual project, or a default. Any help would be appreciate.

What I see now:

image2016-2-3 8:17:18.png

What I want to see:

image2016-2-3 8:16:34.png  
[](https://community.atlassian.com/t5/Confluence-questions/Change-burndown-macro-from-quot-total-days-spent-quot-to-quot/qaq-p/67055?attachment-id=6848){#link_11875e96e06da1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11398/1/image2016-2-3%208%3A16%3A34.png){#display_11875e96e06da1_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Change-burndown-macro-from-quot-total-days-spent-quot-to-quot/qaq-p/67055?attachment-id=6849){#link_11875e96e06da1_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11398/2/image2016-2-3%208%3A17%3A18.png){#display_11875e96e06da1_2}


Answers:
author: Jeremiah Landi
body: My assumption was right. It is a setting under the configuration of the board. Hope this helps someone in the future!

I changed the field from "Total Days Spent" to "Issue Count".

image2016-2-3 8:21:44.png  
[](https://community.atlassian.com/t5/Confluence-questions/Change-burndown-macro-from-quot-total-days-spent-quot-to-quot/qaq-p/67055?attachment-id=11225){#link_11875e9a0f01a2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11399/1/image2016-2-3%208%3A21%3A44.png){#display_11875e9a0f01a2_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Change-burndown-macro-from-quot-total-days-spent-quot-to-quot/qaq-p/67055?attachment-id=11226){#link_11875e9a0f01a2_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11399/2/image2016-2-3%208%3A21%3A34.png){#display_11875e9a0f01a2_2}


Tags: cloud

confluence-cloud

gadget

jira-software

macro
Can the global create button be customized to add a specific label for creating a child of specific pages
Asked by Thomas Waterer:

Hi,

We have a page called Weekly Status that contains children which each contain the notes from a weekly status meeting. For each of these weekly status meetings, we want to add the meeting-notes label. This means that we are able to display the meeting notes via the Content Report Table which includes a button to create a new meeting notes page.

However, the global Create button can be used to create a new child, but this is missing a label, and so it won't appear in the table.

The question is, can the global Create button be customized so that if clicked from a particular page, a specific label can be added to it?

Cheers,

Tom


Answers:
author: Milo Test
body: You can probably change the interface with custom HTML, but much easier is to add the Create Page Macro to the status meeting parent page.
Any way to bulk remove drafts in confluence?
Asked by Anne EQS:

I have approx 100 drafts and would like to bulk remove them.

And I'd like to provide this option to our users.


Answers:
author: Siddheshwar mhetre
body: Hi Anne,

You can easily deduct the SQL you need from the SQL on that page.

You'll need to do the following :

1. `select` `* ``into` `temp_conf ``from` `CONTENT ``where` `CONTENTTYPE=``'DRAFT' (maybe change this to how it works in you DB)`
2. `DELETE` `FROM` `BODYCONTENT ``where` `CONTENTID ``IN` `(``select` `CONTENTID ``from` `temp_conf);`
3. `DELETE` `from` `ATTACHMENTS ``where` `PAGEID ``in` `(``select` `CONTENTID ``from` `temp_conf);`
4. `DELETE` `from` `CONTENT ``where` `CONTENTID ``in` `(``select` `CONTENTID ``from` `temp_conf);`

Keep in mind that doing stuff in your database is not something you should consider doing lightly and is completely at your own risk.

Please take a backup before doing any changes.

Best regards,

Peter

comments: author: Anne EQS
body: Thanks - unfortunately this is nothing I can provide to our users.


author: Casey Meijer
body: This is so essential when your application creates a draft every time you open a page for editing. In general, I've noticed that Atlassian software is \*severely\* lacking when it comes to bulk editing functionality \*cough jira cough\*.


author: Daniel Fajardo
body: USE \<\<ConfluenceDatabase\>\>

BEGIN TRANSACTION  
SELECT \* INTO #temp_conf FROM CONTENT WHERE (SPACEID = \<\<SPACEID\>\>) AND (CONTENTTYPE = 'PAGE') AND (CONTENT_STATUS = 'draft')

DELETE FROM CONTENT_LABEL WHERE CONTENTID IN (SELECT CONTENTID FROM #temp_conf);

<br />

DELETE FROM CONFANCESTORS WHERE DESCENDENTID IN (SELECT CONTENTID FROM #temp_conf);

<br />

DELETE FROM USERCONTENT_RELATION WHERE TARGETCONTENTID in (SELECT CONTENTID FROM #temp_conf);

<br />

DELETE FROM LINKS WHERE CONTENTID in (SELECT CONTENTID FROM #temp_conf);

<br />

DELETE FROM CONTENTPROPERTIES WHERE CONTENTID in (SELECT CONTENTID FROM #temp_conf)

<br />

DELETE FROM BODYCONTENT WHERE CONTENTID IN (SELECT CONTENTID FROM #temp_conf);

<br />

DELETE FROM CONTENT WHERE CONTENTID in (SELECT CONTENTID FROM #temp_conf);

<br />

DROP TABLE #temp_conf  
--COMMIT TRANSACTION  
ROLLBACK TRANSACTION

This worked for us in 6.14.2

comments: author: Anne EQS
body: Thanks, but still: This is a solution with database access, we need an option for our endusers.


author: Daniel Fajardo
body: You could create an interface around this that does the database call on their behave. Then they access the interface to do this. I don't know your environment, but you could create a secure REST service that does the SQL and then put a link to that REST service. That REST service would use what ever authentication model you want to use (Active Directory, Cerfificates, ....) and that would allow you to protect against unauthorized use of this.


Tags: draft

remove
Confluence user cannot move page in hierarchy
Asked by Bastian Kippelt:

If a confluence user want to move a page in hierarchy, he always gets this forbidden icon. The page has no restrictions and the space permissions are set correctly.

dragdrop2.png  
[](https://community.atlassian.com/t5/Confluence-questions/Confluence-user-cannot-move-page-in-hierarchy/qaq-p/118701?attachment-id=8034){#link_11875ed25a6e3c}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/19769/1/dragdrop2.png){#display_11875ed25a6e3c_0}


Answers:
author: roman
body: Hi Bastian,

Somehow, the content permission sets for those master pages were empty (null).

I have tested the solution to find all such pages and delete them with these SQL commands. I had H2 database, so you might want to adapt them for your DB of choice.

--select the pages within a space with empty permission set   
select c.contentid, c.title from content c, spaces s where c.spaceid = s.spaceid and s.spacekey = 'DECSM' and c.contentid in (select cps.content_id from CONTENT_PERM_SET cps left join CONTENT_PERM cp on [cps.id](http://cps.id) = cp.cps_id where cps.cont_perm_type = 'Edit' and [cp.id](http://cp.id) is null group by [cps.id](http://cps.id), cps.content_id)

--select the empty edit permission sets across all spaces   
select cps.content_id from CONTENT_PERM_SET cps left join CONTENT_PERM cp on [cps.id](http://cps.id) = cp.cps_id where cps.cont_perm_type = 'Edit' and [cp.id](http://cp.id) is null group by [cps.id](http://cps.id), cps.content_id

--delete the content permission sets for affected pages in all spaces   
delete from content_perm_set where id in (select [cps.id](http://cps.id) from CONTENT_PERM_SET cps left join CONTENT_PERM cp on [cps.id](http://cps.id) = cp.cps_id where cps.cont_perm_type = 'Edit' and [cp.id](http://cp.id) is null group by [cps.id](http://cps.id), cps.content_id)

After you execute the delete command, you have to flush Confluence cache (Admin -\> Cache Management -\> Flush All) in order to see changes. After that those pages should be moveable and will have a move button in the tools menu.

Cheers,   
Roman.


Tags: confluence-administration

k15t
What happens to drafts when user is deactivated?
Asked by Anne EQS:

Are the drafts deleted or kept? If the later, how can they be deleted?

Are the drafts deleted when the page the draft was saved from is deleted?


Answers:
author: Bhushan Nagaraj
body: Hi Anne,

Deactivating a user does not delete content that originally belonged to the user. Drafts will still be available when the user is activated again. Since it is only visible to the user, there is no option to delete it from the UI to system administrators or other users.

Drafts will be deleted when the original page is deleted.

Hope that helps.


Tags: confluence-administration

draft

user-management
generate confluence pages automatically
Asked by Bill Wang:

I am working to get the AWS instances resources details and copy\&paste to a confluence page.

Are there any easy way to auto-generate the Wiki documentation from the AWS API?


Answers:
author: Guilherme V.
body: Hi Bill,

You can create pages with REST API:

* [Confluence REST API](https://developer.atlassian.com/confdev/confluence-rest-api)

You can create a bash(in linux) to auto generate:

```
for ((i=1;i&lt;=19000;i++)) ; do  curl -v -u admin:admin -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -d'{"type":"page","ancestors":[{"type":"page","id":&lt;pageId&gt;}],"title":'$i',"space":{"key":"&lt;space_key&gt;"},"body":{"storage":{"value":"&lt;p&gt;This is a new page&lt;/p&gt;","representation":"storage"}}}' "&lt;confluence-url&gt;/confluence/rest/api/content/?os_authType=basic";  done
```

![information](/html/@4DF2F60CA30FBCA0CD7B960B5D0F871B/images/emoticons/information.png "information") The above script will create 19.000 pages(child pages).
Edit an .odt document in Confluence
Asked by DM:

Hello everyone,

is it possible do edit an **odt** document directly in confluence? With mozilla firefox and the WebDAV plugin I'm able to edit .doc documents, but not odt's.

Any ideas how to do that?


Answers:
author: DM
body: Hello again,

an issue was raised to solve the incompatibilty of **.odt** documents: <https://jira.atlassian.com/browse/CONF-40169>

Leave a vote so that it will be resolved faster.

<br />

Greetings, Daniel  


author: Steven F Behnke
body: I've demo'd GoEdit and it seems phenomenal -- <https://marketplace.atlassian.com/plugins/de.kontextwork.goedit/server/overview>

You may want to check it out. The handler seems to be compatible with all filetypes.


author: viktorokolot
body: Hi @DM

To edit Office files, you will need to have [Microsoft Office](http://www.microsoft.com/office) or [OpenOffice](http://www.openoffice.org/) installed. (See the configuration matrix below.)

* If you are using Firefox, you can choose which of the above editors you want to use. The Firefox add-on allows you to configure this option for each file type. See [Installing the Firefox Add-On for the Office Connector](https://confluence.atlassian.com/conf54/confluence-user-s-guide/creating-content/working-with-the-office-connector/installing-the-firefox-add-on-for-the-office-connector).
* If you are using Internet Explorer, you will need Microsoft Office. You cannot edit Office files in OpenOffice when using Internet Explorer.

For **odt** document use [OpenOffice](http://www.openoffice.org/) only

comments: author: DM
body: Hi @Viktor Okolot \[Polontech\],

first off, thanks for the answer.

I already have the add-on and it works really good; but only with doc's. When I try to edit an odt document it says I need to download it. Any other suggestions?


author: viktorokolot
body: As another alternative, if you want to have a mix, AppFusions' Confluence [integrations with Alfresco, Box, Dropbox](http://www.appfusions.com/) allow you to natively open and edit in OpenOffice natively, from inside Confluence. You can embed the docs into a Confluence page, and there is also cross-system search as well, Pre-requisite is that you need to store your OpenOffice files in one of those repositories.
Display google analytics information in Confluence
Asked by justingubbels:

I do not want to install the google analytics plugin from the marketplace. Is there a way to display data from google analytics in a confluence page? I want to create a page for supported browsers and display Browser and OS usage.


Answers:
author: Chris Frickland
body: I was wondering if anyone has solved this since the original post?


author: Brandon Viertel
body: Interested as well and following.


author: barnesy
body: This is currently unavailable in Cloud, however can be implemented using 'Custom HTML' in the header on Server.

We recommend using the async method outlined here

<https://developers.google.com/analytics/devguides/collection/analyticsjs/>

comments: author: justingubbels
body: I'm not sure this does what I am looking for. The tracking snipit appears to track the actual confluence page, which is not what I want. I have a confluence page for supported browsers for one of our web applications. I would like to display browser stats from google analytics for that web page, on the confluence page.


author: Amy Hughes
body: Hi, I realise this page is from a while ago but I'm looking to do the same thing and we use Cloud. Did you find a solution? All the other pages are referring to using Google analytics to track Confluence usage when in fact I want to display google analytics information about browser and OS usage on a confluence page. Thanks!


Tags: confluence-administration
Is there an upper limit on the number of pages displayed by the Content by Label macro?
Asked by Juliana MacAller:

The default value for the Maximum option is 15. Is there an upper limit on how many pages the macro can return?


Answers:
author: Milo Test
body: Not that I've ever hit, but in my instance the most pages returned is in the couple hundred range.


author: Mallmann
body: Hi Juliana,

The max limit for any Confluence 5+ version is 500. This was now specified here: <https://confluence.atlassian.com/doc/content-by-label-macro-145566.html>

I hope it helps. :smile:

Eduardo

comments: author: Blair Fyffe
body: Hi Edurado,

500 in my case is not enough, if there a way to either extend this, or provide specific search terms / filters e.g. "Beginning with C" ?

Kindest,


author: Juliana MacAller
body: Thanks. It should be about the same for my instance.


Tags: cloud

confluence-cloud