youngmon/atlassian-qna huggingface dataset:
Does the search engine take in account Confluence specific fields for scoring of documents?
Asked by bmul:

I found an article in knowledge base stating that search score is affected by document date, occurence of keywords in title, and in body, and also number of links to this document.

<https://confluence.atlassian.com/confkb/how-do-i-understand-the-ranking-of-confluence-s-search-results-785614686.html>

Does the search engine take in account Confluence specific fields for search results scoring?

such as **Number of Likes** (could weight the popularity like the links)

or

Number of occurences of searched keyword as **page or attachment labels** (should have abetter weight than occurences in body)

in addition, how are scored page with macros? as example occurences of search keyword that appear within an **"Excerpt" macro** could have better score.

How are indexed pages using include macro? does the search indexes the page source or rendered page once macros are executed?


Answers:
author: imsmarchildon
body: See <https://confluence.atlassian.com/confkb/how-do-i-understand-the-ranking-of-confluence-s-search-results-785614686.html>

comments: author: bmul
body: Thanks Nicolas, i already read this note, but i am wondering if more accurate data are used help to better ranking of documents. listed criteria looks very limited.

my understanding according article, is that the number of likes, the labels or the headings in pages are not used for the ranking of search results, but to my mind it would be relevant.

In addition, regarding incoming links, do we consider links generated by macros such as "Page Tree" or "Content by Label" as scored links? links might be coded in various formats it would be great to better understand how author can improve visibility of their key pages. A kind of cookbook would be appreciated.


Tags: search
Unable to login to confluence
Asked by Nicholas Mahalec:

### Cause {#toc-hId-1562801659}

com.atlassian.crowd.exception.runtime.OperationFailedException: The following URL does not specify a valid Crowd User Management REST service: <http://jira.joinpiggy.com/rest/usermanagement/1/user/password?username=admin1>  
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUserCredential(CrowdServiceImpl.java:431)


Answers:
author: Shannon S
body: Hello Nicholas,

One of your fellow users has raised the same query in [another Community Question](https://community.atlassian.com/t5/Confluence-questions/Unable-to-login-to-confluence/qaq-p/608022) and I've gotten the conversation started there if you would like to have a look.

Let us know if you have any further questions!

Kind Regards,

Shannon
Link broken after renaming a page
Asked by Chaya Ndiaye:

Hello,

We have updated the name of a page and its link was automatically renamed. Is it possible to redirect the old link to the new one?

We would like to avoid having to change a lot a documents that refer to the old link.

Using Conluence 5.10

Thanks.


Answers:
author: Jeremy M
body: Dear Chaya,

I assume that you have that many links to the specific page that it would take forever to search and replace them. (You could for example just copy those links to an editor and search+replace them there).

So knowing that, in this scenario we can use a trick that I have used before for replacing all hard links on pages to the base URL. You can find the instructions here:

<https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html>

Do the options in the above documentation correspond to your scenario?

Friendly Regards,

Jeremy Mooiman

comments: author: Chaya Ndiaye
body: Dear Jeremy,

We did not change the base URL just one specific page. I'll try the plugin.

Thanks


author: Stephen Deutsch
body: If they are external documents, and you really need to redirect the old link to the new one, you can create a page with the old name and include a macro from the [Redirection](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.redirection/server/overview) plugin to automatically redirect to the new page.

comments: author: Chaya Ndiaye
body: Thank you
the new format of confluence has muddled up the whole structure.. I had number 2 text, 20 text, 20a,
Asked by Paul O'Hara:

the structure i had in confluence was 2 title, 2a title,, ...20 title, 21 title,, 21a , 21 b ,,. 200 etc

this is now almost a random text sort 2, 200, 20a etc

how do i get back the old struccture under the 'REQUIREMENTS" section


Answers:
author: Stephen Deutsch
body: Hi Paul,

Which version of Confluence are you using (Server/Cloud, if server, which version)?
Add custom Blueprint to Space in Confluence
Asked by Anju:

So I was following the simple, intermediate, and advanced tutorials on creating a blueprint plugin.

Everything looks good, but how would I add the custom blueprint or template that was created to an actual space in Confluence?


Answers:
author: Hermance NDounga
body: Hey Anju,

I think you miss the step of "promoting the blueprint" so once you hit the create button, you can actually chose your bleprint from there. Here is [the documentation](https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-plugin-module-types/promoted-blueprints-module) to do it.


Tags: blueprint

template
CSS to add border/fill to table of contents
Asked by hamishEd Administrator:

I'm trying to make my table of contents stand out a little more. Am I able to add a border and/or fill to the standard macro using the CSS Class Name option? Something like the ToC on this page would be great: <https://confluence.atlassian.com/conf51/table-of-contents-macro-336169370.html>

I don't really know how to use CSS and I know the above is using a specific theme, but I like the default theme and wouldn't mind just being able to make this tweak if possible. Would anyone be able to help?


Answers:
author: Stephen Deutsch
body: Hi Hamish,

Actually, I think it might be easier then you think to get something similar to what Atlassian has done. The only thing they did was to wrap the ToC macro in a Panel macro. I was able to do something similar to theirs with the following settings:

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

comments: author: hamishEd Administrator
body: Hi Stephem

That's perfect, thank you! Really neat trick to know. I really appreciate the quick help :)


author: Emil Vakhitov
body: Wonderful!


author: John Corwith
body: This is a neat trick however note that the current panel macro creates a distinctively different panel. It has a light gray header bar and a white body (think a 1 x 2 table with a header.) To make this close to the panel shown above, use Background Color: #F7F7F7 Border Color: #E0E0E0 \& Boarder Pixel Width: 2.


author: hamishEd Administrator
body: EDIT: Replied in wrong place.


Tags: css
Space Admin not able to edit the page
Asked by Leena Bakshi:

Hello,

I am a space admin on a space called ABC( restriction applies) Now in this space I have a page called XYZ and that further has a sub page called 123. When I try to edit this 123 page I get message "Not Permitted- you are not permited to perform this operation." and I found following in the conlfuence log:

2017-07-10 12:37:32,953 WARN \[http-bio-443-exec-1177\] \[com.opensymphony.xwork.DefaultActionInvocation\] executeResult No result defined for action com.atlassian.confluence.security.actions.NotPermittedAction and result cancel  
-- url: /confluence/pages/doeditpage.action \| userName: L.La \| referer: <https://confluence.cfs.com/confluence/pages/editpage.action?pageId=87687892>

In the Space tool\> Permission, I have green checks in all the fields ( All, Pages, Blog, comments, attachments, restrictions, mail and space)

In Restricted Pages Permissions, I do have the Edit and View permission on XYZ page.

Can someone please tell me if I am missing some permission or is it a bug?

We have confluence on local server.

Thanks


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Did you check if there are any page restrictions on 123 page or not?

comments: author: Leena Bakshi
body: How would I be able to tell because it shows the path as Follow:

++Pages/ABC/XYZ ( with a lock symbol++)

**123**

*content of the page 123*

However when I am here on this page 123 and I click on the lock

I see the following

Viewing restricted to : User1 and User2

Editing restricted to : User1,User2 and my userid

and at the bottom it says: This page has restricted parent pages. It can only be seen by users who can see those pranet pages.

Does it make any difference if I am not added to Viewing Restricted to: group?


author: Leena Bakshi
body: Any further suggestions?


author: Jobin Kuruvilla [Adaptavist]
body: So, just to clarify, you are able to see Page 123 but not able to edit it even though the restriction on that page includes your id? Also, are you able to edit XYZ page?


author: Leena Bakshi
body: Unfortunately User didnt get back to us so I am gonna pursue this issue again when user returns again. Thank you for all your help!


Tags: permission
Can't change password
Asked by Oleg Kolyada:

Hi! I'm trying to change my admin password, but I can't because of mistakes. I push "Forgot the password", then I'm getting mail with instructions. Then I'm changing the password and getting the mistake. Please help me, I'm not a programmer, so hoping to get the detailed answer. Here is the text of the mistakes:

### Cause {#toc-hId-1562797875}

com.atlassian.crowd.exception.runtime.OperationFailedException: org.apache.http.conn.HttpHostConnectException: Connect to 89.223.30.252:8080 \[/89.223.30.252\] failed: Connection refused (Connection refused)  
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUserCredential(CrowdServiceImpl.java:431)

caused by: org.apache.http.conn.HttpHostConnectException: Connect to 89.223.30.252:8080 \[/89.223.30.252\] failed: Connection refused (Connection refused)  
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)

caused by: java.net.ConnectException: Connection refused (Connection refused)  
at java.net.PlainSocketImpl.socketConnect(Native Method)

URL of my Confluence is <http://workingprojects.ru:8090/>. So I suggest the mistake in the wrong port. Could you please tell me how and where can I change 8080 to 8090?

I'm looking forward to hear from you!

Best regards,

Oleg Kolyada


Answers:
author: AnnWorley
body: Hi Oleg,

Since the error message is "connection refused" for 89.223.30.252:8080 and 8080 is the default port for JIRA, I wonder if you are using JIRA for user management. If you are, please see: [Connecting to Crowd or JIRA for User Management](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html):

"error.jirabaseurl.connection.refused  
Connection refused.

Check if an instance of JIRA is running on the given url  

This may be because:  
JIRA url is incorrect   
JIRA instance is not running on the specified url.  
JIRA instance running on the specified url is not 4.3 or later."

The worst case scenario is you will have to change the password in the database. This guide tells how: [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html). Please make sure to use the guide for your version of Confluence. I am linking the doc for Confluence 6.3, you may find other versions by using the little pulldown on the top right of the doc.

I look forward to hearing how it goes.

Ann

comments: author: Oleg Kolyada
body: Thank you very much! I'll try to figure out.
Attachments Macro In Confluence Not Showing Thumbnail Preview for PNG's
Asked by mcc24mm1:

I'm in Confluence and using the attachments macro on a page. I checked the "Show Previews" option but the thumbnails are not showing for me on the page. I only have PNG's on the page. How do I get the previews to show up?


Answers:
author: Anara Davletaliyeva
body: Hi, I was wondering if this issue is going to be resolved soon? I am creating a page in confluence with list of images to download, but it is pretty difficult to see which one is which without thumbnails. Judging by JIRA ticket mentioned above, this issue has been raised two years ago. Thanks heaps!

comments: author: Shannon S
body: Hi Anara,

At this stage we do not have any further updates, but it's best to follow along the bug ticket rather than this thread. Any updates will be posted to that bug ticket.

Feel free to vote on it in order to help show the impact it's causing to customers, and comment there with your findings and any feedback you have.

Regards,

Shannon


author: Shannon S
body: Hello Mike,

There is currently a known bug in Confluence where the attachment thumbnails are not displaying when viewing the page itself:

- [CONFSERVER-40609](https://jira.atlassian.com/browse/CONFSERVER-40609)

However, when viewing the preview of the macro in edit mode, you will be able to see the thumbnail.

To workaround this issue, you can click the **Preview** button below the version number when expanding the macro.

Let us know if you have any questions.

Kind Regards,

Shannon
possible to link Confluence to my Jira Server
Asked by Julien COURAUD:

Dear support team,

The synchronisation between my servers Jira and confluence is possible in only one way.

Jira is able to synchronise with Confluence

Confluence is not able to reach the URL of the Jira server. However, I am able to resolve the URL when I do a nslookup on my linux server.

Thanks for your help

,


Answers:
author: Nic Brough -Adaptavist-
body: nslookup will only tell you that the remote ser**ver** is findable. It doesn't tell you if a particular ser**vice** is running and available on that server.

From the Confluence server, can you use a "curl" to see what comes back from the url of the Confluence server?
How Do I Identify The Cause Of Garbage Collection Issues?
Asked by Dalectric:

Hi

I've been battling this issue for some time now, but basically our Confluence instance will be stable and happy running for many months at a time with no changes to the JVM memory size and then suddenly I get a problem where the GC cannot recover enough memory. This makes Confluence inaccessible for all users as it doesn't respond.

From the GC logs I cannot see a trend in the memory usage that would warn me this is about to happen, it just suddenly stops being able to recover enough memory.

I have increased the maximum memory pool for the Confluence service so I'm now at 3840 MB, but as I increase this it obviously creates a bigger load on the server when it hits the limit again.

1. How can I identify what is causing the sudden increase in memory use?
2. How can I give myself more warning that I'm getting close to my memory limit?

Some example data below

![2017-07-11 13_53_16-Universal Java GC analysis tool - Java Garbage collection log analysis made easy.png](https://community.atlassian.com/t5/image/serverpage/image-id/2945iD63E3CE7560DD126/image-size/large?v=v2&px=999 "2017-07-11 13_53_16-Universal Java GC analysis tool - Java Garbage collection log analysis made easy.png")![2017-07-11 13_53_55-Universal Java GC analysis tool - Java Garbage collection log analysis made easy.png](https://community.atlassian.com/t5/image/serverpage/image-id/2946iBD89E7161DF361CF/image-size/large?v=v2&px=999 "2017-07-11 13_53_55-Universal Java GC analysis tool - Java Garbage collection log analysis made easy.png")![2017-07-11 13_54_16-Universal Java GC analysis tool - Java Garbage collection log analysis made easy.png](https://community.atlassian.com/t5/image/serverpage/image-id/2947iF5018E205CE1350B/image-size/large?v=v2&px=999 "2017-07-11 13_54_16-Universal Java GC analysis tool - Java Garbage collection log analysis made easy.png")


Answers:
author: Dalectric
body: I found the Java DK JVisualVM connected to our test server really helpful for identifying the cause of the problem. See below.![2017-07-24 13_56_18-UKCOV-CON - Remote Desktop Connection.png](https://community.atlassian.com/t5/image/serverpage/image-id/4101iA7FA138EBAA9FE58/image-size/large?v=v2&px=999 "2017-07-24 13_56_18-UKCOV-CON - Remote Desktop Connection.png")


author: Dalectric
body: This has been identified to be caused by the File Conversion plugin, which has a memory leak and causes the available Java Heap space to fill up and then kills our server as it tries to recover it on GC.

We've tried up to 10GB Heap and this is still an issue so we've disabled the File Conversion plugin until this is fixed.

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

No idea when this will be fixed, but disabling the plugin reduces the functionality of Confluence for us, we were relying on this preview for collaborating on documents, or just easy preview of embedded documents.

<https://confluence.atlassian.com/confkb/file-conversion-service-causes-out-of-memory-errors-in-confluence-5-7-or-above-703398523.html>


Tags: garbage-collection

heap
Adding noindex to robots.txt file in Confluence
Asked by Assima Technical Information:

Is there a way to add noindex/nofollow to the robots.txt file in a Confluence Cloud site? I would like to make the site public so that anonymous viewers and read, however I would like to stay hidden from search engines. Any help? Tips? Advice?


Answers:
author: Nic Brough -Adaptavist-
body: Not yet possible in Cloud. See the request:

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

comments: author: Assima Technical Information
body: Thanks!


author: shehzad.iqbal
body: What about Server?  

Thanks.


author: Nic Brough -Adaptavist-
body: On server, your server's administrators can edit the robots.txt file.


Tags: anonymous

public
Change a memeber
Asked by Niels-Henrik Jakobsen:

xxx is currently member of Confluence but with wrong information

He has switched IBM with DB why his shortname and mail address have to be changed

How?


Answers:
author: Thomas Schlegel
body: Hi Niels,

I have removed the personal data from your question. This would be an invitation for spammers.


author: Nic Brough -Adaptavist-
body: You will need to talk to your administrators about that - we're end users, with no rights over your system.
When creating pages in confluence is there a way I can make parts of the pages unchangable?
Asked by cliff kirkman:

Creating template pages for users and some information/fields need to be unchangable, cannot see an option to do this I was wondering if there is a way.


Answers:
author: Stephen Deutsch
body: Normally no. The only way I can think of is using User Macros to insert the information (of course, the user could still remove the user macro, and the content of the user macro would not be indexed for the search). However, there is no built in functionality (or add-on even) that I am aware of that would provide this feature.

comments: author: Robert Reiner _smartics_
body: You could use the [Excerpt](https://confluence.atlassian.com/doc/excerpt-macro-148062.html) an [Excerpt Include](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html) Macros to include content from a page that is only readable for some group. There is also a number of commercial add-ons that provide richer support for excerpting/transclusion if required.

The limitations Stephen mentioned (some removes the macro from the including page) still apply.


author: Stephen Deutsch
body: Thanks, Robert, that's a great idea I didn't think about.


Tags: jira
Anonymous access only to Questions in Confluence
Asked by Miguel ?ngel Garc?a G?mez:

Hi all,

Is it possible to grant anonymous access only to Questions in Confluence? As far as I know, an anonymous access to Questions is posible selecting "can view" option in "Question for Confluence -\> Permissions -\> Anonymous Access". However, if an anonymous user want to navigate to "http://\<confluence server\>/questions" a login screen is prompted. To solve it, I added the option "can view" in "User \& security -\> Global Permissions -\> Anonymous Access -\> Use Confluence", but doing this, an anonymous user can access to spaces too.

Is there a way to restrict user only to Questions?

Thanks in advance.

Regards,

Miguel.


Answers:
author: Shannon S
body: Hello Miguel,

Do you need your anonymous users to browse questions only, or will they also need to ask and answer them?

Currently, in [CONFSERVER-51768](https://jira.atlassian.com/browse/CONFSERVER-51768) there is a feature request to consider anonymous users for answering and asking questions, but browsing should be currently possible.

Can you please confirm?

Kind Regards,

Shannon  

comments: author: Miguel ?ngel Garc?a G?mez
body: Hi Shannon,

Anonymous users would browse questions only.

Thank you.

Regards,

Miguel.


Tags: questions-for-confluence
Jira Activity Stream in Confluence - relative URL
Asked by Andrey Vorobets:

Hi,  
how we can use Jira Activity Project stream in Confluence ?  
I can add it, but issues have relative URL like  
<https://wiki.xxx.com/jira/browse/PKEY-55942>

Can we set somehow Jira base URL for this gadget ?  
(To take URL like <https://jira.xxx.com/jira/browse/PKEY-55942>)


Answers:
author: AnnWorley
body: I tested the Activity Stream gadget on a Confluence page and all the issue links went straight to JIRA. I tested with JIRA 7.3.6 and Confluence 6.3.1.

I found a bug report for the behavior which has not been reported fixed:[Links from JIRA Use Relative URLs for Activity Stream](https://jira.atlassian.com/browse/JRASERVER-41293). Yet I could not reproduce it. A customer posted a [workaround](https://jira.atlassian.com/browse/JRASERVER-41293?focusedCommentId=1062090&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1062090) on the bug report.

Please let me know in what versions of Confluence and JIRA you are seeing the bad links when you use the gadget.

comments: author: Andrey Vorobets
body: Confluence - 6.0.6  
Jira - 6.3.15  

Actually this is not bad link, link is right, but relative.  
If I change base URL Confluence to the base URL of Jira - link will be valid


author: Andrey Vorobets
body: I looked into the bug  
<https://jira.atlassian.com/browse/JRASERVER-41293>  
and this is exactly what we have  
will try a workaround and let you know  
Thank


author: AnnWorley
body: I had a 6.3.x JIRA test instance and when I tested with that linked to my Confluence 6 instance I got the relative URLs as you report. Somehow [Links from JIRA Use Relative URLs for Activity](https://jira.atlassian.com/browse/JRASERVER-41293) was resolved in a later version of JIRA.

I hope you can upgrade soon because 6.x has passed [End of Life](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) status.

I will comment on the bug to let people know it is not impacting JIRA 7.3.6.


author: Andrey Vorobets
body: Thank for you help !  
Workaround is works fine.  
Yes, we have plans to upgrade, but it will take time since we need to rewrite big pack of groovy scripts \& a pack of the custom plugins due to the API changes.