youngmon/atlassian-qna huggingface dataset:
How to export page from Confluence Cloud to HTML?
Asked by Troy Carlson:

I followed the steps in this guide but when I navigate to "Content tools" there is no option to export.

<https://confluence.atlassian.com/confkb/how-do-i-know-what-version-of-confluence-is-running-179441565.html>

Please advise.

**EDIT: I need to export to HTML.**


Answers:
author: Suren Raj
body: Hi, Troy.

To export, go to the page and choose either ![](https://confluence.atlassian.com/confcloud/files/724764824/946610584/1/1520389532834/more.png)\> **Export to Word** or ![](https://confluence.atlassian.com/confcloud/files/724764824/946610584/1/1520389532834/more.png)\> **Export to PDF** .

You may refer to the below documentation for more detail:

* <https://confluence.atlassian.com/confcloud/export-content-to-word-pdf-html-and-xml-724764824.html>

comments: author: Troy Carlson
body: Hi Suren, thanks for replying. I forgot to specify in my question that I want to export to HTML, not PDF or Word.


author: Suren Raj
body: Hi, Troy.

1. Click on the space setting in the sidebar and, then open the **Content tools** tab
2. Click **Export**
3. Select either **HTML** , then hit **Next**
4. Choose custom export  
   * **Custom Export** -- if you want to export selected pages only, or if you want to exclude comments from the export.
5. Click **Export**

**Let me know how it goes.**

Kind Regard

Suren Raj


author: Troy Carlson
body: When I open the **Content tools** tab there is no option for **Export**.


Tags: cloud

confluence-cloud
how do I link my knowledge base in confluence to the a jira service desk project
Asked by Tammy Ince:

I want to test the search functionality in a test project using a recently completed space in confluence. My only option are Jira, not Jira Service Desk.


Answers:
author: Meg Holbrook
body: Hi Tammy!

It's going to sound like a really silly question, but you have an active help desk in the same cloud account, correct?

![2018-09-06_16-40-22.png](https://community.atlassian.com/t5/image/serverpage/image-id/31615iE2CB780CD28FE3B7/image-size/large?v=v2&px=999 "2018-09-06_16-40-22.png")

Select System (JIRA) and then enter the name of your help desk project.

comments: author: Tammy Ince
body: Yes, I followed the steps you show but when I go to the portal for the service desk project I am not seeing the content that I expect to see. Should I log completely out of JIRA? Thanks for your help.


author: Meg Holbrook
body: Hi Tammy,

Can you let me know what you're expecting to see and we can further discuss?


Tags: cloud

confluence-cloud
google drive connector macro is not working
Asked by Dirck Copeland:

I'm trying to include a draw.io diagram into a confluence page and after installing the

Google Drive Connector macro, I add the macro to a page and it appears to work fine until I select the file (yes the file on google drive shows up just fine) and then after selecting the file, it comes back with "Error loading file File not found". Has anyone seen this before? I've tried multiple google accounts with the same results.


Answers:
author: Fabian Lim
body: Hi [@Dirck Copeland](/t5/user/viewprofilepage/user-id/1930626)

As a paying user you can submit a ticket at <https://drawio.atlassian.net/servicedesk/customer/portal/14> . You'll get a faster response than on this community.

comments: author: David Benson _draw_io_
body: That is incorrect. We are not the vendor of that app.


author: Fabian Lim
body: sorry [@David Benson _draw_io_](/t5/user/viewprofilepage/user-id/4259284)

Looks like I pasted the wrong comments.


Tags: cloud

confluence-cloud
Get a list of pages for all spaces?
Asked by Darryl St_ Pierre:

I'm working on a project to consolidate some of our spaces, and need to address duplicate page names such as "How-to articles" (each former Space will have it's own page, but duplicate pages can't exist).

I'd like to be able to pull a list of all spaces and pages under each, so that we can then rename the duplicates so they don't conflict when consolidating.

Is there a way to accomplish this?


Answers:
author: Jonathan Smith
body: Would the **children display macro** be sufficient?

* Target page would be your space home page.
* Change descendants to a large number.

![a.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/31599i81455B60F8475BD5/image-size/large?v=v2&px=999 "a.jpg")

comments: author: Darryl St_ Pierre
body: Thanks for the response. This would be good except that we have about 400 spaces to review.


author: Jonathan Smith
body: SQL my friend:

Make a join between dbo.SPACES and dbo.CONTENT:

select DISTINCT b.SPACENAME, a.TITLE  
from dbo.CONTENT a left join dbo.SPACES b on a.SPACEID=b.SPACEID  
where a.CONTENTTYPE='PAGE'  
and a.TITLE is not NULL  
and b.SPACENAME is not NULL  
order by b.SPACENAME

Export to Excel when finished. Best of luck!


author: Darryl St_ Pierre
body: Thanks Jonathan! I'll run this by my SQL admin. Seems pretty straightforward.


Tags: confluence-server

server
Can successfully submit the form I created but then I'm sent a json export page.
Asked by Daniel Baron:

I created a form in a html macro that's designed to update other Confluence pages. When I click the form button the other Confluence pages are successfully updated but the browser then navigates to this json export page. From looking at the dev tools it seems like something is timing out setTimeout (see attached screenshot below). Is there a way I can figure out what's wrong with my code so I can prevent this from happening? Thanks for any help.

![Screen Shot 2018-09-06 at 11.22.24 AM.png](/t5/image/serverpage/image-id/31593i04AD1E045711B1BB/image-size/large?v=v2&px=999 "Screen Shot 2018-09-06 at 11.22.24 AM.png")


Answers:
author: Zak Laughton
body: Hi Daniel,

JSON responses like that are typical of Confluence REST API responses. Since you are getting a JSON response after pushing the button, it seems as though the button is taking the form data and submitting it to the browser as an API request.

This type of page redirection can be expected from any \<input\> or \<button\> element with type="submit" (which may be the default type, depending on the browser). Exactly how the data is submitted in HTML forms depends on how the form is set up (see [MDN - Sending Form Data](https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_and_retrieving_form_data)), but basically it can boil down to undesired redirection when all you want your button to do is run a script.

If you want to execute the page changes from the script without redirecting to another page, you'll likely need to stop the button from running it's default submit behavior. In my personal experience, I've had success doing this by using [Event.preventDefault()](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) at the beginning of whatever script I want my button to trigger.

If that doesn't work, there are some great alternatives and discussion about this type of issue on this Stack Overflow post: [Stop form refreshing page on submit](https://stackoverflow.com/questions/19454310/stop-form-refreshing-page-on-submit).  

I hope this helps!  
-Zak


Tags: cloud

confluence-cloud

html

javascript
postgres statement for null successdate
Asked by Dana Grahf:

I am trying to get the number of users who have never logged into Confluence Server 6.6 - there are only 2 when I went through the tables. The SucessDate is null which is expected but I can't figure out the postgres statement to query those 2 users. I have tried SUCCESSDATE is NULL but to no avail


Answers:
author: Igor M.
body: Hello,

You can try where li.SUCCESSDATE IS NULL depending on your query and which tables your running against. But you can also use this query:

    select user_name from cwd_user where user_name not in(SELECT cwd_user.user_nameFROM cwd_user, cwd_user_attributeWHERE cwd_user_attribute.user_id = cwd_user.idAND cwd_user_attribute.attribute_name = 'lastAuthenticated');

Taken from KB: [How to check for users who never logged into Confluence](https://confluence.atlassian.com/confkb/how-to-check-for-users-who-never-logged-into-confluence-777015610.html)


Tags: confluence-server

server
Confluence Query for Attachments - Size and Date
Asked by Mike:

I am working to improve searching within Confluence and curious if its possible to run a query that will give a list of attachments with the size and date of upload.

Running Confluence 6.6.6 with Microsoft SQL

Ive been able to find total size of attachments, but nothing including date of upload

Thank for the help


Answers:
author: Tim Oldendorf
body: I just went through a did something similar. I was able to use the queries listed on this page and tweak it a little to get what I was looking for.

<https://confluence.atlassian.com/confkb/how-do-i-list-all-attachments-in-confluence-with-their-location-and-file-sizes-346325893.html>

In the content table there is a CREATIONDATE field that you can add to the query that should get you the date of upload you are looking for. Just make sure you change the \<confluence base url\> to your Confluence base URL

comments: author: Mike
body: Thanks Tim - I was looking at that page, but was getting an error when running the query

Msg 207, Level 16, State 1, Line 6  
Invalid column name

(which is pointing at my base URL that I did confirm in Site Configuration)

Tried in all caps as well


author: Tim Oldendorf
body: Not sure. I just took that line out since I didn't need it. Depending on your SQL version, the concat function may not be built in. The query will still return the Page title that the attachment is on if you needed to go to that page.

You could also export the results and do the concatenating within excel if you want to have the hyperlink directly to the page.

This is what I ran and it ran successfully.

select

c.TITLE as "Attachment Name",  
cp.LONGVAL as "File Size",  
c2.TITLE as "Page Title",  
s.SPACENAME as "Space Name",  
c.CREATIONDATE as CreationDate  
from CONTENT c  
join CONTENT c2 on c.PAGEID = c2.CONTENTID  
join CONTENTPROPERTIES cp on c.CONTENTID = cp.CONTENTID  
join SPACES s on c2.SPACEID = s.SPACEID  
where c.CONTENTTYPE = 'ATTACHMENT' and cp.PROPERTYNAME = 'FILESIZE'  
order by cp.LONGVAL desc;


author: Mike
body: Thanks Tim!


Tags: attachment

confluence-server

query

server

sql
What is the pricing for 60 users of Confluence cloud?
Asked by Charitha Veeragandham:

I used the online calculator and it says 300 USD/month which is 3600 USD/year. But the annual pricing for 51-100 users is 5000 USD. Which one is correct?


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Charitha Veeragandham](/t5/user/viewprofilepage/user-id/1706124),

That doesn't make sense. Since the documentation states:
> Annual subscriptions may offer a discount that equates to up to 2 months free on an annual basis, depending on the number of users purchased.

Please create a ticket here

[Pricing, billing \& licensing help](https://www.atlassian.com/company/contact/purchasing-licensing)


Tags: cloud

confluence-cloud
Confluence server destroyd and need to reinstall.
Asked by Kenneth Nor:

I have had a server crash and unfortunately the confluence server is not possible to rebuild.

The mysql database is intact so i hope to have most of my data back. I know attachments and gliffy diagrams are lost, but that is fine as long as i get all the other information back.

I tried to install a fresh server with the latest confluence release but it was a version conflict with what was in the database so that "failed".

Is there a way to upgrade the database while installing the latest confluence release?

How can i find what version to download if i need to install the same version to match the database?

I basely need help to restore most of what i have lost.

Running on Linux


Answers:
author: Nic Brough -Adaptavist-
body: If it were nothing but an upgrade, then the newer Confluence version would upgrade the database.

However, you are not doing a simple upgrade here. You have a potentially quite damaged Confluence, but the upgrade process always starts on the assumption that you have a healthy system to upgrade.

Forget an upgrade. Install a Confluence of exactly the same version as the server that crashed and try to restore from that.

For older versions, start at <https://www.atlassian.com/software/confluence/download> and use the links to the older ones.


Tags: confluence-server

server
Confluence Questions Attached Images are Broken
Asked by Tim Patton:

Images attached to the Confluence Questions (plugin) are broken to users with normal permissions. However the images work for admin users. It appears to be a 403 forbidden problem.

Questions Installed version:2.5.5

Broken Image Picture: ![2018-09-06_10-37-05.png](/t5/image/serverpage/image-id/31565i54FAEF7525980BA8/image-size/large?v=v2&px=999 "2018-09-06_10-37-05.png")

Try to render image directly:

![2018-09-06_10-41-24.png](/t5/image/serverpage/image-id/31567i6B4412C4BB30CA22/image-size/large?v=v2&px=999 "2018-09-06_10-41-24.png")


Answers:
author: Diego
body: Hello Tim, thanks for posting your issue here with our Community!  
It seems that you are affected by a known bug of older version of Questions for Confluence.  

[Images broken on Questions for non admin users](https://jira.atlassian.com/browse/CONFSERVER-55662)  

There are other bugs that have a similar behaviour to this one, but 55662 matches the description given.  
The fix versions listed there are Confluence 6.10.2 and Questions 2.6.11.  
Let us know this helps your case!


Tags: confluence-server

server
Allowing attachments for users
Asked by simonmkaeseler:

Hi.

Im administrating a confluence server and we are trying to set up permissions for a group of users in confluence. They want to use attachments (like draw.io, jira mentions etc) but they are always met with access denied, even when their user group has the add/delete permission with in "Space Permission" page.

I even tried to make their group confluence admins to see if this would trigger it, without luck.

Any ideas?

Thanks


Answers:
author: Lava Kumar Dukanam _Appfire_
body: Hi [@simonmkaeseler](/t5/user/viewprofilepage/user-id/1708865)

Confluence suggests to maintain the attachments that needs restrictive access on a separate page and grant users permission to view that page.

You can then link these attachments in other pages where ever you need them.

Hope this answered your question.

Thanks,

Lava


Tags: confluence-server

server
I want to hide the side bar in Confluence Cloud - is this possible?
Asked by Ashlie Leal:

I just want to hide the side bar for anonymous users in confluence cloud - I cannot figure out how to do it. Any ideas?


Answers:
author: Grigory Salnikov
body: Hello, [@Ashlie Leal](/t5/user/viewprofilepage/user-id/1797851) and welcome to the Community!

As it's said here:

<https://jira.atlassian.com/browse/CONFCLOUD-58921>

there may be no such an option.

Hope this help.


Tags: cloud

confluence-cloud
How to hide the help icon/menu in Confluence
Asked by dummy:

How can the help icon/menu in the header be hidden?

I am looking for something, which I can add to my custom HTML code for the header:

```
<script type="text/javascript">
 AJS.toInit(function(){
  if (AJS.params.remoteUser == ''){
   AJS.$('#action-menu-link').hide();
   AJS.$('#sidebar-discover').hide();
   <!--AJS.$('#header').hide();-->
   AJS.$('#space-directory-link').hide();
   AJS.$('#space-menu-link').hide();
   AJS.$('#space-tools-menu-trigger').hide();
   }
 });
</script>
```


Answers:
author: dummy
body: Thx Lava, this was exactly, what I was looking for.

But I have implemented it this way

```
<script type="text/javascript">
 AJS.toInit(function(){
 if (AJS.params.remoteUser == ''){
   AJS.$('#help-menu-link').hide();
   }
 });
</script>
```

And it works. The advantage is, that this then will apply only to anonymous users.


author: Lava Kumar Dukanam _Appfire_
body: Hi [@dummy](/t5/user/viewprofilepage/user-id/549256),

you can do this in the custom HTML section

```
<style type="text/css">
 #help-menu-link {
 display:none !important;
 }
</style>
```

Hope this helps!

Thanks,

Lava


Tags: confluence-server

server
Can someone please let me know what this bug means?
Asked by Martin James:

One of our users has set up their own personal space. When they try to save a document, they get two errors.

**Error 1** : *Error Saving Draft. No draft has been saved.*   
**Error 2** : *Unable to communicate with server. Saving is not possible at the moment.*

If they create a page in a different space and save it, it works.

I've exported the below error message from the application log file:

*2018-09-06 09:17:26,301 WARN \[http-nio-8443-exec-3\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doCommit Commit failed. Rolling back. Error: Hibernate operation: could not execute statement; uncategorized SQLException for SQL \[\]; SQL state \[HY000\]; error code \[1366\]; Incorrect string value: '\\xF0\\x9F\\x98\\x8A\</...' for column 'BODY' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\\xF0\\x9F\\x98\\x8A\</...' for column 'BODY' at row 1*   
*-- referer: [https://confluence.companyd.uk:8443/pages/createpage.action?spaceKey=\~SMITHJ\&fromPageId=41139991](https://confluence.companyd.uk:8443/pages/createpage.action?spaceKey=~SMITHJ&fromPageId=41139991) \| url: /rest/tinymce/1/drafts \| traceId: 34ea111c48efc769 \| userName: SMITHJ*


Answers:
author: Nic Brough -Adaptavist-
body: The log file tells me that you're using MySQL on the back-end, and your users have put emojis (or other standard-but-not-quite characters) in the body of the page they are trying to save. MySQL does not support them normally, and hence crashes out with this sort of error.

Either swap to Postgres (MySQL can handle them with config settings, but those settings are not supported by Atlassian, so I can't recommend you do that), or tell your users to stop using silly characters.


Tags: confluence-server

server
Clickable image in confluence
Asked by Allen Chun:

Hi Atlassian Community,

Is there a way that I can put a function wherein when I click attached image in confluence then it will display a random text from an array of strings?

Thanks in advance


Answers:
author: AhmadDanial
body: Hi there, Allen.

Before we try to dig deeper into this, can you please let me know the purpose of displaying the random text in the first place?

Since this is not something that does not come shipped in Confluence by default, it will be good to understand the context behind this. Thanks.
help
Asked by Carly Lowe:

do you have any webinar's or sessions on how to use confluence?


Answers:
author: Manon Soubies-Camy
body: Hello [@Carly Lowe](/t5/user/viewprofilepage/user-id/1925256) and welcome to Community!

There is a bunch of tutorial videos on Atlassian Youtube channel: [Confluence tutorials](https://www.youtube.com/watch?v=09CuRQoJzB8&list=PLaD4FvsFdarRngi46OIHZq9jPf0Pb43b9)

Hope this helps,

- Manon
how can we create group of members in confluence?
Asked by srinivas:

hi i have created wiki space and now i want to create a one group with all my team folks is it possible to create if possible please provide me steps.


Answers:
author: Prashant Mali
body: Hi [@srinivas](/t5/user/viewprofilepage/user-id/1891960),

Welcome to Atlassian Community.

Only Confluence Administrator can add Users and Group, and assign users to group.

If you are Confluence Admin, Follow below steps :

1) Go to User Management

2) Choose Groups in sidebar

3) Choose create Group button

4) Choose add to add members in the group

5) After that you can give space permission directly to particular group

Thanks,

Prashant

comments: author: srinivas
body: i have admin permission but i am unable to see those above steps for admin is there any other url available right now i am using **<https://new-wiki.optum.com>**


author: Prashant Mali
body: Could you please share screenshot?

<https://confluence.atlassian.com/conf59/add-users-and-set-permissions-792498553.html>

Above KB document will help you to understand the Confluence add users and set permissions.

Thanks,

Prashant


author: srinivas
body: ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/31538i48FD88ACDF23DC27/image-size/large?v=v2&px=999 "Capture.PNG")my dashboard look nlike this


author: Prashant Mali
body: ah! ok. As per your screenshot, You are not Confluence Administrator. You are confluence user and Space Admin.

Space administrator and Confluence administrator are different. Only Confluence Admin guy has ability to create users and group.

I hope, this is fine for you.

Thanks,

Prashant


author: srinivas
body: how can we get admin permissions and if i share any wiki page to users they can see page without login permissions.


author: Nic Brough -Adaptavist-
body: To get admin permissions, ask your current admins to add you to the group.

For no-login access, no in most cases. If you want a page to be shared with non-users, you need to grant anonymous access to it, to let anyone in.


author: srinivas
body: how can i do that anonymous access to my page


author: Nic Brough -Adaptavist-
body: Set the space to allow anonymous access, it's in the space permissions.
Domain verification for Azure AD
Asked by Abdul Shakoor:

Hi ,  

I am following two links below to integrate with Azure Active Directory.  

<https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/atlassian-cloud-tutorial>  

<https://confluence.atlassian.com/cloud/domain-verification-873871234.html>  

There is a step that requires I verify a domain using DNS.  
The exact step is : "Go to your DNS host and find the settings page for adding a new record."  

How can I do this with Azure AD and get the status as "verified"


Answers:
author: Javed M Shah
body: .


author: Daniel Eads
body: Hi Abdul,

Your DNS records are going to be managed someplace other than Azure AD. Azure does provide DNS hosting services, but that's not a guarantee that you're actually using them. We can't really provide step-by-step assistance for adding a DNS record without knowing where those records are hosted, which could be a huge variety of places!

I suggest asking someone familiar with your company's networking stack to ask where your DNS is hosted (Azure, internally, Dyn, Network Solutions, GoDaddy, etc) and when you find someone who knows, also see if they know who administers the records. That person should be able to assist you with the verification following the documents you've linked to.

Cheers,  
Daniel


Tags: atl-cloudmisc

azure

cloud
Why is a ldap group is empty?
Asked by Chris Beckett:

I have several ldap user directories in Confluence similar to below.

ou=UsersA,ou=example,ou=com (users and groups appear in Confluence, groups are populated)

ou=UsersB,ou=example,ou=com (users and groups appear in Confluence, groups are populated)

ou=Groups,ou=example,ou=com (has a group containing all users in UsersA and UsersB)

This final group is empty in confluence


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Christopher Beckett](/t5/user/viewprofilepage/user-id/1924805) and welcome,

please check if nested groups have been enabled (<https://confluence.atlassian.com/doc/managing-nested-groups-229838455.html>)

Hope this helps,

Fabio