youngmon/atlassian-qna huggingface dataset:
Disable in-line comments for non-authenticated users.
Asked by Artem Fedai:

Is there a way to disable viewing in-line Comments on Wiki pages for non-authenticated users?

![inline_comment.png](/t5/image/serverpage/image-id/1787i3CCCDC6899BD6C0A/image-size/large?v=v2&px=999 "inline_comment.png")


Answers:
author: Kate (izi)
body: You can use [Talk - Advanced Inline Comments](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.talk.confluence-talk-plugin/server/overview) add-on. It provides the capability to set vieweing permissions for inline comments, on a [space level](https://docs.stiltsoft.com/display/public/Talk/Managing+Permissions#ManagingPermissions-4) and for [specific comments](https://docs.stiltsoft.com/display/public/Talk/Managing+Permissions#ManagingPermissions-1). You can use it to restirct viewing of inline comments for anonymous users.

Hope it helps.


author: Thomas Schlegel
body: Hi Artem,

there is a closed issue for that:

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

Atlassian won't add this functionality to Confluence, but in this ticket, you find links to possible solutions.

The question was also discussed here:

<https://community.atlassian.com/t5/Confluence-questions/Hiding-Comments-in-Confluence/qaq-p/17590>

comments: author: Artem Fedai
body: All links are about comments.

But I need to hide inline comments.
I want to update commit feild description message something like "please provide here your feedback"
Asked by Lakshman:

![commit.PNG](/t5/image/serverpage/image-id/1779i3D8BE92137D431D5/image-size/large?v=v2&px=999 "commit.PNG")

I want to update/customise commit field description message something like "please leave your suggestions here.."


Answers:
author: Davin Studer
body: You could do this with the [InProduct translation for Confluence](https://marketplace.atlassian.com/plugins/com.atlassian.translations.confluence.inproduct/server/overview) add-on. It will allow you to overrride the laguage translation resource for that section without having to get into code.


author: Nic Brough -Adaptavist-
body: You'll need to hack the core code of the comments system to do that.

It is just a language thing though - the phrase is held in a file which contains wording for all languages, so if you edit the contents of that, it's only a minor change.
I don't want to like button and label tab at page level? how i can remove?
Asked by Lakshman:

![likelabel.PNG](/t5/image/serverpage/image-id/1778iDF2E2A9FDFAB7F6E/image-size/large?v=v2&px=999 "likelabel.PNG")I want to remove like button and labels tab at page level only.


Answers:
author: Davin Studer
body: The [HideElements for Confluence](https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.hideelements-macro/server/overview) add-on can do just what you are asking ... and it's free.


author: Thomas Schlegel
body: Hi Lakshman,

you can disable the like-Button as described here:

<https://confluence.atlassian.com/doc/likes-and-popular-content-278695530.html>

And here is a trick, how to hide the labels:

<https://confluence.atlassian.com/confkb/how-to-hide-labels-in-confluence-page-using-javascript-in-specific-spaces-836603034.html>

But, why do you want to remove labels? They are so useful.

I've written an article about using labels:

[https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-Fun-with-labels-not-with-flags/ba-p/591122](https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-Fun-with-labels-not-with-flags/ba-p/591122?)

Maybe it will give you an idea, why labels should not be hidden ;-)
Can't recover admin access to Confluence 5.9.4
Asked by Oleg Moiseyenko:

As result of implementing user's authentication through LDAP directory we've lost our admin access to Confluence 5.9.4. The several attempts to recover it in accordance to <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html> article didn't help as we're getting blank Not Permitted page with \[You are not permitted to perform this operation.\] message on it. Any help on this is highly appreciated, thanks!


Answers:
author: Thomas Schlegel
body: Hi Oleg,

if you tried anything described on this page, I would advise contacting official Atlassian support:

<https://support.atlassian.com/contact/>

Good luck!

comments: author: Oleg Moiseyenko
body: Thank you Thomas, I am already doing that now!


Tags: confluence-administration
Unable to start confluence on server
Asked by LeeJongYoung:

Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:mananagedjobs (Start and stop the Managed Scheduled Jobs) - org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute query; uncategorized SQLException for SQL \[\]; SQL state \[72000\]; error code \[1555\]; ORA-01555: snapshot too old: rollback segment number with name "" too small ORA-22924: snapshot too old ; nested exception is java.sql.SQLException: ORA-01555: snapshot too old: rollback segment number with name "" too small ORA-22924: snapshot too old

Your server id is: XXXX-XXXXY-03UXX-XXXXX

how to fix ?


Answers:
author: Nic Brough -Adaptavist-
body: Atlassian admit that they don't know what this problem is. But there is at least an attempt at a fix - start at <https://confluence.atlassian.com/confkb/confluence-fails-with-ora-01555-error-300812340.html>


Tags: oracle
Can an @mention be nested inside Macro Markup?
Asked by Christopher Luce:

I'm trying to create an expandable task list, essentially:

```
[]{expand:Brief task description}Re-state the task here, providing any extra detail needed to complete the task. @user{expand}
```

The two square brackets don't get detected as a Task list item, but that's minor. using @mention does not work at all, where \[user profile link\] does work, but does not assign the task to user.

Thoughts?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Christopher Luce](/t5/user/viewprofilepage/user-id/1134696) ,

based on documentation <https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html> you can't do that.

Fabio
Confluence User Audit SQL
Asked by MikeB:

I am working to audit our Confluence Server instance (5.10.3). I am needing to find out all the users who are set **Active** and have not signed in within the last **90 days**

Below is the query we are working with, but unfortunetly it is not rendering the correct info. Would anyone be able to assist?

```
use confluence;SELECT u.user_name, d.directory_name, l.successdateFROM logininfo lJOIN user_mapping m ON m.user_key = l.usernameJOIN cwd_user u ON m.username = u.user_nameJOIN cwd_directory d ON u.directory_id = d.idWHERE (successdate < '2017-03-03')and u.active = 'T';ORDER BY successdate;
```


Answers:
author: AnnWorley
body: The following ran successfully on my PostgreSQL database and the results appeared valid:

```
SELECT u.user_name, d.directory_name, l.successdateFROM logininfo lJOIN user_mapping m ON m.user_key = l.usernameJOIN cwd_user u ON m.username = u.user_nameJOIN cwd_directory d ON u.directory_id = d.idWHERE (successdate > '2017-03-03')and u.active = 'T'order by successdate;
```

Are you getting an error message or an inaccurate result set?

comments: author: MikeB
body: No error message, but the result set is a little odd. When we run that query, we are getting some overlap in intent - that is, some of the results that display are already deactivated.

From poking around a bit, it appears to be related to the user_name field in cwd_user having multiple active values (such as a user showing up 3 times with 2 "F's" and 1 "T" value).

Our instance is running on MySQL rather than PostgreSQL.

Are multiple active values in cwd_user common/to be expected, or can you tell us if this is unusual or indicative of anything we may need to address?


author: MikeB
body: Just noticed - we are using:

* (successdate **\<** '2017-03-03') *instead* of **\>** - the purpose of our audit is to deactivate users who have active accounts but haven't logged in within 90 days
* It looks like our results are *ballpark* correct, but not sure why multiple active values for accounts
My new projects are not appearing in project select list field in the Software Project Template
Asked by Sebastien Aube:

I created the project hours ago.


Answers:
author: Nic Brough -Adaptavist-
body: I'm not sure what you mean by "project select list in the software project template".

If you just mean that you create a new project and can't see it, then it's likely to be the permissions - the default does not grant you "browse" permission, so the project is hidden.
Changing personal details headers
Asked by Richard McCance:

Is it possible to change the header detail within the personal details section of Confluence? For example I wanted to change the IM and Web fields to a different header.


Answers:
author: JP _AC Bielefeld Leader_
body: Without doing modifications to the code, this is not possible. If you're using an LDAP/Active directory connection, there is a possible solution: We use a free addon "echocat Adam". Works perfectly for our use case. You normally get a quick response from the developer. One needs some understanding of XML \& XML schema, but the default configuration give a good understanding how the addon works.

comments: author: Richard McCance
body: Jan-Peter,

Many thanks for your reply - I will have a look into that as we do use LDAP.
Using OAuth to connect to Google Sheets API with Confluence Cloud
Asked by Rebecca Weiss:

I am trying to create dynamic, user-friendly custom tables (read-only) from data in Google Sheets using Javascript. I'm using the HTML Macro for Confluence Cloud \[[link](https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.html.HtmlMacro/cloud/overview "HTML Macro for Confluence Cloud")\] .

My problem stems from the OAuth 2.0 that the Google API uses. I want to get users to log in using this quickstart guide \[[link](https://developers.google.com/sheets/api/quickstart/js "Javascript Quickstart | Sheets API | Google Developers")\] , but when I try to execute the code, the buttons won't show and I am unable to authenticate.

I am fairly certain the admin needs to configure the OAuth authentication to Google, but we are at a loss on how to do that. We have attempted following these instructions \[[link](https://confluence.atlassian.com/conf51/configuring-oauth-authentication-for-an-application-link-336169538.html "Configuring OAuth Authentication for an Application Link - Atlassian Documentation")\] but it hasn't worked.

Does anybody have any experience with this or have a clear answer? Thanks very much!


Answers:
author: AnnWorley
body: The doc you were following is unfortunately for Confluence 5.1 server: [Configuring Authentication for an Application Link](https://confluence.atlassian.com/conf51/configuring-authentication-for-an-application-link-336169536.html)

Please check out these articles:

[Configuring OAuth](https://confluence.atlassian.com/display/GADGETS/Configuring+OAuth)

[OpenID Connect](https://developers.google.com/identity/protocols/OpenIDConnect)

Please let us know any follow up questions.

comments: author: Rebecca Weiss
body: Thanks a lot for the quick reply, Ann! Will check out the articles in the coming days and get back to you.


author: Alex Medved _ConfiForms_
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) This is helpful, but is there a bit more detailed tutorial on how to configure Application Link to Google services (mainly we are interested to establish connection to google spreadsheets)?


Tags: authentication

confluence-cloud

javascript
New Page with Content Error 500
Asked by Daniel:

I need to create a new Page with some Content from another Page.  
But the Response are a 500 Error Message.  
The Template Page contain Macros which is not included by Confluence.


Answers:
author: Fabian Lim
body: Hi Daniel,

Make sure you have the plugins up to date and if they are not available anymore, you may have to remove the macros from the template to ensure it works. see [Managing Add-ons or Plugins](https://confluence.atlassian.com/doc/managing-system-and-marketplace-apps-25788666.html) to manage all your third party plugins.

Regards


Tags: copy

page

rest
User with particular email is unable to sign up
Asked by Andreas Johannessen:

I allow users to sign up for confluence page. However there is one user who never gets the verification email. It works for everybody else. Any solutions? Atlassian team does not answer.


Answers:
author: Nic Brough -Adaptavist-
body: Have you raised it with <https://support.atlassian.com> ?

I know Atlassian have had an issue with some of their mail recently.

However, the fact that it's just one of your users makes me want to ask what the difference between them and the users who do get the emails. Different domain? Are they outside your organisation? The usual culprit though - it's gone into their spam filters. Can you be sure they're not getting it and killing it inadvertently? Can you try a test mail from the server?

comments: author: Andreas Johannessen
body: They are all under same domain. I have control over that. If I create another test account it works.


author: Nic Brough -Adaptavist-
body: Ok, then it's almost certainly something in their email client or server settings that is binning the email.
HTML export does not work properly. Breadcrumb links are wrong
Asked by Vitalii Kushnir:

I am using Confluence which runs in the cloud of Atlassian. I have exported a Coufluence space in a HTML format. All link work correctly except links in the breadcrumb section.

```
<div id="breadcrumb-section">    <ol id="breadcrumbs">        <li class="first">            <span><a href="index.html">Main</a></span>        </li>        <li>            <span><a href="$exportUtils.getTitleAsHref($breadcrumb)">Section</a></span>        </li>        <li>            <span><a href="$exportUtils.getTitleAsHref($breadcrumb)">Subsection</a></span>        </li>    </ol></div>
```

After export it generated wront HREF attributes for the A tags:

```
href="$exportUtils.getTitleAsHref($breadcrumb)
```

What could be a reason of this problem and how it could be solved?


Answers:
author: AnnWorley
body: I am afraid you are running into a known issue:

[Breadcrumbs are not generating when using the HTML export feature](https://jira.atlassian.com/browse/CONFCLOUD-55093)

The suggested workaround is to import the space into a server instance and export it to HTML from there.


Tags: confluence-cloud

export

html
confluence account question
Asked by Anderson Hsu:

Dear all,

How can we setup new account first login confluence, and then they must change it's password? And how can we distable account when some account is setup more then 3 months? Thank you.


Answers:
author: AnnWorley
body: To force users to provide their own passwords you may set up email for your instance so that you invite the users rather than setting their initial password. [Configuring a Server for Outgoing Mail](https://confluence.atlassian.com/doc/configuring-a-server-for-outgoing-mail-151078.html)

Out of the box there is no user account expiration functionality but if you are using the server (not the Cloud) version, this plugin can help:

[Enterprise Password Policy - Confluence](https://marketplace.atlassian.com/plugins/com.intenso.confluence.plugins.confluence-password-policy/server/overview)


Tags: account
Sending notification mail to watchers if page properties report is updated
Asked by Bal?zs Juh?sz:

Hey guys,

I have a Page properties report which shows other pages with Page Properties macro (most important attributes). Is there any way to sending a notification to Page Properties Report watchers when it is updated (the high level report)?

Thanks


Answers:
author: JP _AC Bielefeld Leader_
body: As the page displaying the report just aggregates information from other pages, the page itself never changes. Therefore I don't see a solution here...


Tags: email

notification

report
After confluence upgrade from 5.92 to 6.2.0 images are not displaying
Asked by Shib Saha:

Hi,

I have upgraded confluence from 5.9.2 to 6.2.0, everything is fine. But images are not displaying.

Please help me here if anyone have faced the same issue and have the solution for it.

Thank You!!


Answers:
author: Miranda Rawson
body: Hi Shib,

Did the location of your attachments change? This can occur if Confluence is not looking for the attachments in the right place. Please use the documentation [here](https://confluence.atlassian.com/doc/attachment-storage-configuration-166876.html?_ga=2.73017363.1809248092.1496314120-578652607.1460622308) to ensure that the location of your attachments is correct.

Thank you,

Miranda

comments: author: Shib Saha
body: Hi Miranda,

Thanks for your comments.

No the location is same.

Attachments are located at: C:\\Program Files\\Atlassian\\Application Data\\Confluence\\attachments and same location is used in the Confluence Attachment storage. Even on editing the the attachment storage it is giving only option to "Locally in Confluence home directory" and another option is disable.

I don't know where is the issue.

Thank you!!

Regards,

Shib Saha


author: Miranda Rawson
body: In case of missing attachments we can also try the following two things:

* Re-indexing of the instance from scratch: <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>
* Following this KB about missing attachments: <https://confluence.atlassian.com/display/CONFKB/How+to+resolve+missing+attachments+in+Confluence>


author: Shib Saha
body: Thanks Miranda for the updates!!
JSD customer status is not available in JQL, any alternatives?
Asked by Effie Bagourdi [Nimaworks]:

JSD customer (request) status is not available in JQL. Has anybody found a good way to display the Customer Request Status in Confluence?


Answers:
author: CollinM
body: Have you tried the following?

project = projectname AND status in ("Waiting for Customer")

comments: author: Effie Bagourdi [Nimaworks]
body: Hi Collin, I refer to customer status (labels) used on top of the JIRA status in JSD.


author: CollinM
body: Hey Effie, would it be possible for you to upload a screenshot of what this looks like on your end?


Tags: jira-service-desk

jql
Category in sidebar of Spaces Dir has no Spaces
Asked by Sean Smith:

Question about Confluence Cloud:

According to the documentation, a category that has no spaces with that category should be deleted:

"If you remove all spaces from a category, the category will no longer appear in the Space Directory. There's no way to bulk remove a category, but you can choose the category in the Space Directory to find all the spaces it appears on, and then remove it from each space." ([source](https://confluence.atlassian.com/doc/use-labels-to-categorize-spaces-136647.html))

So how is this possible (see attached imgage)? How do I remove the "Navigation" category in this case?

I tried applying the "navigation" label to a space, then deleting that label, but that did not remove the "navigation" category.

![Space_Directory_-_Confluence.png](/t5/image/serverpage/image-id/1742iF829E0593C2C1AFC/image-size/large?v=v2&px=999 "Space_Directory_-_Confluence.png")


Answers:
author: Davin Studer
body: You might need to do an index re-build. It should disappear, but since it is not that would probably be your best bet.

comments: author: Sean Smith
body: Using the cloud (hosted) version, I'll get a hold of support to do that for us.

Thanks Davin!


Tags: confluence-cloud
How do I write a URL to link to an Anchor when the page name uses unsafe ASCII characters?
Asked by Jeannine Stuzka:

Hello,

With a Confluence page name like "? Page Name", how would the URL to an Anchor on that page be written?

I have tried the following:

1. Standard:
   * https:myserver.confluence.com/display/spacename/?+Page+Name#?PageName-Anchor
2. Using URL Encoding:
   * https:myserver.confluence.com/display/spacename/%E2%89%A1+Page+Name#%E2%89%A1PageName-Anchor
3. Using a Dec (with various syntax - with/with out "\& "or "#"):
   * https:myserver.confluence.com/display/spacename/\&#8801+Page+Name#\&#8801PageName-Anchor
4. Using a Hex (with various syntax - with/with out "\&"or "#"):
   * https:myserver.confluence.com/display/spacename/\&#x2261+Page+Name#\&#x2261PageName-Anchor
5. Using the Entity (with various syntax - with/with out "\&"):
   * https:myserver.confluence.com/display/spacename/\&equiv+Page+Name#\&equivPageName-Anchor
6. Using page ID
   * <https://myserver.confluence.com/pages/viewpage.action?pageId=1234567#%E2%89%A1PageName-Anchor>

Any other suggestions?

Thanks!


Answers:
author: Thomas Schlegel
body: Hi Jeannine,

this worked for me:

<http://myserver.confluence.com/pages/viewpage.action?pageId=1234567#id-?PageName-anchor>

comments: author: Jeannine Stuzka
body: It works for me too. (woo hoo!)

Thank you!


author: Thomas Schlegel
body: You're welcome :-)

If you think, your question is answered, please mark it as answered, so other users can find answered questions easier. Thank you.


author: Jeannine Stuzka
body: Got it! :)


Tags: anchor
Trying to resize images to page size in CSS for PDF export
Asked by Brad Bond:

My company creates PDFs for our clients, and these PDFs often include large images that can span up to two whole pages. I need help getting these images to automatically resize and appear on one page when I do my exports.

I have the following set up in the global CSS stylesheet:

/\* Keep Img Together \*/  
img {page-break-inside:avoid;}

/\* Keep Together \*/  
p {page-break-inside:avoid;}  

/\* Keep with Next \*/  
.wiki-content h1, .wiki-content h2, .wiki-content h3, .wiki-content h4, .wiki-content h5, .wiki-content h6, .wiki-content h7, .wiki-content h8, .wiki-content h9, .wiki-content h10, .wiki-content h11, .wiki-content h12 {  
page-break-after:avoid;}  

/\* Keep with Previous \*/  
.image-wrap, div.expand-control {page-break-before:avoid;}  

/\* Keep Table Together \*/  
table {page-break-inside:avoid;}

The unfortunate bit is that the images STILL seem to want to wrap to the next page, if their width allows them to fill out the previous page. I'm wondering if anybody out here has a solution to get the images to stick on a single page, possibly resizing themselves to achieve this effect? Any guidance here is very welcome.

Brad


Answers:
author: Christine Diamond
body: Hi Brad, I like your Keep-with-Next solutions for the headings and am looking forward to trying it. I am struggling with getting images to print correctly as well. Some either get cropped or disappear (in a table).

One option that works well, if all you have is large images that are not in a table, is to leave them their original size on the wiki and then add this setting to your PDF Stylesheet:

```
.confluence-embedded-image{ -fs-fit-images-to-width: 100% }
```

or

```
.confluence-embedded-image{ -fs-fit-images-to-width: 100% !important; }
```

Unfortunately, if you have resized other images or have images in tables, some of them get warped or disappear in the PDF output.

These guidelines work best for me:

* for big images that are not in a table, either resize them to 570px\* or less, or do not resize them, even if they are 3000+px;
* for images in a table, either do not resize or do test runs of your resized images to find the magic number for your graphics. I could not determine a guideline as the results seem random.

\*Pixel settings may vary. My monitor is 27" set to 2048 x 1152 resolution.

**Note**: If you do not resize the image at all, they should get shrunk to fit either the page or table container when you export to PDF. I found this to be true whether or not I used the fit-to-width setting in my CSS.

**Best practice** for image quality in print: resize graphics for how they should appear on the printed page before importing them to the wiki. Resizing usually degrades quality.

There are also macros for printing landscape pages that might help you, but I have not tried them yet.

Related thread: <https://community.atlassian.com/t5/Confluence-questions/images-with-100-width-in-PDF-export/qaq-p/375808>

I hope you find a solution. Please share when you do! Good luck!


Tags: css

export

image

pdf

resize