youngmon/atlassian-qna huggingface dataset:
Serch function: Issue with words containing underscores
Asked by Renato:

Hi there, we are facing the following issue:

Whenever we search for content within our Confluence environment, words/phrases containing underscores(_) are not being displayed.

Example:

Excerpt from the page: vol/bc0004598_01/otdata/

--\> If we search for "vol", he right page is displayed in the search output box and the relevant content is in bold font.

--\> If we search for "sb0004598", the right page is displayed in the search output box but the relevant content is not in bold font.

--\> If we search for "bc0004598_", no search result is found.

We have already deleted the journal and index folder in the home directory, which has not solved the issue.

Is there any other adjustment that we could do in order to solve this problem?

Thanks a lot for your help

Best regards, Renato


Answers:
author: Shannon S
body: Hi Renato,

It sounds like you may have run into this bug:

* [CONFSERVER-53573 - Underscore prevents search in space directory](https://jira.atlassian.com/browse/CONFSERVER-53573)

At this time, we have no known workaround, but please watch the bug for updates. It will also help us if you vote and comment on the bug to help show the number of users that are affected by this issue.

Kind regards,

Shannon

comments: author: Renato
body: Hi Shannon,

Thanks a lot for providing me with the JIRA link.

Best regards, Renato
Connector for SharePoint Search
Asked by Venkataramana Ramagiri:

By using this addon we can able to search from Confluence tool or from SharePoint tool or from the both. i'm asking for is we will get the search option in both tools or in only one tool.


Answers:
author: Nic Brough -Adaptavist-
body: Duplicate of <https://community.atlassian.com/t5/Marketplace-Apps-discussions/Need-information-regarding-sharepoint-connector-for-confulence/m-p/678671>
Need help with Space access
Asked by Mujahid Shaikh:

<https://confluence.atlassian.com/confkb/how-to-grant-access-to-one-space-only-to-a-user-in-confluence-815244321.html>

I have followed the exact steps in the link above, however user is still able to access other spaces and pages. I want the user to access only a particular space and NOT other spaces or pages.


Answers:
author: josh
body: You have to make sure anonymous access is off as well. You removed all groups from this user?

comments: author: Mujahid Shaikh
body: Josh, firstly thanks for your reply. Appreciate.

yes anonymous access is off. I have removed all groups for this user. When this user logins i see that the confluence group is auto enabled.

A workaround that i figured out is \> for each space I have added restrictions that does not include the group that this particular user belongs to. That way the user cannot access any other space except the space the user belong to.
WordPress into Confluence
Asked by Egor Guzun:

Hi Guys,

What do you think, what would be the best way to import WordPress site to Confluence Space?

Thanks,

Egor


Answers:
author: Shannon S
body: Hi Egor,

A full import into Confluence is only possible with XML files from Confluence. This would require you to create an XML export from Wordpress and somehow convert it to a format that Confluence will accept. Some [Atlassian Partners](https://www.atlassian.com/partners/search) [such as Communardo](https://www.communardo.de/techblog/experiences-with-migrations-to-atlassian-confluence/) may be able to help with this.

The other option is to import pages individually.

You could [export the individual Wordpress pages to Word format](https://pagely.com/blog/export-wordpress-posts-pages-word-files-pdfs-aspose-doc-exporter/) using this Aspose plugin, and then [import those documents back to Confluence](https://confluence.atlassian.com/doc/import-a-word-document-into-confluence-170493136.html), for example.

I hope this helps, but do let us know if you have any questions.

Kind regards,

Shannon

comments: author: Egor Guzun
body: Hi Shannon,

<br />

Thanks. Will try these options.

Best regards,

Egor


author: hbenakli
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

I want to migrate wordpress into confluence , so i have the XML export from WordPress so i need to convert this XML to a format that confluence will accept but i dont know how to do that and where can i find that format of XML that support confluence.

Thanks
http redirect not working
Asked by Fredrik Gilljam:

Has been running Confluence with a working port 80 to 444 redirect (tomcat) and for a month ago it suddenly stopped working. HTTPS and HTTP works but HTTP is not redirecting to HTTPS.

\<Service name="Tomcat-Standalone"\>  
\<Connector port="80" connectionTimeout="20000" redirectPort="443"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" /\>  

\<Connector port="443" maxHttpHeaderSize="8192"  
maxThreads="150" minSpareThreads="25"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
enableLookups="false" disableUploadTimeout="true"  
acceptCount="100" scheme="https" secure="true"  
clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"  
URIEncoding="UTF-8" keystorePass="xxxxxxxxxxx" keystoreFile="E:\\keystore\\xxxxxxx.jks"/\>

We have not done any changes in the conf. Both our Jira and confluence stopped redirect I guess at the same time. But I rand that Jira config tool in the bin directory and change the Nio protocoll back and it start to work again.

Can it been some windows updates that fucked this up? I don't know right now what to do to make redirect work again with the wiki/Confluence.


Answers:
author: Vero Rivas
body: Hi [@Fredrik Gilljam](/t5/user/viewprofilepage/user-id/1166829)

Look at this posts, maybe can help you

<https://community.atlassian.com/t5/Confluence-questions/Redirecting-HTTP-to-HTTPS-in-Confluence-not-working-what-did-I/qaq-p/1221337>

<https://community.atlassian.com/t5/Confluence-questions/Confluence-HTTP-redirect-to-the-HTTPS-issue-with-redirect/qaq-p/1328846>

<https://community.atlassian.com/t5/Jira-Core-Server-questions/How-to-redirect-http-URL-to-https/qaq-p/1760810>

Cheers
how do I change the default landing page for an anonymous user?
Asked by jim schrempp:

When an anonymous user goes to the url

makernexus.atlassian.net/

I want them to land on the Overview page of one of our spaces. The space I named "publicwiki"

I found how to change the landing page for users logging in, but it doesn't seem to affect anonymous users.


Answers:
author: jim schrempp
body: Ah, the problem was that the site landing page I specified was not viewable by anonymous so the site defaulted, I guess, to the page:

<https://makernexus.atlassian.net/wiki/discover/all-updates>


author: Boris Berenberg - Atlas Authority
body: You tried this <https://confluence.atlassian.com/confcloud/configuring-the-site-homepage-724765517.html> ?


Tags: anonymous

home-page
From the Confluence java API, how do I determine the user's directory?
Asked by Rich Scire:

I'm writing a REST API call to determine the number of active Confluence users. To do this, I need to differentiate LDAP users from those in the internal directory. How would I do that?


Answers:
author: AnnWorley
body: I have not been able to find or hack a REST API call that will return the user directory the user belongs to. I tried the . dot notation and expand query parameter mentioned in[Confluence REST API Documentation](https://docs.atlassian.com/confluence/REST/latest-server/) but was not able to retrieve user directories or a list of more than one user.

If you have access to the Confluence database you may get a list of active users and their directories using the queries on this page:

[How to get a list of active users counting towards the Confluence license](https://confluence.atlassian.com/confkb/how-to-get-a-list-of-active-users-counting-towards-the-confluence-license-298978076.html?_ga=2.194959150.289821667.1511794243-497577457.1509036228)

The results look like:

![Screen Shot 2017-11-28 at 12.15.27 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/10113i747B176739E04DA4/image-dimensions/415x274?v=v2 "Screen Shot 2017-11-28 at 12.15.27 PM.png")

If you find a way to get the information you seek with REST, please post it here to help the next person who needs a list like this.

comments: author: Rich Scire
body: Thanks, Ann. I couldn't find a way either so I'm looking at writing my own. I'm wondering how to find the directory information from the *Java* API.


author: Jaakko Linnosaari
body: ```
com.atlassian.crowd.embedded.api.User
```

has

```
getDirectoryId() 
```

method


author: Thomas Clemens
body: Which allways returns "null".

sry for reviving this ...


Tags: java
Changing Header and Footer with basic CSS
Asked by Kristina:

Hello,

I am trying to add a background color to the header and footer with basic CSS. Please let me know if its possible in confluence (cloud server) and where exactly?

Space tools -look and feel - PDF layout? or Header and Footer page? <https://aetndigital.atlassian.net/wiki/admin/custompagecontent.action>

Another question - how I can install plugins in order to change the Wiki page design and make it more user-friendly?

Thanks,

Kristina

Changing Header and Footer with basic CSS {#toc-hId-1765831764}
---------------------------------------------------------------


Answers:
author: Kristina
body: Hi Boris,

Thanks for your reply. I do have a cloud confluence. That means I am not able to customize it at all? I wanted to add more color and icons to the pages. That is not fun.

Anyway, thanks!

Kristina

comments: author: Nic Brough -Adaptavist-
body: That is correct. You can't inject CSS into Cloud systems.


author: Boris Berenberg - Atlas Authority
body: Not sure what you mean when you write "cloud server" since those are two different deployments. If you're in Cloud then you can't use custom CSS. If you are on Server you can. For Server there are a number of apps that allow you the ability to customize how things look. In Cloud there is 1 or two, but they don't really work because the APIs are not robust enough yet.
Members of a group I (site administrator) created cannot edit their group's space overview?
Asked by aspagnoli:

I am using groups to organize \~150 users into groups based on "teams." There are spaces created for each team, and in the space permissions, I've designated that only members of the team and site administrators have full access. However, with only one specific team, members of the group cannot edit the overview page. They can, however, edit pages and site permissions. Why won't Confluence allow these group members to edit their space overview?


Answers:
author: Boris Berenberg - Atlas Authority
body: Did you restrict editing on that overview page?


Tags: group

permission

user
HSQLDB appears blank and unable to troubleshoot failed import according to provided tips.
Asked by Peter Sedivec:

I believe I've read every thread here on HSQLDB, connecting, viewing etc and still am at a loss for how to view the DB.

We're hosting Confluence v6.4.1 w/Embedded DB. We're running a windows instance. I've shutdown Confluence, made a copy of the DB file and have tried opening it with the HSQLDB manager and DB Visualizer. In both instances it appears that i'm looking at a blank database.

The database is located in Atlassian\\Application Data\\Confluence\\database and is called h2db.h2.db. I've logged in with the credentials (username: sa, password: ). Attached is a picture of what i see![hsqldb-manager.png](/t5/image/serverpage/image-id/10056i6E86195D3EBF2054/image-size/large?v=v2&px=999 "hsqldb-manager.png")

I see the same thing from either HSQLDB manager or DB Visualizer. There are 4 schemas but nothing contained in any of the schemas really. The database file changes size and modified date is updated each time i work in confluence and make edits.

The reason i am attempting to view the database is because we have a trial instance running and we keep importing and testing functionality of spaces. I've run into errors mostly re-importing the same space after i've deleted the space. Not sure why we're getting errors but there are several recommendations on how to troubleshoot failed import but they all involve the ability to go in and view/edit the database.

How do I view and/or edit the HSQLDB with my confluence trial?


Answers:
author: Boris Berenberg - Atlas Authority
body: It's H2 not HSQL <https://confluence.atlassian.com/jirakb/accessing-jira-s-h2-embedded-database-776818136.html>

comments: author: Peter Sedivec
body: Hi Boris -

Thank you, that worked. I thought i had looked at that page but hadnn't tried the h2 jar. I realize i was looking at the following article, which was for an older version of confluence.

<https://confluence.atlassian.com/conf56/connecting-to-hsqldb-using-dbvisualizer-or-hsql-database-manager-658737190.html>

I internally made the assumption that H2 \~ HSQL and didn't realize the difference. I think i can sort out my issues now that i can access the database directly.
What is the best way to reduce the size of the attachments directory
Asked by Mark Hanson:

We are planning to move to Cloud, but find that we have 40gb of attachments, which puts us over the 25gb limit, a show stopper. What are best practices for identifying and reducing attachment storage requirements?


Answers:
author: nealfisc
body: Normalizing Office files to PDF will allow usage of 3rd party PDF compression services. A number of benefits to expand improved file attachment offerings. Higher fidelity, improved security (read-only, watermarking), lower data-loss, and cross-platform support.


author: Boris Berenberg - Atlas Authority
body: Look for pages that are orphans and remove them and their attachments. Also you can look on filesystem and see if there are a few extremely large attachments that you can judiciously remove.
Confluence: top right navigation menu broken in Safari after upgrade
Asked by greys:

Hi everyone,

I've recently upgraded my self-hosted Confluence server to 6.5.0 (build 7502) and navigation menu looks all buggy in Safari on my High Sierra based MacBook.

Basically, all the navigation menus show expanded, like shown:![confluence-menus-safari.png](/t5/image/serverpage/image-id/10055iDAD85F706578AE67/image-size/large?v=v2&px=999 "confluence-menus-safari.png")

I can click each menu and it will hide the relevant sub-menu, but if I then browse to another page in Confluence, all the sub-menus show up again - really annoying.

Has anyone noticed this and found a fix by any chance? Thanks!


Answers:
author: Shannon S
body: Hi Gleb,

I also have Confluence 6.5.0 running on my High Sierra MacBook, but I have yet to run into this issue.

Could you let me know what browser you're using and the version, as well as if you still encounter the issue when accessing with other browsers/computers, in Incognito Mode, and with all add-ons disabled?

Kind regards,

Shannon

comments: author: greys
body: Hi Shannon,

this is awesome! Thanks for your help, it was indeed one of the extensions.

I'm using Safari 11.0.1 and the issue was in both standard and incognito modes, but now it's fixed (I disabled the extension completely).

Thank you and have a great day,

Gleb


author: Shannon S
body: Hi Gleb,

Great to hear! If you don't mind, could you let us know which extension it was in case someone else has the same problem and happens upon this post?

Kind regards,

Shannon
Does a page version use a lot of space?
Asked by C?line Delacourtie:

On some of my pages I can have more than 60 versions.

Every 3 months I need to copy my space to a frozen space.

If there are many versions, does this have an impact on the 'space weight'?


Answers:
author: Thomas Schlegel
body: Of course, every single version of your page has to be saved into the database. But it is just text, so there should be no big problem with the amount of space you need for saving the pages.

We have pages with more than 3000 versions and have no problems with them.

It might be different, if you have a lot of version of big attachments.
Confluence User Macro - Get Jira issue and display in clickable dropdown
Asked by Roberto L:

Hello Community,

I want to know if there is a way to create my own user macro in Jira that can execute a Jira Rest API call (the search API), and from those results grab the issue key and create a clickable html drop-down with the issue keys that can be displayed in a Confluence page.

Thank you!

-Roberto


Answers:
author: Brant Schroeder
body: [@Roberto Luces](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1145648) You might be able to do it with a user macro but I am not savvy enough to tell you for sure if you can. I know you could use forge to do it as an app. <https://developer.atlassian.com/>


Tags: jira

jira-software

macro

rest

user-macro
Confluence page: check in/check out option ?
Asked by Iuliana Burgi Jurj:

Hello,

As we had a brainstorming session related to Confluence with my colleagues, some questions came up:

1. Is there any way in Confluence to identify if a page is in Draft or finalized status ?

2. Still related to the notifications (complains are still existing that the number of notifications received is too high) is there a way to block notifications when creating a new page ? Basically, I already had this discussion with Confluence help support and I had different solutions. But none of them seem to be suitable upon the creation of a new page.


Answers:
author: Mike Rink
body: Hi Iuliana,

We have an app in the marketplace that does identify page states (draft, approved, published etc.) - [Comala Workflows.](https://marketplace.atlassian.com/plugins/com.comalatech.workflow/server/overview) Most people use the app for adding reviews and approvals to pages, but the page states are a feature, and can be customized to whatever you need them to say. Let me know if you have any questions - happy to help :)


author: AJ V
body: 1. You can use the "Status" macro, but this has to be managed manually...<https://confluence.atlassian.com/doc/status-macro-223222355.html>

2. I think this would come down to personal notification settings on each user account.

Here is a top rated Confluence, Check In/Check Out plugin that my company might be purchasing soon...<https://marketplace.atlassian.com/plugins/com.arsenale.plugins.lockpoint/server/overview>

Thanks,

A


Tags: notification
PageBreak Macro for HTML Export?
Asked by Casey Maynard:

I prefer to export my pages to HTML, but I would like to set my page breaks into my pages via a Macro. I have only see steps to create a page break for PDFs.


Answers:
author: Vero Rivas
body: Hi [@Casey Maynard](/t5/user/viewprofilepage/user-id/1140025)

Look at this posts, maybe can help you

<https://confluence.atlassian.com/confkb/how-to-create-a-page-break-function-in-confluence-to-control-pagination-in-pdf-exports-735943076.html>

<https://jira.atlassian.com/browse/CONFSERVER-28115>

<https://community.atlassian.com/t5/Confluence-questions/Page-Break/qaq-p/1009589>

Cheers
How can I change the color of a specific space?
Asked by emmanueldominguez:

I have two spaces, I want one of the spaces to be orange .. I have the cloud version


Answers:
author: Thomas Schlegel
body: Hi Emmanuel,

you can't change the space color anymore. Here's Atlassian's statement:

<https://confluence.atlassian.com/confcloud/blog/2017/08/custom-space-color-schemes-are-going-away>


Tags: colour

space
Page properties report showing up empty
Asked by Johan Kuiper:

Page properties report showing up empty.

Using Confluence Cloud.

I'm filtering on the label but it seems not to work.

I've checked if spelling is correct, I've checked if all pages have a label. I've checked and all pages have page properties.


Answers:
author: Thomas Schlegel
body: Hi Johan,

could you please add some more information, e.g. a screenshot of your page properties and the report?

comments: author: Johan Kuiper
body: Hi Thomas,

Thank you for reaching out ofcourse can I give more information. Are the screenshots sufficient?

Below the template of the pages that should be reported:

![Schermafbeelding 2017-11-29 om 10.07.30.png](https://community.atlassian.com/t5/image/serverpage/image-id/10146i0438ED0A1C534F12/image-size/large?v=v2&px=999 "Schermafbeelding 2017-11-29 om 10.07.30.png")

A screenshot of the preferences of the macro.

![Schermafbeelding 2017-11-29 om 10.06.26.png](https://community.atlassian.com/t5/image/serverpage/image-id/10144iC87B0BC8366964EF/image-size/large?v=v2&px=999 "Schermafbeelding 2017-11-29 om 10.06.26.png")


author: Thomas Schlegel
body: Thank you, Johan.

Didn't know, that you are using a template. Could you please post an example of a page, created with this template?


author: Johan Kuiper
body: Hi Thomas,

Ofcourse

![Schermafbeelding 2017-11-29 om 12.53.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/10151i616AEAE55ACA7ADA/image-size/large?v=v2&px=999 "Schermafbeelding 2017-11-29 om 12.53.57.png")


author: Thomas Schlegel
body: Although I don't see the page properties on this page view (it is hidden...), I think, there might be something wrong with that.

There is no table in your page properties template. Could you please check, if your page properties look like this:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/10154iDA74820F55E5665B/image-size/large?v=v2&px=999 "image.png")

There has to be a table within the page properties macro with the header in the first column and the value in the second one.


author: Johan Kuiper
body: Yes it is fixed! I didn't know that the table was essential. Thank you


author: Thomas Schlegel
body: You're welcome, Johan. Great that the problem is fixed now.


Tags: confluence-cloud

questions-for-confluence

report
Templates pre-labeling
Asked by Alexander Nicola?:

best,

when using a how-to-article template it will let you choice labels before you can edit the page. How can i do that when i create my own template? It would be very usefull for use, that when a person uses a particular template he has to choice his labels infront.

greats


Answers:
author: thais
body: Hi, Alexander,

Right now, it's not possible choosing the labels that are going to be added on a page created using a template during its creation and prior editing it. It is possible though to pre configure which labels a page created from a template will have.

We do have a feature request you may want to check here, as it seems to implement this functionality: [CONFCLOUD-30716 - Create from template macro should allow user to add additional label](https://jira.atlassian.com/browse/CONFCLOUD-30716).

If that's the case, please make sure to vote and comment on it to increase its visibility.


Tags: cloud

label

template
??????URL??????????????
Asked by ? ??:

?????confluence?1????????????????????????????????????URL?????????????????????????????????????????URL????????????

????

system administrator??????????????????????????

<https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html>

??????????site-admins????????????system administrator??????????????????????system administrator??????????????URL???????????????


Answers:
author: OHSAKI Kengo [Ricksoft]
body: ????? (Atlassian Cloud) Confluence?

??????URL????????????????????

<https://ja.confluence.atlassian.com/cloudkb/changing-the-cloud-instance-url-address-or-migrating-to-a-new-cloud-instance-691011835.html>

????????? (Atlassian Cloud) Confluence???

?????????? (Atlassian Cloud) Confluence??????????????

?????????????????????? (Atlassian Cloud) Confluence???????????????

????????????????? ??????(Server/DataCenter?)??????????

???????????????????????????????????????

<https://jira.atlassian.com/browse/CLOUD-7184> ??????????

?????????????????system administrator??????????

??????????????

comments: author: ? ??
body: ????????????????????????

?????????????????

?????????????????????????ULR????????

????????????????????????????


author: OHSAKI Kengo [Ricksoft]
body: [@? ??](/t5/user/viewprofilepage/user-id/1166574)-san,

??????????????

Cloud???????????????????????????????

?????????????????


Tags: language-ja