youngmon/atlassian-qna huggingface dataset:
How many licenses for Sharepoint connector in this situation?
Asked by GC:

I have x number of Confluence users and y number of Sharepoint users. There are more Sharepoint users than Confluence users. I'd like to use Sharepoint Connector just to embed Confluence content in Sharepoint so that anyone logged into Sharepoint can see the content (but not modify it). How many user licenses will I need: x or y?


Answers:
author: GC
body: I haven't read up on the technical details of how it's done. The macro page does state that it enables "bi-directional content embedding," though. I'd just like to enable people to view formal documentation from Sharepoint even if they are not Confluence users.


author: Bill Bailey
body: How do you plan to embedded Confluence content into Sharepoint?

comments: author: Bill Bailey
body: Well as long as Confluence is configure to allow anon viewing, then any content that is imported into Confluence via a connector would be visible. Basically, the connector retrieves and displays the content on the page. View rights to that page are set within Confluence.


author: GC
body: Oh, we do want to restrict viewing rights. The idea is that those who have a Confluence login can view/edit Confluence pages. Those using SharePoint can view but not edit. People who don't have SharePoint or Confluence logins should have no access at all. Is that possible?


author: Bill Bailey
body: Yes, that is what I am saying, The group of users who are SharePoint authorized but not Confluence users can view pages as anonymous (no login), but you need to enable view rights for anonymous users. You can allow anonymous users to add comments to Confluence pages, but then you have no idea who made a comment.


author: GC
body: I'm sorry - I'm still confused. Are you saying we should add anonymous viewing rights in Confluence? It sounds like then anybody could view those Confluence pages whether they had Sharepoint access or not.


author: Bill Bailey
body: Yes that is the only way it CAN work. Otherwise, each user who needs to view, would require a login and consume a license (unless you go to a one group login with limited access -- a solution, but not a great solution).

As long as your Confluence server is behind a firewall, anon access is then limited to those users inside.

If you want to authenticate all users but restrict their rights, then you would need two groups, one for Confluence users and one for Sharepoint users (both members of confluence-users), BUT that means you need enough licenses for both.
how to upload a txt file having specific charaters like "&" to confluence page?
Asked by angie:

i have a .txt file where a line contain an characters "\&", when i invoke "HttpPost pageRequest = new HttpPost(pageUrl)" to do java rest API call to update the .txt file to the page, it throws error as: {"statusCode":400,"data":{"authorized":false,"valid":true,"errors":\[\]},"message":"Error parsing xhtml"} and i can't upload the .txt file to the confluence page, but if i removed the "\&" it works fine.

Since confluence page content needs Storage Format, how can i change it to Storage Format in order pass the HttpPost? Thanks alot.


Answers:
author: angie
body: thanks alot, with String replace, its working fine now. Thanks again


author: Aleks Yenin (Polontech)
body: Try to replace all \& with

```
&amp;amp;
```

inside your text file
i have a custom template for meeting notes - how can i create meeting notes from that template
Asked by Sharmila:

I see the macro Create from template allows us to create a meeting notes page from the pre defined meeting notes template. I have created a page as a template for meeting notes. I would like to create from that template. How can this be done? Thanks in advance!

Sharmila


Answers:
author: Milo Test
body: You need to re-create the page as a template:

**Create** --\> **Add or customise templates for the selected space** --\> **Create New Template**

comments: author: Sharmila
body: Thank you!
Is there a way to show only one label?
Asked by Jimi Wikman:

*This question is in reference to Atlassian Documentation: [Labels List Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=180846844)*

I understand the need to show all labels and exclude a few, but I also see the need to have the reverse where you show content related to one or a few labels as well and I wonder if that is possible somehow?


Answers:
author: Nelson Carranza
body: Hi Jimi,

If it is only one or a couple, then just copy and paste the link.

Regards

Nelson


Tags: confluence-administration

label

list
How do you configure page breaks in PDF exports?
Asked by Anatoly Klebanov:

I have reviewed articles, such as this one (<https://answers.atlassian.com/questions/32989210>), but still cannot figure out how to make the page break after certain headings or elements (like another macro). Is it possible to do this by just editing the stylesheet without inserting anything on the actual page? Thank you.


Answers:
author: Milo Test
body: Far as I can tell, you have to have a macro with a Class setting so you can refer to it in the PDF Stylesheet. The div and span macros are generally used for this.

Set the Class to noprint, then refer to it in the PDF Stylesheet.

```
.noprint  {  display: inline-block ;  }
```

comments: author: Anatoly Klebanov
body: Thank you. I used a combination of your tip and another I found. I added several divblock macros, and then defined a class in each (called pdfprint). Then, I added the following text to the stylesheet: .pdfprint{ page-break-before: always; }


Tags: confluence-administration
Export a list of users on Atlassian Cloud
Asked by Perry Tancredi:

I have a cloud Atlassian instance and I'd like to purge users who are no longer with the company. I have a list of employees that I'd like to compare to the list in Atlassian. Ideally I'd export those lists of users. I've already searched and found several options using CLI, SQL, and other plug-ins - most or all of which only would work on a server instance or require me to purchase a plug-in. This issue that would have allowed for that was recently updated to say that Atlassian doesn't "have any plans to support this in JIRA for the foreseeable future." : <https://jira.atlassian.com/browse/JRA-23783>.

I'm wondering if anyone has a suggestion that would work on cloud without me having to install another plugin.


Answers:
author: David Schorow
body: We have the same need as well (I'm not connected to either of the people above :smile: ).


author: Brian
body: We have the exact same need.


Tags: cloud

confluence-cloud
Statistics on what was searched in Confluence
Asked by RVal:

Hi

Is there any way of collecting stats on what search terms were entered in Confluence search box ? We would like to see what words/phrases are searched more often and by whom.

So far I did not find any information on this.

Thank you


Answers:
author: Alex Yasurek
body: Hi,

We use google analytics with some custom dimensions to gather this information. Besides GA, I am not sure if Confluence saves this info somewhere on their instance.

comments: author: RVal
body: Thank you for your response. I thought of GA, but GA would only work if user typed something in search box and clicked on search. However while user is typing the box produces type-ahead quick navigation search links and often user just selects one of the produced links. GA would not catch this type of search.


author: Alex Yasurek
body: That's a good point. GA may still catch the click on that link but you would need to figure out a way to know that the user clicked that link while searching. Other option may be looking into getting a hook into that type-ahead functionality, probably through Javascript. Maybe some event is fired off when the user clicks one of those links that you can catch.


Tags: confluence-administration

content
Confluence page visit statistics from the database
Asked by Chris Solgat:

I have a customer that is wanting to gather some metrics around their Confluence Space. The problems and constraints that we have run into is that we have a rather large instance of Confluence, just short of 1 million content items, so we cannot use the built in Confluence Statistics mechanism. Also, we have not found any plugins that get us the type of information, and more specifically at the Space Admin level, that we are looking for. The one option that showed some promise was the Google Analytics plugin, but since the information is stored in the Cloud, our IS Security team would not be happy about that. Soooo...

With that long explanation, what I am curious about is where most of this metric data would be stored in the database. Since Confluence does have the built in mechanism, is the data being stored already, or does it only get stored if the Metrics Gathering feature is enabled? If it is always being stored, where in the database can it be found?

Additionally, we are using the View Tracker plugin, but it just doesn't provide enough to fulfill what the customer has been asking for. Here is the requirements that the customer has asked for:

General Reporting:  
Total Number of Hits - believe this has already turned this on for the home page  
Number of Page Hits by Month (parent \& child pages) - we would like to see the trending to highlight the utilization and growth as it's rolled out to all of the users  
Users or Departments Hitting the Site/Pages \& which pages

And they are looking for this to come in some kind of Report/Graph format that can be rolled up at a Space Level.

Any ideas/thoughts/suggestions are welcome.


Answers:
author: Actual Metrics
body: A viable option is to configure Confluence to create an apache access log, and then process the logs with web analytics software.

Confluence doesn't create an access log by default, but here's how to configure it:

<https://jira.atlassian.com/browse/CONF-23034>

Once you have the log created, you can use a tool like Angelfish to create reports:

<http://analytics.angelfishstats.com/solutions/jira-confluence-web-analytics/>


Tags: analytics

confluence-administration

metric

report
Removing screenshots leaves orphaned attachments on page
Asked by Stephen Kairys:

I have a Confluence (Wiki) page originally imported from MS Word. The imported file contained 30+ screenshots, as attachments. Because some of them are outdated, I need to remove them and replace with screenshots from the current software.

Originally, say the page had 35 attachments. I went to one of my screenshots and deleted it (like I would any other content); however, the # of attachments remains 35. I clicked *Attachments* at the bottom of my page, and see a list, which includes my orphaned attachments.. However, it does not let me delete the attachment(s) in question.

Workaround?   
Thanks,

Steve


Answers:
author: Bill Bailey
body: Yes, deleting an image inserted into a page does not remove the attachment. You need to go to Tools -\> Attachments and delete it there.

BTW, I often copy the contents of a page converted from Word to another page so I can delete the original page to get rid of all the attachments. It takes a long time to manually delete 30+ attachments.

comments: author: Stephen Kairys
body: Thanks, Bill. But please clarify. What's the benefit of copying to another page? Wouldn't copying bring over the attachments. (New Confluence user here, so please forgive what may be a basic question.) :smile:


author: Bill Bailey
body: Sorry, I should have been clearer. Copy the CONTENTS of the original page *while in edit mode*, then paste into a new page. That will leave ALL attachments behind. Then you can insert the images you want.

Typically I replace all images after Word import as the import process can somehow break up the image into many parts.


author: Stephen Kairys
body: Please clarify:

**Lots of div and span tags can get pasted in**

Thanks.


author: Stephen Kairys
body: No worries.

You're saying that when I SELECT ALL, and do CTRL-C to copy, then the images aren't included?

Related question: The same doc is getting rather large, and I'm thinking of splitting into two, so as not to overwhelm the audience. Both halves of the doc have screenshots, and let's assume I've resolved my orphaned screenshot issue to the point that all is good. My plan:

1) Copy the entire document (page) into two new pages (Part One and Part Two).

2) Remove all content from the second half of Part One.

3) Remove all content from the first half of Part Two.

With regard to my images, am I missing any sub-steps?

Thanks,

Steve

comments: author: Bill Bailey
body: yes, CTRL-A, CTRL-C, the CTRL-V on the new page. On the images, I don't remember exactly what happens (I do it so fast), either they are linked from the original page, or just don't appear at all (I think the later).

When I split a page, I just copy the page (using Tools-\>Copy) to bring over the images, then delete out the halves I don't need from both pages, updating page names and hierarchy as needed.

Also, install the Source Editor plugin. There are times when you need to clean up the storage format (lots of div and span tags can get pasted in).


Tags: cloud

confluence-cloud
navigate to the page where an excerpt is located
Asked by Dmitry Ree:

I would like to click on the page title to open the page:

image2016-3-17 17:41:57.png

<https://jira.atlassian.com/browse/CONF-41088>  
[](https://community.atlassian.com/t5/Confluence-questions/navigate-to-the-page-where-an-excerpt-is-located/qaq-p/291042?attachment-id=5271){#link_11872c16702587}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/49381/1/image2016-3-17%2017%3A41%3A57.png){#display_11872c16702587_0}


Answers:
author: Steven F Behnke
body: This could possibly be accomplished with a user macro if you are on Confluence Server.


Tags: excerpt
how do i save changes after sorting pages alphabetically?
Asked by David Conrad:

*This question is in reference to Atlassian Documentation: [Move and Reorder Pages](https://confluence.atlassian.com/pages/viewpage.action?pageId=146407727)*

how do i save changes after sorting pages alphabetically?


Answers:
author: albert-hajas
body: This is still an issue for us as well. There doesn't seem to be any save option anywhere and the sort never takes effect in reality.  
Has anyone found a reason for this?


author: Bash
body: I'm having this same problem. I understand that the alpha-sort is automatic, and not something that necessarily needs to be "saved", but the alpha-sort is not taking effect. It's worked for other sets of pages, but for this particular set, it's non-functional.

I've removed any restricted pages, thinking that would do the trick, but unfortunately that did not work.


author: Chris
body: This is still an issue for me as well, there is no "save" option and the sort never takes effect. Has anyone found a reason this happens?


author: Alex Yasurek
body: Are you using the page hierarchy screen to move pages around in a space?

comments: author: albert-hajas
body: Hi,

I?m trying to do that in \<Space Tools\> \<Content Tools\> \<Reorder Pages\>


Tags: confluence-administration

move

page

sort
The // markup does not seem to produce a line break. --Fred
Asked by Fred:

*This question is in reference to Atlassian Documentation: [Confluence Wiki Markup](https://confluence.atlassian.com/pages/viewpage.action?pageId=251003035)*

Ask your question here...


Answers:
author: Nelson Carranza
body: Hi Fred,

The break line is not available in the editor as autoformatting. Take a look at this <https://confluence.atlassian.com/doc/keyboard-shortcuts-139456.html>

If you would like to enter markup

image2016-3-17 9:16:8.png

image2016-3-17 9:16:47.png  
[](https://community.atlassian.com/t5/Confluence-questions/The-markup-does-not-seem-to-produce-a-line-break-Fred/qaq-p/131256?attachment-id=12269){#link_11872c13c04551}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184663/1/image2016-3-17%209%3A16%3A47.png){#display_11872c13c04551_0}  
[](https://community.atlassian.com/t5/Confluence-questions/The-markup-does-not-seem-to-produce-a-line-break-Fred/qaq-p/131256?attachment-id=12270){#link_11872c13c04551_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184663/2/image2016-3-17%209%3A16%3A8.png){#display_11872c13c04551_2}


author: Elena_Lurye
body: **//** typed in editor brings up a calendar, where you can choose the required date  

image2016-3-17 8:51:39.png  
[](https://community.atlassian.com/t5/Confluence-questions/The-markup-does-not-seem-to-produce-a-line-break-Fred/qaq-p/131256?attachment-id=12149){#link_11872c1a58e157}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184662/1/image2016-3-17%208%3A51%3A39.png){#display_11872c1a58e157_0}


author: Fred
body: Nor does \\\\

--Fred


Tags: markup
Any way to embed a username/password in the url?
Asked by Eugene Middlebrooks:

I've tried the os_username/os_password parameters but I think those are just for Confluence server, not cloud. They didn't work.

I just want it to go to the page, without a login screen. And it cannot be an anonymous login.


Answers:
author: Pranjal Shukla
body: How can I use Oauth to achieve the same?


author: Eugene Middlebrooks
body: I am embedding a webpage in a winform app and use confluence for help documentation. The login is a read only permission login. It works as it is... but every time the user wants help on a screen it asks for a login which is annoying. The information on the help pages is not vitally sensitive but we don't really want public access.

comments: author: Dheeraj Gupta
body: Hi Eugene,

Actually me too having the same problem scenario. Just wanted to check if you have discovered any solution for this?  

Regards,

Dheeraj Gupta


author: Eugene Middlebrooks
body: As far as I can tell, using the cloud version, you cannot. They have started to add some new authentication features that may one day let us authenticate programatically without a user interaction but for now I have not found a way yet.


author: Dheeraj Gupta
body: Thanks for the information Eugene.

I am also keeping my eye on the new authentication feature and can share updates if something found new.

You can reach me anytime to my email id Dheeraj.Gupta@Aeris.net

Regards,  
Dheeraj Gupta


author: Dheeraj Gupta
body: Hello Community Experts,

Is there any way to resolve the above issue. I am still struggling to get it worked.


author: Nic Brough -Adaptavist-
body: There's not going to be any way to change this.

Users own their Atlassian accounts.


author: Pranjal Shukla
body: Nick, we are trying to achieve the same but our Confluence is Server Version hosted internally . We are developing an Android and IOS app for a specific purpose. We are also invoking Confluence pages in browser mode in our app. However the problem is authentication. Despite logged in to application, he is required to enter his credentials again as he's accessing Confluence pages.

My application is authenticating against LDAP. Is there a way to provide Username and LDAP token in the URL so that user does not have to login separately?


author: Nic Brough -Adaptavist-
body: No, and you should never be sending a username and password over a url!

You will need to use Oath to do this.


author: ST Kambor-Wiesenberg
body: Hi Eugene,

It's not possible to embed username and password in the url of Atlassian cloud products. I understand that's very comfortable, but you send your credentials unencrypted over the internet, even with every unsuccessful try. I recommend to change your password and try to use a password manager.

Regards  
Stephan


author: Robert Massaioli _Atlassian_
body: What are you trying to accomplish?


Tags: cloud

confluence-cloud
table of content links not working
Asked by DI2E Licensing:

We're running Confluence v5.9.4. We have more than one table of contents in which the links no longer worker.

One of our customers discovered that if the TOC is encapsulated in a TOC Zone, then the links do work.

This is browser independent.

Any ideas?


Answers:
author: Dave_Harrington
body: We have the same problem on 5.9.6...


Tags: table-of-contents
Confluence CLI error - connection refused - when attempting to login
Asked by Jeanne Howe:

We are attempting to run the confluence.sh script. We are getting a "connection refused" error when getting here -

[https:/mydomain.com/rpc/soap-axis/confluenceservice-v2](https://confluencedev.mheducation.com/rpc/soap-axis/confluenceservice-v2)

I can access both this page and Confluence from the browser, but I am still refused connection from the script.

Any thoughts?


Answers:
author: Bob Swift (personal)
body: Perhaps you have a proxy or other network issue causing access problems. What is the base url of your server? Have you tried using that?

comments: author: Jeanne Howe
body: Hi Bob,

We have no proxy and the network has been verified. I am currently verifying our SAML access.


author: Jeanne Howe
body: Bob,

Our JIRA and Confluence are now using Okta to authenticate. This has required us to modify the seraph file. Our CLI scripts are attempting to authenticate directly with JIRA and Confluence (user accounts were created in the local directories. We are still getting the following error when attempting to authenticate:

Unable to log in to server: <https://xxx.xxx.com/secure/rpc/soap/jirasoapservice-v2> with user: sys-jenkins

Cause: (301)Moved Permanently

31: result=253

32: '\[' 253 -ne 0 '\]'

32: echo 'INFO: Line 32: Exit code 253'

INFO: Line 32: Exit code 253

33: exit 253

We are JIRA 6.4.5, Confluence 5.7.5 and CLI 4.5.0


author: Bob Swift (personal)
body: See [this question](https://bobswift.atlassian.net/wiki/questions/128909727)and related issue. If that doesn't help open a new [support request](http://JIRA Command Line Interface (CLI)) and we can get you some specific help.


author: Jeanne Howe
body: We have resolved the JIRA issue but are still having issues in Confluence. I will create a support ticket.


Tags: cli

confluence-administration
Confluence Indexing Problme
Asked by Young__Hahn:

Hi

I am a Confluence Admin and I noticed that my Confluence index is not working..

On my main page

Where is say Popular, All updates and other things..

I see old record.. not the new ones..

When I go to admin page and at the search index, I do rebuild.. and this updates the the new record..

But I am assuming I don't have to rebuild the index all the time..

I check the log.. but I do not see any error.. .

is there a way to fix this issue?


Answers:
author: Alex Yasurek
body: We occasionally run into this problem also. What we do is just delete and rebuild the index from scratch and that seems to fix it.

comments: author: Young__Hahn
body: What do you mean deleter??

just noticed that I also have **QUEUE IS CURRENTLY IDLE**


author: Alex Yasurek
body: Meaning the you complete delete the index and build one from scratch. You have to do this on the server, it isn't done through the Confluence admin area. Each time I have run into a similar issue that you described, this is what fixes. My hosting company takes care of this for us though so I dont know exactly where this file that needs to be deleted is located.


author: Nelson Carranza
body: Hi,

Have you take a look at this <https://confluence.atlassian.com/confkb/confluence-fails-to-process-index-queue-automatically-213524919.html>

<https://confluence.atlassian.com/confkb/searching-and-indexing-troubleshooting-180847237.html>

Regards

Nelson

comments: author: Young__Hahn
body: Yes but this doesn't help


Tags: confluence-administration

index