youngmon/atlassian-qna huggingface dataset:
How to track search queries in Confluence?
Asked by Stefan Eike:

Hi,

it would be nice to know for what people are searching to arrange the information architecture to their behaviour and to feed the Synonym plugin. Are queries logged somewhere? How do you handle that?

Best regards,

Stefan


Answers:
author: Septa Cahyadiputra
body: Hi Stefan,

Sorry, Confluence currently does not have such feature available. I hvae created a new improvement request here:

* [CONF-28959](https://jira.atlassian.com/browse/CONF-28959)

Feel free to address your concern and add more information on how do you want this feature to be implemented so our developer would be aware of it. We highly recommend you to vote on the mentioned feature request to raise the popularity, watch it so that you would be updated on it.

For more information on how Atlassian implements new features and improvement please see the following document: [Implementation of New Features and Improvements](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).

Cheers,  
Septa Cahyadiputra


author: Matthew J. Horn
body: By the way, you can track search keywords in a Confluence site by using Google Analytics.

comments: author: Priscilla
body: Matthew, consider me totally new to Google Analytics. Would you know how one can see the search keywords on a Confluence site by using Google Analytics?


author: Karen K
body: I'm trying to figure this out too. Any help would be appreciated!


author: Sergey Svishchev
body: A workaround is to enable logging at DEBUG level for com.atlassian.confluence.search.v2.lucene package but beware that search terms are logged after transformation and other sources in the app use the search engine.


author: Stefan Eike
body: Hi Septa,

thanks a lot!

Best regards,

Stefan

comments: author: Septa Cahyadiputra
body: it is my pleasure :)


Tags: confluence-administration

index

lucene

search
Odd text in header for Blueprints
Asked by Aaron Jones:

After upgrading from Confluence 4.3.3 to Confluence 5.1, we're seeing this text at the top of all our Blueprints:

```
com confluence-init.properties crowd.properties hash-registry.properties log4j.properties log4j-diagnostic.properties logging.properties mime.types osuser.xml osuser.xml.orig seraph-config.xml seraph-paths.xml velocity_implicit.vm velocity.properties
```

I'm not sure what's going on here. I've flushed the UI Templates cache and still not seeing anything. Google's not being helpful either.

![Error](http://i.imgur.com/3Ueuqge.png)


Answers:
author: Ryan Goodwin
body: Hi Aaron!

I ran into this problem on a support case. Please review the article I wrote and the resolution to fix:

<https://confluence.atlassian.com/display/CONFKB/Confluence+5+global+navigation+bar+gone>

Hope this helps!

comments: author: EddieW
body: Scared myself for a bit, quick reboot is needed after the change. WHat the heck is going on withthis issue? We were only getting it on the createpage.action


author: Aaron Jones
body: Eddie, we found that because we were using RefinedWiki, it actually masked the problem since it was using it's own template system. We saw this error any where the default Confluence theme engine was used, which in our case was only really the createpage.action.


Tags: confluence-administration
disabled profile still can access to the website
Asked by Selcuk Savas:

Hi,

I have disabled a profile couple of days ago but when I run daily login report I can see that the profile is used this morning.

Does anyone know how it can happen? How can I stop it?

Cheers,

Selcuk


Answers:
author: Septa Cahyadiputra
body: Hi Selcuk,

You might want to double check if the user in questioned used "Remember Me" feature as this issue might occurred if that is the case. Confluence keep the token alive and mistakenly thought the user is still online before it logged the user out.

Please note that this is just a theory which I haven't try to reproduce yet.

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Selcuk Savas
body: Hi Septa,

Thanks for the comment. I actually don't know. Even though the token has been kept alive, the user need to click login button to login (as I do - I set rememeber me as well) and in this case the system should not allow the user login as the profile is disabled.

I will test this theory and let you know.

Cheers,

Selcuk


author: Selcuk Savas
body: Hi Septa,

You were right.

I logged in with a newly created dummy account with our standard access groups settings.

I ticked rememeber me and then closed the session.

I went the admin area and disabled the account.

I re-opened the website and I logged in successfully but I cannot see any pages as due to the access group settings.

I will update my support ticket. It may cause some sucity issue for all Confluence users.

Thanks for pointing that out.

Cheers,

Selcuk

comments: author: Selcuk Savas
body: Hi Septa et al,

Atlassiaon support helped me to sort this issue out.

It is a bug actually but somehow it has been fixed with latest version.

We are on 4.1.4.

Cheers,

Selcuk


author: Selcuk Savas
body: Thanks Rian. Will do.

We have only one (default) directory managed in Confluence.

No external connection etc.

The odd thing I tried to login with it and it did not let me in. But somehow last successful login shows todays date.

Cheers,

Selcuk


author: RianA
body: That's looks unusual. May I know how many user directory that you have? Also, can you please double check to see if that user exists on multiple directories? I would suggest to raise a support ticket at <https://support.atlassian.com> to further investigate this issue.


Tags: disable

last-login

token
Confluence: cannot get back to dashboard in 5.1.1 (if user customized his home page)
Asked by Nari Man:

In 5.1.1 if user has customized his home page there is no bread crumbs (like in 3.x) to navigate the user back to the Dashboard. THe only way I can go to the dashboard is to type the URL.

Am I missing something? This can not be the way it is designed

Thanks

NR


Answers:
author: John Masson
body: Hi guys. This was an intentional change we made. There's been a ticket raised about it here - <https://jira.atlassian.com/browse/CONF-28719> - and it would be good to hear about how you use your custom homepage and Dashboard together in the comments of the ticket.


author: Nari Man
body: I added the following and it works.

Navigate to \<tt\>Confluence Admin \>\> Custom HTML\</tt\> and add the following to **At end of the HEAD**:  

```
<script>AJS.toInit(function(){    AJS.$('h1#logo').children().attr("href","/dashboard.action");});</script>
```


author: resah
body: Interesting :) Just tried it with the SDK, and you are right.

This invalidates the example content in the Demonstration space (<http://localhost:1990/confluence/display/ds/Using+the+Dashboard>), because it says:
> To get to the Dashboard from anywhere within your wiki, click the 'Dashboard' link at the top left of your screen.

I am not sure, whether this is intended or a bug, but I guess that a company would like to share specific/customized information via Dashboard and it would be a shame to completely prevent that.

So if you're going to create an issue at Atlassians, share the issue link here and I will vote for it :)


author: Rodrigo Girardi Adami
body: Hi Nashmarkt,

I'm not sure if I understood you well. It depends on the type of customization that the user performed.

If this is reproducible, I believe that you can open a support ticket so we can investigate and if the case, open a bug report or improvement request.

Regards,

Rodrigo

comments: author: Nari Man
body: Here is what was done. Confluence 3.5.13 data backed up, staging instance of 5.1.1 installed and data imported. In 3.5.13 instance there was no customization done to Look and Feel and I can see the breadcrumb.
Content Report Table - Number of displayed items limitation
Asked by Normand Carbonneau:

I added a Content Report Table macro on a Wiki page, and it is referring to a label which is associated to 25 Wiki pages.

Instead of displaying the 25 pages in the report, I only see 10. Is there a limitation to display only 10 items in this report? I don't see any place where I can specify this, or remove the limitation.

Thanks, Normand


Answers:
author: AgentSmith
body: Hi Normand,

Thanks for the feedback. Indeed, you are correct that only 10 results will be displayed (i.e. limitation). With that, we recently submitted a feature request to address this.

Please keep tabs on the feature request located here:

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

Again, thanks for the feedback!

Cheers,

Jason \| Atlassian


Tags: cloud

confluence-cloud
properties of a attachment
Asked by Tim1979:

is it possible with a macro to show the properties of a attachment?

for example

without macro = Word-Document

with macro = Version Word-Document lastModificationDate

i hope someonecan help me.

thank you


Answers:
author: Rodrigo Girardi Adami
body: Hi Tim,

I could fing this documentation which might help you: <https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments>

Depending on the fucntionality you would like, it may not be possible to show some information.

I hope that helps!

Rodrigo
Usermacro Page-Properties
Asked by Tim1979:

i need atable with the following information in a page  

* author
* creation date
* last edited
* version

these things i have found and it works in a usermacro

* $content.version
* $content.lastModificationDate

* but how can i reformat the time? I need this format day, month, year (01.03.2013)
* what is the name of the other fields author and creation date?


Answers:
author: resah
body: Hi Tim,

this might be a page you are looking for: <https://developer.atlassian.com/display/CONFDEV/Confluence+Objects+Accessible+From+Velocity>

It lists all objects, which should be available in most contexts. To format a date, I recommend

```
$generalUtil.getFormatDateSimple($content.lastModificationDate)
```

The class [GeneralUtil](http://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/util/GeneralUtil.html#getFormatDateSimple%28java.util.Date%29) offers other date format methods, too.

Regards

Theresa
Link to Local Files
Asked by Irene Daminelli:

Hi,

How to link a local file has been largely discussed, but I can't understand why, even if I've downloaded the extensions for Firefox and Chrome, it doesn't work.  
Can you explain me a simply way to use it?

Then, where do I put the \[file//...\]? In Link Advanced?

Thank you so much!

Irene


Answers:
author: Ryan Goodwin
body: Hi Irene,

Depending on which browser you're using you have to use different file:// notation. See the examples on this page. Testing locally, this worked perfect for me:

https://confluence.atlassian.com/display/CONFKB/Can't+Link+to+Local+Files+from+within+Confluence

I tested on Chrome, using Confluence 5.1 and the chrome extension. I followed the instructions to use file:////\<location\>

After saving the page, clicking the link, Chrome showed me the contents of the log file I linked to. See screenshot for details on my implementation.

![](../../upfiles/Screen_Shot_2013-04-15_at_1.33.10_PM.png)

Hope this helps!


author: Irene Daminelli
body: Hi Ryan,   
thank you for your support.  

I'm using both Chrome and Firefox. After downloading the extensions, I've noted "file:///\<location\>" (3 slashes) works for both of them. :))  

Thank you again!!   

Ps: Can you help me also for this issue: "User Macro: Dynamic Content"?  
You can find it always in Atlassian Answers.  

Bye Bye!
Confluence attachment macro - file column width
Asked by Frode Haugland:

Is it possible to make the file column in the attachment macro wider? Most of my files have longer filenames than the given width of the column and this gives me some trouble identifying them.

f


Answers:
author: Ryan Goodwin
body: Hi Frode,

Have a look at this improvement request:

[https://jira.atlassian.com/browse/CONF-22002?focusedCommentId=455293\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-455293](https://jira.atlassian.com/browse/CONF-22002?focusedCommentId=455293&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-455293)

I believe you'll be able to get the functionality you're looking for by using some custom CSS.

Hope this helps!


Tags: attachment
Jira Issues Macro: Limit number of displayed issues?
Asked by SallyD:

Is there a way to enable paging in the Jira Issues Macro. I want to display only 15 or 20 issues at at time and let the reader page through the full list.

Thank you

Sally


Answers:
author: MJ
body: Hi Sally,  
When you copy url the xml from your issue navigator, you will notice this particular section:  
tempMax=1000  
Change the 1000 to whatever you want to be the maximum amount of rows to be displayed on a single page.

comments: author: SallyD
body: Excellent. Thank you!!


author: MarkC
body: I'm not following that solution. When using the JIRA Macro in 5.1.2, there is no where that a URL is being put in and nothing for tempMax. It seems to immediately stop at 20 issues. I would like for it to allow a specified number.


author: speaktosteve
body: I'm seeing the same issue as Mark in 5.3.1 - where the number of rows is limited to 20. If I reduce the tempMax to 19 then only 19 rows are displayed. If I increase it to 21 then only 20 are displayed.

Additionally, the link under the table 'n more issues' ignores the tempmax value if it is set to less than 20. I.e. if I have 100 issues and my tempMax is 19 then the link will say '80 more issues'. It should say '81 more issues'.


author: caleon caleon
body: thx


Tags: jira
Exposing Selective Wiki content to 3rd party
Asked by Colm O'Brien:

We are looking to allow access to a space in our wiki to a 3rd party.

Much of our wiki content is un-restricted as it is currently only used internally on our intranet by company employees. Is there a straight-forward way to allow the 3rd party access to a specific space(and only that space) without exposing all existing content??


Answers:
author: SarahA
body: Hallo Colm

As a first step, you'll need to protect every space (except the one) from "anonymous" access. The documentation is here:

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

If you have a large number of spaces, it could be tedious and time-consuming, because there's no way to set the space permissions in bulk using the Confluence user interface. Instead, you can use the Confluence CLI add-on to set permissions in bulk:

<https://marketplace.atlassian.com/plugins/org.swift.confluence.cli>

See especially the "addPermissions" action described in the documentation:

<https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation>

This blog post is a little old, but still gives a good introduction to the CLI:

<http://ffeathers.wordpress.com/2011/10/20/confluence-cli-for-bulk-actions-like-deleting-or-publishing-pages/>

When the spaces are protected, you can give the 3rd party access to the wiki. You'll need to allow "anonymous" access to the wiki at site level. The documentation is here:

<https://confluence.atlassian.com/display/DOC/Setting+Up+Public+Access>

The above assumes that the wiki server itself is open to public access. It's worth checking with your sys admin team, in case it's behind a firewall.

I hope this helps!

Cheers

Sarah


author: John Masson
body: Colm, as well as Sarah's excellent steps, I've raised an Improvement request with your comment as I think this could definitely be simpler. <https://jira.atlassian.com/browse/CONF-28951>


Tags: permission
Move email thread to blog post
Asked by Svante Gustafsson Bj?rkegren:

Hi,

We are currently migrating to Confluence and have various wiki conversions and migrations ongoing. So far so good!

What we haven't figured out yet is how to migrate any on-going email threads into a blog-post in Confluence. Most of the new discussions are created in Confluence but we have a couple of looong-running discussions in different email threads that I would like to close and move over to Confluence. Any hints if this is possible?

The threads are long and I don't want to move them manually!

We are using Google mail and Confluence 4.3.7

Thanks in advance!

// Svante


Answers:
author: Svante Gustafsson Bj?rkegren
body: Found this plugin a while ago. It actually does the trick! It still has some way to go to be considered a great plugin but it is worth looking at.


Tags: blog

email
Is DefaultBandanaManager thread-safe?
Asked by Yaroslav Borovikov:

Hello!

I'm using DefaultBandanaManager in my plugins for Confluence 4.2.4, which are used in multithreaded environment.

So the question is: are methods like setValue and getValue thread-safe? And if not, please show me the right way to do it :)

Thank you!


Answers:
author: Oli S
body: In the past, had issues with that too.

I used the **TransactionTemplate** (imported from SAL)

You could find more information here:

[https://answers.atlassian.com/questions/109398/transactiontemplate-or-transactional](/questions/109398/transactiontemplate-or-transactional)

<https://developer.atlassian.com/display/DOCS/SAL+Services>

<https://developer.atlassian.com/display/CONFDEV/Hibernate+Sessions+and+Transaction+Management+Guidelines>

<br />


Tags: bandana
Table of Contents - Regular Expression
Asked by Steve Sweales:

I need to be able to supress certain headings within my table of contents on a Confluence page.

The headings I need to surpress are:

- Page Views  
- Recently Updated  
- Release Items (xx issues)

The xx within brackets will be different depending on what comes back from a JIRA feed.

I have absolutely no idea about regular expressions. Is it possible to write a regular expression to surpress these headings?

If so, would anybody be kind enough to help me out? :-)


Answers:
author: Steve Sweales
body: It's ok, figured it out myself ...

**Views\|Recently Updated\|Release Items.\*\|**

comments: author: Pauline Monroy
body: I used this to exclude a heading "Table of contents" itself :D


author: Pauline Monroy
body: Ok, I've hit a snag here.

I wanted to remove the headings Document details and Table of contents when using the TOC macro.

I used this regex: Document details\|Table of contents.\*\| in the exclude headings section.

It renders the correct result I need in the macro's preview. (Refer SS 1)

![TOC issue.png](https://community.atlassian.com/t5/image/serverpage/image-id/86560i3141BF07AEB95CAC/image-dimensions/318x200?v=v2 "TOC issue.png")

But upon publishing the page, TOC is empty.

I tested the macro again without the Regex, it works fine, included it shows me the headings I wanted to exclude.

What could be the issue here?


author: Pauline Monroy
body: Try **(Table of Contents\|Views\|Recently Updated\|Release Items).**

I used (Table of Contents\| Document details) and it worked.

![Toc Fixed.png](https://community.atlassian.com/t5/image/serverpage/image-id/86561iCCEEE9D8FDFA779B/image-dimensions/243x215?v=v2 "Toc Fixed.png")


author: m
body: Hi Steve,

Can you tell us which version of Confluence are you running?

Also, if you can attach a screen capture of your page. The reason I ask is that release items don't normally display on each page...so to see a screen capture would clarify.

Mary


Tags: regex

table-of-contents
Mediawiki-style templates: Transclusion and parameters
Asked by Greg Hoggarth:

I'm evaluating Confluence to replace a MediaWiki install that makes heavy use of templates with transclusion and parameters. Does confluence have equivalents to these, and if so, how easy are they to use? Are they fully feature compatible with mediawiki, or is it limited in functionality?

Also, if they exist, how easy is the importation process from MW to Confluence - will I have to run around afterwards and fix lots of templates up, or does it handle these cleanly without issues?


Answers:
author: Stefan Kleineikenscheidt _K15t_
body: For imports: <https://migrations.atlassian.net/wiki/display/UWC/UWC+User+Documentation>

For Transclusion, Confluence comes with the "Include Page" macro, which does not go anywhere near the transclusion features in Mediawiki.

Then there is Scroll Versions (<https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions>, commercial addon, developed by my company), which allows for better managebility of the re-use, but still has short-comings compared to Mediawiki's transclusion feature.

Cheers,  
-Stefan
Change Code block font-size
Asked by License Manager Stratech:

I've really like to change the font-size of a code block in confluence. Therefore i need to 'change' the css, this can be done in \> Space Administration \> Space Stylesheet part of Confluence.

![](../../upfiles/ScreenHunter__2013-04-15_09.43.57.jpg)

I'm struggeling trying to get the right css-code in there.

I've tried many different things, but i seem not to be able to fix this. Using inspect element in Chrome gave the the following:

![](../../upfiles/ScreenHunter__2013-04-15_09.45.29.jpg)

Looks i've got to deal with the ".syntaxhighlighter div", because if i'm changing the value of the font-size here (in the above image where my cursor is), the font actually changes.

Now the question is how to get this overridden in the Space Stylesheet....


Answers:
author: Sean Curtis
body: Your CSS selector is wrong. You are matching "code" (element) instead of ".code" class.

Even if you fix this, it won't work. Try this instead:

```
.syntaxhighlighter .code .container * {    font-size: 8px !important;    line-height: 20px !important;}
```


author: License Manager Stratech
body: The answer of Sean did do the trick. I did try different stuff, and at the end I came up with the following final solution:

```
.syntaxhighlighter .code .container *{    font-size: 12px !important;    line-height: 14px !important;}.syntaxhighlighter table td.gutter *{    font-size: 12px !important;    line-height: 14px !important;}
```

comments: author: Sean Curtis
body: You can comma-separate those two.

```
.syntaxhighlighter .code .container *,.syntaxhighlighter table td.gutter *{    font-size: 12px !important;    line-height: 14px !important;}
```


author: License Manager Stratech
body: Sean, you are right. First i had a difference between those two styles, thats why i had two. But at the end they were the same.... Thanx


author: License Manager Stratech
body: Is there anyone that can help me?


Tags: code-block

css
Can space categories be private (not seen by anonymous users)?
Asked by Shreena Patel:

Hi there,

I have a space which is made public for documentation however the entire list of space categories can be seen. Is there a way for some of them to be displayed for internal only?

Your assistance would be greatly appreciated.

Shreena


Answers:
author: Matthew Hunter
body: Hi Shreena,

An improvement request was logged in the past for this issue:

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

Unfortunately it's not something we're looking to fix at the moment, John Masson, one of our product managers, replied with:
> What you say does make sense right now, but in the longer term I think we need to start moving towards doing a better job of showing people what *is* available, at a high level anyway, and perhaps allow them an easy way to request access to it.
>
> So while having all these empty tabs around is an issue, I think we will ultimately want to solve it in reverse.

Cheers,

Matt


Tags: cloud

confluence-cloud