youngmon/atlassian-qna huggingface dataset:
Error While Posting Comment In Confluence
Asked by John Fitzpatrick:

When trying to add a page comment, we are encountering the error described on this page:

<https://confluence.atlassian.com/display/ONDEMANDKB/Error+While+Posting+Comment+In+Confluence>

The solution described seems suitable for the on-demand edition, however we have a local installation of Confluence.

Has anyone encountered and resolved a similar issue?


Answers:
author: hsuhailah
body: Hey there, I think you might be encountering the issue mentioned in this KB - [https://confluence.atlassian.com/display/CONFKB/Unable+to+Add+Comment+Due+to+Enabled+MySQL+Mode+NO_AUTO_VALUE_ON_ZERO](https://confluence.atlassian.com/display/CONFKB/German+Umlaut+is+not+rendered+correctly+in+Quick+Search)

Give it a check and hope it helps to fix the problem.

comments: author: John Fitzpatrick
body: This is the solution that worked - quite a simple one in the end. It could be worth mentioning which values are appropriate for sql_mode (if any) in the Confluence setup documentation.


author: RianA
body: It might be caused by corrupted plugin cache or index. In order to fix that, please [rebuild index from scratch](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch) and also [clear plugin cache](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache).

comments: author: John Fitzpatrick
body: Thanks for these suggestions - I'm just waiting until I can schedule some downtime to try them - will let you know how I get on.


Tags: comment

confluence-administration

mysql
Is it visible who is logged in currently?
Asked by Bruce Schlueter:

Hi folks,

I am looking for a way to build a macro that displays the currently users who are logged in? I can build a list that shows the last login date but I do not know if theses users are still logged in. Does anybody know a way how to achieve this?

Thanks, Bruce


Answers:
author: Miranda Rawson
body: Hi Bruce,

Unfortunately this will not be possible in OnDemand. The reason this feature is not available is because you need to add a plugin which is [not supported](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand); the [User Listener Plugin](https://confluence.atlassian.com/display/DOC/Configuring+the+User+List+Macro).

I must admit it's a bit confusing because the OnDemand User List macro itself still has the option to add Online/Offline users to the list, although it is not functional. It is possible that this feature will be implented again in the near future, as we are working on a new plugin framework that will hopefully become available in the next 6-12 months.

Cheers,

Miranda

comments: author: Bruce Schlueter
body: Hi Miranda,

Sorry I clicked the wrong button, we have our own installation. If I use the Plugin this only seems to work for offline users. We are running 4.3.2, is this a known issue? Should I contact support?

Regards, Bruce
Remove erroneous custom HTML
Asked by Kirstin Seidel-Gebert:

Hello,

I added erroneous HTML to the Custom HTML section in Confluence Administration (shame on me) and now I can't rectify it, because I'm locked out.

Is there a possibility to remove all / the specific custom HTML directly from the confluence installation?

Greetings,  
Kirstin


Answers:
author: Kirstin Seidel-Gebert
body: Thanks for your reply, Amalia.

I tried that, but the bug I introduced, resulted in an empty browser window. :) I forgot an \</script\> tag and the whole page body was considered as part of the script.

Finally, I found someone in our company with knowledge of mySQL and we removed the faulty script via an SQL update.

Now, one question came up to me: Shouldn't the editor of Custom HTML check for such simple errors that have such big consequences?

comments: author: JamieA
body: You should always test things like this in another instance. Even if jira checked for closing tags and so on, it couldn't catch all logic errors. A simple check would just give a false sense of security.


author: Kirstin Seidel-Gebert
body: Happily enough it was our staging instance of confluence I messed up. :) But nevertheless, it gave me some embarassment.

I agree, that user can't exspect a fully-featured HTML editor in Confluence, but I also think that some essential checks to avoid lock-out problems wouldn't be just convenient but necessary.


author: Fred Bunting
body: Just wanted to add my agreement that it is not acceptable that the 'Custom HTML' editor seems to have no checks whatsoever on the code entered. It does not have to be a full HTML-syntax checker, but the fact that a missing \</script\> tag can [render your Confluence instance irretrievably hosed](https://confluence.atlassian.com/pages/viewpage.action?pageId=648218529), has been a long-standing problem from Confluence 2 through Confluence 5.

A **Restore to Default** button would also be nice ... for those of us who can see the editor, but can't edit the text boxes.


author: Abilene Cruz
body: Thanks Kirstin. These steps helped a lot. :)


author: Abilene Cruz
body: Hi Kirstin,Would you mind sharing the sql script you used?Thanks!

comments: author: Kirstin Seidel-Gebert
body: Sorry, Abilene. It's too long ago, we couldn't reconstruct the SQL statement.

My colleague who has mySQL knowledge told me that he

* made a database dump
* searched for the faulty script in this dump
* looked for the BANDANAID of the database record, containing the content we wanted to remove
* applied an update (which removed the custom HTML) to this database record with this BANDANAID

Hope that gives you a hint.


author: Amalia
body: You can navigate your browser directly to \<confluence-url\>/admin/viewcustomhtml.action to delete/remove the custom HTML

<https://confluence.atlassian.com/display/CONFKB/Confluence+URL+list>


Tags: html
Can I add a custom code format into the code macro
Asked by Greg Parsons:

We want to use the code macro to format code blocks in our documents, but would ike to have syntax highlighting for the Maxiplan scripting language we are using. Is there a way to specify custom syntax highlighting other than the options available currently?


Answers:
author: RianA
body: HI Greg,

Unfortunately it's not possible to do that on OnDeman due to its [restricted functions](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand). However if you hove installed version, you can do it through the following [Answers](/questions/56081/how-do-you-create-a-custom-syntax-highlighting-option-for-the-confluence-code-block-macro).

Hope it helps.


Tags: cloud

confluence-cloud
What is the best practice for setting up the structure in Confluence?
Asked by Hannah-Rose Saul:

I am looking at setting up a team structure where we have multiple working groups.

Each of those groups want to collaborate on tasks (some shared and some individual).

If I set up my structure by working groups as spaces and tasks as pages then a task cannot be shared between groups.

On the other hand is each task is given a space how can I group the spaces so that a manager of the working team can see all of the tasks that they are responsible for?

Is it possible to have a space for each task and a space for each group and include links in the group to each task? The problem I found with this is that spaces tend to create silos that content from other spaces cannot be seen (for example a page tree) on the top space and navigation back to the teams' space is difficult.

Another thought I had was to set up each task as a separate space and categorise them by the team that would be working on it. But then I need an easy way for someone to navigate around their categories and the team can't have their own home page.


Answers:
author: Daniel Borcherding
body: Hannah,

With your set up it is absolutely possible to share information across multiple spaces. You can follow our guide on assigning space permissions which I will include below. This will allow you to set up tiers of user permissions to restrict content to a specific user population.

<https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>

My idea for aggregating information together would be centered around using the content by label macro. This macro works across all spaces and would allow you to tag related content together by label. Our document on using this macro is included below.

<https://confluence.atlassian.com/display/DOC/Content+by+Label+Macro>

comments: author: Hannah-Rose Saul
body: I have had a play around with the Macro and I am just wondering if there is a way to sort the list so that it appears as

Task 1 (Space)  
page 1  
page 2  
Task 2 (Space)  
page 1   
page 2

Also is there a way to edit the labels on multiple pages at once?
Will Team Calendars integrate/sync with a Lotus Notes calender?
Asked by Eric Mitchell:

My copmany uses lotus notes. I want to know if I can setup Team Calendar to synch with my lotus notes calendar?


Answers:
author: Paul Greig
body: Hi Eric,

Currently integration between Team Calendars and Lotus Notes is not available, there is an outstanding feature request. Please add you vote and comments here: <https://jira.atlassian.com/browse/TEAMCAL-482>

Thanks,

Paul


Tags: cloud

team-calendars-for-confluence
Is it possible to watch an individual attachment, rather than an entire page?
Asked by Stephanie Allen:

Does functionality exist that allows a user to watch an individual attachment without having to watch an entire page?


Answers:
author: SarahA
body: Hallo Stephanie

It's not possible to watch an individual attachment. I've also searched in the Atlassian Marketplace for add-ons that may do this, and haven't found any.

As an alternative, you could add a label to the attachment, and then build an RSS feed that returns results for all attachments with that label.

See the docs on building an RSS feed: <https://confluence.atlassian.com/display/DOC/Using+the+RSS+Feed+Builder>

I haven't tried it, but it should work. Let us know how it goes. :)

Cheers, Sarah

comments: author: Stephanie Allen
body: Thank you, Sarah. The RSS idea might be useful for general tracking, but I am not sure it would provide the type of alerts we are looking for if an attachment is updated or changed. Even if we sorted by recently updated, it would be a passive mechanism rather than an active one with an alert. But we'll give it a whirl.

Stephanie


author: Stephanie Allen
body: Improvement request opened on JIRA for same issue.

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


Tags: attachment

watch
Incoming Links in Confluence
Asked by Markus Sablatnig:

Hi,

we've linked our Jira and Confluence installations and I can't seem to get incoming links in Confluence to show up.

Linkin a Jira issue in Confluence works fine, and the corresponding Jira task will show that there is Confluence page linking to it.

But while linking a Confluence page from a Jira task works fine as well, the targeted page will not show which Jira tasks link to it.

It would be really great to have this functionality so we don't have to manually link back to Jira tasks.

From what I read in documentation, this should be possible and it appears that our configuration works fine in all other respects, so what am I missing?


Answers:
author: JohnA
body: Hi there,

The most common cause of these kind of issues, where everything else is configured correctly and it still isn't working, is that the SSL certificates for one of the applications isn't stored in the keystore for the other application. So, give the suggestions on this page a try and also you might find the related knowledge base articles linked below are also useful for this: <https://confluence.atlassian.com/display/DOC/Connecting+to+LDAP+or+JIRA+or+Other+Services+via+SSL>

All the best,  
John

comments: author: Markus Sablatnig
body: Hi John,

Thanks for the quick response, but that is not the problem. Obviously Jira can talk to Confluence, and the other way around.

What I need to know is: Does a Confluence page normally show incoming links from Jira (or other Confluence pages)?

Because I've read in several places that it should, but cannot see where.


Tags: application-link

jira
Personal Tasks Disappear
Asked by Dominick Marino:

<br />

After adding several personal tasks, opening them to add content, and hitting save they disappear after a page refresh or any navigation. Upon returning I see the You don't have any personal tasks yet with instructions on how to add some. Selecting show completed tasks also shows nothing.

<br />


Answers:
author: Dominick Marino
body: Support found the issue for me.

Based on this stack-trace we luckily found this documentation:

<https://confluence.atlassian.com/display/CONFKB/NullPointerException+When+Trying+to+Configure+Application+links>

Which basically tells that there was a problem in the Server ID, so there was no Server ID on this one. However to repair this problem I'd like you to follow the steps from this [KB](https://confluence.atlassian.com/pages/viewpage.action?pageId=181536632).

I hope this helps.

Kind Regards, Bernardo Acevedo Atlassian Support


author: Dominick Marino
body: See last comment


author: LuizA
body: Hello Dominick,

In a first approach I would suggest you to try to rebuild the content indexes of your instance and then see if the problem persists, you can do that by the following steps:

<https://confluence.atlassian.com/display/DOC/Content+Index+Administration#ContentIndexAdministration-RebuildingtheContentIndexes>

If doesn't work, please feel free to raise a support ticket at our [support.atlassian.com](http://support.atlassian.com) and then attach your 'atlassian-confluence.log' for a review.

Hope this helps.

Best Regards,

LJ.
os.encryption hash?
Asked by Mickael:

Hi,

I'm trying to pass my credential with os_username and os_password. However I did not find a way to secure my password. <https://developer.atlassian.com/display/CONFDEV/Password+Hash+Algorithm> does not seems to work for me.

How I can ensure security using a connection string like os_username=myuser\&os_password=mypassword.

I'm getting these value from a kerberized Apache and point the login.url of seraph-config to my apache.

Thanks


Answers:
author: twong_atlassian
body: Hi Mike,  
Depends on what you're trying to secure.

If you just don't want your uname password to show up in the access logs, you can do something like:

```
francois:curl twong$ curl --basic --user admin:admin 'http://localhost:8080/login.jsp?os_destination=%2Fsecure%2FDashboard.jspa&amp;os_authType=basic'
```

That is, you can use os_authType=basic to move the os_username/password stuff to normal basic auth.

If you are trying to secure the transport, then use https for the TLS. If you're talking about plaintext passwords in the code, that's a different ballgame.

comments: author: Mickael
body: I just did something easier.. Moved my request to POST instead of GET .... Works like a charm .. And yeah, I'm using SSL encryption as well.

Now I'm having my Apache doing a kerberos authentication and FW credentials to tomcat :)


Tags: kerberos

sso
Hide Sidebar by Default for Some Users
Asked by Giuliano C.:

Hello,

We need to allow users to choose to hide the sidebar navigation by default, unless the bring it forward by hitting the icon on the upper-right or the '\[' keyboard shortcut. We're fine to do this as a velocity macro template hack rather than a user preference, if necessary. Perhaps we could have a user group "hide-sidebar" for users who want it hidden by default.

Thanks a lot for any help.

Regards,

Giu


Answers:
author: Anselmo
body: I'm also interested in templates, which hide certain bars by default, because I need a kind of presentation mode for the introduction pages of training sessions. Such pages resemble PowerPoint slides pretty much and offer a bunch of drill-down opportunities.

Users and editors complain about the amount of space which is lost for bars, which are not relevant at all during presentation.

But the slidify option is no solution, because it restricts using include macro. Included pages could always contain headline formats which confuse the slidify plugin.


author: stuartu
body: I presume this is for Confluence 4.3? If so, I'd like to know how to do this too!

Any ideas anyone?


Tags: side-bar

wiki
How do I get Confluence to add the attachments macro to all pages?
Asked by scbarmoy:

We have a lot of people who create pages and then others will post a lot of attachments to those pages. I want the attachements macro to automatically be added to all new pages. I'm sure there is a way to add it in the template but I don't know where to add it nor the code to do it. Does anyone have an answer for this?


Answers:
author: Amalia
body: Which version of Confluence are you using now?

You can create a new template (**Confluence Admin \> Global Templates** ) and add Attachments macro in this template. Please refer to the following documentation for more info: <https://confluence.atlassian.com/display/DOC/Adding+a+Template>

Users need to use this newly created template every time they create a page (**Add \> Page from template**)

If you are using Confluence 4.2.4 and below, please note about this bug: <https://jira.atlassian.com/browse/CONF-18422>

comments: author: scbarmoy
body: I am using version 4.3. Thanks, this is exactly what I was looking for!


author: BernardoA
body: Hello,

Actually I don't know other way to allow add such attachments to all pages. However I created for you this feature request that may be implemented in a future version:

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

Feel free to comment and vote in this feature request.

comments: author: scbarmoy
body: Just to clarify, I don't mean adding attachments from one page onto a newly created page. I just want the default template for a page to include the attachments macro so that when someone creates a new page, the attachments macro will automatically be on the bottom of that page regardless of whether or not any attachments have actually been added yet.  

Sorry for any confusion.


Tags: attachment

template

user-macro
User not found in Manage Watchers
Asked by Evelin:

Hi,

I added some users in the group confluence-users. Then, I tried to add them as watchers to a page by using the *Manage Watchers* functionality. Unfortunately, the new users are not found when I search for them.

The space permissions allow confluence-users to *View* and *Comment*. I have other users in the same group, and I cand find them in Manage Watchers.

Maybe some of you can advice...

Thanks,

Evelin


Answers:
author: Evelin
body: Hi Daniel, I got around the re-indexing. I tried this morning, and could add the users to the watchers list.

Spontaneous remission, or does Confluence run some automatic re-indexing?

Cheers, Evelin

comments: author: Daniel Borcherding
body: Evelin,

Confluence performs an incremental index every minute. Very occasinally the task will not run as expected and the index will be put in a state that will not recover from. Flushing and recreating this index will removed that corruption as your index is rebuilt from data in the database.

Does this more accurately address your question?


author: Evelin
body: Thanks Daniel, our problem is resolved, and the information about the indexing is very welcome. We are new to Confluence and collect all information we can.


author: Daniel Borcherding
body: Evelin,

It sounds like you may want to reindex your Confluence from scratch. We have the following document that outlines how to perform this process.

<https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

The is likely some corruption in your index that is not allowing an incremental index to be kicked off. Removing and rebuilding the folder will remove this corruption and should allow users to show up in the watcher dialog going forward.


author: MatthewC
body: that because the auto-complete makes a call to a rest end point, while the search popup goes through a web action to submit \& return data.

The auto complete searches the content table (via the index) for the user

This is probably what the watchers is doing as well.


author: MatthewC
body: Can you find the usres if you search for them in the space permissions (adding them as individuals)


author: Evelin
body: Not in AutoComplete, only if I click Search and type them in.


author: Jakub Pierzcha?a
body: Hi Evelin

They would have to log in at least once (or you can log in for them) before you'll be able to add them to the watch lists

comments: author: Evelin
body: Thanks Jakub, I guessed so, but one of them has already logged in but is still not available. Maybe a second try will help :)

Hmm, I did another test, and it's not the login. I have other users who never logged in but are available in Manage Watchers.
Confluence search does not find personal profiles based on 'position'/job 'title'
Asked by Nic Hart:

I want to locate e.g.a director or directors.

I have users with title 'creative director', 'technical director', etc.

But search on 'director' does not find them. Including their title in the 'about' section of the profile and the profiles are found.

This is on Confluence 4.3.6 (current)


Answers:
author: FernandoA
body: Hi Nic,

At the present moment such feature is not available on Confluence yet.

However, based ont his case I've raised this feature request: <https://jira.atlassian.com/browse/CONF-28028>

I'd strongly suggest you to vote and comment on it to raise its awareness and also add yourself as a watcher for following further updates.

Cheers!

comments: author: Nic Hart
body: I would like to request that documentation is updated to clarify what fields are and are not searched. In particular this page <https://confluence.atlassian.com/display/CONF43/Confluence+Search+Fields#ConfluenceSearchFields-PersonalInformation> specifically includes a field 'title' which it says can be searched on. The fact that I had to spend a long time trying to find out what I was doing wrong was more frustrating than discovering it is not possible.

\[ If this table (of fields in 'personal information') means 'fields in personal profiles which you can search', then it should have added to it a column giving the user visible names of the fields. If it means something else then it should explain what it means and also state that it is not a list of such fields.

As to why search is looking at the 'about' field but not 'job title' - .....? I would call it a bug (is there a requirement document which would clarify this point :-) ). \]

rgds - will you raise a defect against the documentation (I would, if I knew how and also that it would be accepted...)


author: Matthew J. Horn
body: In addition to that page, you should look at this one, which has more detail about the search types/values:

<http://wiki.customware.net/repository/display/ATLASSIAN/Searching+Confluence+-+Advanced+-+Metadata+With+Lucene#SearchingConfluence-Advanced-MetadataWithLucene-DateType>


author: Nic Hart
body: thanks Matthew - that reference is completely clear. If the documentation removed the table I mentioned earlier and pointed here there would have been no issue.


Tags: search

user