youngmon/atlassian-qna huggingface dataset:
How can I track user data with Google Analytics?
Asked by Gary McCormick:

I want to remain using Universal Google Analytics outside of Confluence (rather than using a plugin).

My wiki is for employees and requires login, so I am in compliance with the User-ID policy as far as I can tell. My users login via an LDAP directory.

I'd love to be able to track who has viewed what.

I think I need to add a USER_ID to this code, but I'm not sure which one to use. I've tried global variables: $current_user_email and current_user_email

```
ga(?set?, ?&amp;uid?, {{USER_ID}}); // Set the user ID using signed-in user_id.
```

Additionally, the \&uid portion of the GA tracking code is throwing an error in my theme.


Answers:
author: Thomas Alfred
body: This is not currenty possible while complying with Google Analytics terms of service.

In your example, the {{USER_ID}} variable must be set using valid JavaScript. For example like so:

```
var userId = 'some value'; // you need to populate thisga('set', '&amp;uid', userId);
```

David Simpson discusses how to achieve this (and importantly how not to achieve this) in [Identifying your users in Google Analytics while complying with section 7 of the terms of service](http://davidsimpson.me/2013/10/17/identifying-your-users-in-google-analytics-while-complying-with-section-7-of-the-terms-of-service/).

He is [currently suspended from Atlassian Answers](/questions/242516/isn-t-it-bad-karma-to-suspend-some-of-your-top-atlassian-answers-contributers), so perhaps ask your question out in the open at Stack Overflow instead.

Also, don't add this into your theme. Stick it in the **Custom HTML** instead.


author: Branno
body: Gary,

I found a few resources that might be helpful:

[](http://davidsimpson.me/2009/03/18/tracking-atlassian-confluence-usage-with-google-analytics/)<http://davidsimpson.me/2009/03/18/tracking-atlassian-confluence-usage-with-google-analytics/>

[](http://davidsimpson.me/2013/10/17/identifying-your-users-in-google-analytics-while-complying-with-section-7-of-the-terms-of-service/)<http://davidsimpson.me/2013/10/17/identifying-your-users-in-google-analytics-while-complying-with-section-7-of-the-terms-of-service/>

Cheers,

Stephen Brannen \| Confluence Support


author: Serhii Riabovil
body: The following code works for me (userId represented by 32-digits key):

```
ga('create', 'UA-xxxxxxxx-1', 'auto', {
    userId:? '$userAccessor.getUserIfAvailable($req.remoteUser).getKey()'
});
```


Tags: analytics

confluence-administration

google

google-analytics
Personal space owned by Anonymous
Asked by Dayton Minor:

Our confluence server crashed and we restored the whole thing from backup. The whole thing worked like a charm, except confluence no longer shows my user having a personal space. The space still exists and I have all of my origional permissions and the personal space is now shown to have been created by "Anonymous"

My question is how can I get the space to \*once again\* be assigned to me as my personal space.

I am concerned about solutions that copy the pages from one space to another because I don't want to loose the blog posts I've made.


Answers:
author: Tiago Comasseto
body: Hi Dayton, possibly your personal space is not mapped to your user. We have this [KB](https://confluence.atlassian.com/display/CONFKB/Personal+Space+is+not+Mapped+to+User) that describes how you can check whether this is the case and how you can fix it.

I hope it helps.

Cheers

comments: author: Dayton Minor
body: You identified the problem and the solution correctly. Thanks!


Tags: anonymous

personal-space
[addon-Addteq.Excellentable]
Asked by SSchoepel:

When will Excellentable be available in OnDemand/Cloud? We really need to have the multiplication and division capabilities in tables to fully integrate our quality records into Atlassian tools.


Answers:
author: SSchoepel
body: I did contact the vendor directly, too. I don't know the whole process of how a plugin becomes available for the Cloud. It sounds like a combination of the vendor's submission and willingness to go through the Atlassian process/approval.

For those who are wondering, Excellentable will eventually they don't have a solid timeframe) be available in OnDemand/Cloud. The vendor is working on it.


author: Sukhbir Dhillon
body: @Sigrid Schoepel, We plan to release the new version of excellentable along with the onDemand version. We don't have a timeline yet for cloud version yet though.

comments: author: Sukhbir Dhillon
body: Responding to an old thread as I made a promise here. We released cloud version of excellentable and are working on bringing it to the same feature level as server including collaborative editing.


author: SSchoepel
body: See comment above.


author: Davin Studer
body: Unfortunately, most plugins created in the marketplace will never find their way into OnDemand. Atlassian controls what is put into OnDemand.

comments: author: Dave
body: Atlassian Connect was actually created for this - anyone can create an Atlassian Connect Add-On for OnDemand, so it is up to the vendors of existing plugins to port those to the new framework. If there is an existing plugin that you would like to see available in OnDemand, the best route is to follow up with the vendor to see if they are planning to implement a version in Connect that is compatible with OnDemand.


author: SSchoepel
body: That makes it sound simple, but from the plethora of plugins that would be very helpful to me but are NOT in the Cloud/OnDemand it must be a more onerous process than "just" porting them to the appropriate framework.


Tags: cloud

confluence-cloud
Mailserver Configuration doesn't work
Asked by Luke:

Hello

The confluence mailserver configuration doesn't work with our exchange server.

In the field hostname i wrote: mail.xy.com:25. The port 25 is open.

And then when I click on "Send Test E-Mail" this errorcode

> ```
> An error has occurred with sending the test email. If your mail server requires authentication, please ensure that TLS or SSL is enabled on your server for the specific mailbox. If your mail server allows anonymous connection, please remove the username and password from the configuration and try again.com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client	at
> ```
>
appears.

when I test it with the gmail-smtp server all works well.

I hope you can help me.

luke


Answers:
author: Nic Brough -Adaptavist-
body: That means Confluence is trying some form of authentication that Exchange is not set up to accept.

First check what you have set up for Confluence, then ask your Exchange admins to enable your user to authenticate to the Exchange SMTP system.

comments: author: Cedric DEVAUX
body: Your Exchange admin must grant your Confluence server to send email.


Tags: confluence-administration
Citrix Sharefile Connector
Asked by Alfred Roth:

Hi all

<br />

We are in the process of implementing Citrix Sharefile and are looking for a connector which would allow us to directly connect to confluence spaces / attachments as it is already possible for sharepoint and other document repositories.

<br />

Does anyone know of solutions that would allow us to do so ?

<br />


Answers:
author: Guilherme Nedel [Atlassian]
body: Hi Alfred at the present time, there ins't such level of integration between Confluence and the current tool. A workaround could be to use a [WebDav client](https://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence) as an input into Confluence until most of the content is migrated.

That also can be a suggested feature through <http://jira.atlassian.com>


Tags: confluence-administration
Can you save attachment versioning when attachments are moved or copied?
Asked by Laura Sims:

Based on my experience, whenever I move or copy an attachment to a new page, all I see is the latest attachment version. Version history is lost. Am I doing something wrong or is there a plugin I need?


Answers:
author: Giuliano C.
body: Hola Laura,

Based on the [Attachments Documentation Notes](https://confluence.atlassian.com/display/DOC/Attachment+Versions), we can see that Confluence doesn't track the history of the attachments while moving it. However, we just created a new feature request in order to check for this with our Atlassian Developers.

Please, refer to [this improvement request](https://jira.atlassian.com/browse/CONF-34517).

Hope it helps ya,

Giuliano


author: Laura Sims
body: The answer is acceptable. I'll hope for improvements in coming releases
How to pull the report from bamboo and publish in confluence
Asked by Aparnna K K:

Do we need any plug in inorder to pull the report from bamboo and publish in confluence. Or do we need to write any automated code for acheiving this. Could you please say the process in detail.

Thanks.


Answers:
author: David Diaz
body: I have the same issue. Don't know if there is an easy way to publish a report or artifact (an html test report) directly into a Confluence page. I'm not looking for inserting the Bamboo charts, status... already did that. I'm looking now to publish some of the outcome of the bamboo jobs: mainly the test reports, logs...


author: Branno
body: Howdy Aparnna,

Integrating Confluence and Bamboo will require setting up an application link between the two applications, and then using gadgets to insert Bamboo charts, status, etc. There is a KB that explains the requirements to set this up and the steps, [](https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Confluence)<https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Confluence>

Cheers,

Stephen Brannen \| Confluence Support
Table borders missing
Asked by ats:

Hi,

on a confluence page I want to use the table macro.

But some of the table borders are missing. Look s like a bug. It happen s every time I want to use the table macro. And it s also happening with 30 rows, that there are more row s without a border.

I also tried it with the markup... but same thing:

```
|| Header ||  Header  || Header  || Header ||  Header  ||   Header  ||   Header  || | Text | Text | Text | Text | Text |  Text |  Text || Text | Text | Text | Text | Text |  Text |  Text || Text | Text | Text | Text | Text |  Text |  Text || Text | Text | Text | Text | Text |  Text |  Text |
```

As you can see there are two rows without a border, but they are two rows.

Conlfuence Version 5.4.4

![table](http://picload.org/image/lwcicco/confluence_table.jpg)


Answers:
author: Robert Cavanna
body: I've run into this now that the wiki editor is gone (Confluence 5.5.3). I frequently copy tables from Google Docs into Confluence. In Edit mode, I can see the borders, but most of them go missing once I view the actual page. The only border I can see is above the first cell. When inspecting the HTML source, thead is after the tbody which is odd.

I've been using the following workaround:

1. Paste your table from Google Docs into Confluence
2. Create a second table using the Confluence WYSIWYG editor. Make sure the new table has the same number of columns as the one you're bringing over from Google Docs. A couple rows should be sufficient.
3. Copy all of the content from the initial table you pasted.
4. Paste that content into the newer table.
5. Get rid of the table you initially copied over.

I've found that this allows all of the borders to show up once the wiki page is rendered.

comments: author: Chad Barnes
body: Thanks for the workaround! I had the same use case as you described.


author: Tim Daniell
body: Thanks! Had the same issue and this worked for me also :)


author: Guilherme Nedel [Atlassian]
body: Hello Ats,

There is a raised bug for the behavior, [CONF-27711](https://jira.atlassian.com/browse/CONF-27711) please post your usage case to the ticket thread as such the team can have broader information on the matter.
Is it possible to add a front cover to a PDF export?
Asked by Emma Allfree:

Subject says it all really. We're using Confluence 5.3.

Thanks, Emma.


Answers:
author: Giuliano C.
body: Hey Emma,

For customisations in Confluence PDF, were you able to take a look at the following articles, that will guide you and provide you some good information to perform such customisation to the fron and other details if needed?

1. [Customising Exports to PDF](https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF)
2. [Advanced PDF Exports Customisation](https://confluence.atlassian.com/display/DOC/Advanced+PDF+Export+Customisations)

Hope it helps ya as a first insight here!

Cheers,

Giu

comments: author: Emma Allfree
body: Thanks Giu, I managed to get a very basic cover. Looks like I need to study the css a bit more to redesign it now...
File Server in Confluence
Asked by ats:

Hi,

is it possible to inlcude/show/link from an confluence page to an windows file server?

Confluence Version installed: 5.4


Answers:
author: Davin Studer
body: You can link to a windows file share. When you create your link select "Web link". Then put the path to the file in the address box. It needs to be in this format file://///path/to/file.txt. Yes that is five slashes at the front. the first three are part of the protocol ... file:///. The next two are the beginning of the UNC path. Keep in mind by default only IE will open link with the file protocol. You can get extensions for Chrome and Firefox to add that ability but they won't do it out of the box.

comments: author: Steven F Behnke
body: I was under the impression that Internet Explorer blocked that behavior by default as well. Any site that's in Internet or Restricted sites will fail to open UNC paths. Obviously you can remove this restriction or add pages to Intranet or Allowed.


Tags: confluence-administration
Can I use AD group name confluence-users
Asked by Sabu Nair:

Hi , I am setting up crowd and MS AD for confluence user administration. Is it ok to use AD group name 'confluence-users' for user management?.


Answers:
author: jing_hwa_cheok
body: Hi Sabu,

The answer is yes! You can use 'confluence-users' for the user management in your MS AD. Confluence group permission are identified by group-name therefore if you have assign 'confluence-users' group to the Confluence user in the AD side, if the user are synchronize with their 'confluence-users' group membership in Confluence, they will automatically gain the permission of a 'confluence-users' in Confluence.

<br />

<br />

Regards,

Jing Hwa
Help with Confluence 4.3 -> 5.5 upgrade: plugin initialization failure?
Asked by M:

I'm trying to do a manual upgrade of our MySQL-backed Confluence 4.3.5 instance to version 5.5.4. Per the instructions, I edit confluence-init.properties to set confluence.home to our *existing* Confluence home dir, then I start Confluence. I get this error in the logs:

```
ERROR [main] [internal.util.concurrent.RunnableTimedExecution] execute Closing runnable for context NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.upm.atlassian-universal-plugin-manager-plugin, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
```

I found this old defect that explains a similar issue:[](https://jira.atlassian.com/browse/CONF-21986)<https://jira.atlassian.com/browse/CONF-21986>. (As an aside, why does that have resolution "fixed"? The tenor of the advice is merely "try this, good luck, and Godspeed".)

Are the steps described in that defect still a potential fix? It is quite a hack. Is there **anything** else to try? I've been working on this for days and at this point, I'd even be satisfied with disabling plugins entirely! Thanks.


Answers:
author: Steven F Behnke
body: That ticket is marked "fixed" because it was reporting the conidition for upgrades to 3.5.x (which appears to be fixed by repairing the bandana table)

The issue for 4.x is still open here: <https://jira.atlassian.com/browse/CONF-23301>


author: z
body: I'm not saying that this is the answer but check the transaction isolation level of the database. It should be read committed. If its not you can set this with the db property:

```
transaction-isolation = READ-COMMITED
```

or with SQL

```
SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED
```


Tags: confluence-administration
User Permissions
Asked by AshleyM:

Hi there,

I have been using Confluence for a little while now and like to think that i understand the permissions as an admin, however i am completely stuck on this one.

The group 'Users' seems to have some kind of magical power that gives users permissions to create spaces and create pages in spaces.

The confusing part is that i cant find any permissions granted to this group for such activity.

The 'Users' group also has the "Can Use" under Global Permissions unchecked - which i would have assumed meant this group did absolutely nothing in Confluence?

I have looked through the documentation and cant find anything relating to this group either (sorry if its there and i just cant find it)

Would someone please explain this as my head hurts trying to figure it out now.

Thanks,

Ashley


Answers:
author: AshleyM
body: OK, after playing around with it for a bit it seems that the "Can Use" option is just used to allow a group to be used for license allocation, nothing more than that.

Hopefully someone else will find this information useful and sorry for being a bit thick...


author: AshleyM
body: UPDATE - So it was me being slightly stupid...

It appears as though the "Create" button in the top menu shows if you have permission to create a page under a space for any space you are in, but doesnt necesarily mean you can crate a page under that space. Double dutch?

For example, i have navigated to the TEST space, which i do not have permission to create pages. But i do have permission to create pages under the DEMO space. The "Create" button will still show when i am in the TEST space, but when lcicked on will only allow me to create under the DEMO space.

I am still puzzled however by the Users group having the "Can Use" tick box unchecked, what does this mean exactly?


Tags: confluence-administration
Delete my account
Asked by Verdevero srls Fabrizio Zanetti:

Hy, i'd like to delete my account. I want no longer pay.

Thank you


Answers:
author: Verdevero srls Fabrizio Zanetti
body: Nic, i didn't tell you to answer in a few minutes. I commented my first question only because it wasn't a question.

Thank you for answering me.

Fabrizio

comments: author: Nic Brough -Adaptavist-
body: Ah, ok. It just seems a bit odd to comment straight away (even if it's not written as a question, it was very clear what you were asking!).

I know where you're coming from though - I often think I could have done better just after clicking "post". There is an "edit" option for your own postings which I use all the time in these cases.


author: Nic Brough -Adaptavist-
body: Give us a chance! We can't answer every question in 30 seconds!

Short answer is that you can NOT delete it. For audit and legal reasons, Atlassian cannot delete an account completely (for a while anyway. If it remains inactive long enough, it can be removed)

You will need to contact Atlassian support or sales in order to shut the account down and flag it as no longer needed.


author: Verdevero srls Fabrizio Zanetti
body: How can i delete my account?
Is there an API for ondemand user management
Asked by Ben Gidley:

Is there an API for on demand user management?


Answers:
author: Pedro Cora
body: Hi Ben,

Not yet. Take a look at this improvement: [](https://jira.atlassian.com/browse/AOD-7201)<https://jira.atlassian.com/browse/AOD-7201>

-- Pedro

comments: author: Ben Gidley
body: Thanks - I'll vote for it!


Tags: cloud

confluence-cloud
Participants custom field not working in JQL
Asked by Bernardo San Juan:

Hi,

I have enabled the Jira toolkit plugin in our OnDemand instance, however, when I try to use the "Participants" filed:

Participants = currentUser()

Even though I am assigned, reported and commented in many issues no results are diplayed on the issue navigator. Any idea why?

Cheers


Answers:
author: Tarun Sapra
body: Just to add what Nic has already shared, I refrain from using names of custom fields in the JQL instead use "cf\[1003\]" i.e. the id of the custom field

comments: author: Bernardo San Juan
body: I tried id participants custom field ID in our OnDemand instance, not working :(

However, thks :)


author: David Flood
body: worked.. thanks a lot.


author: David Flood
body: ok perfect. found it. Just added it and now re indexing.

I will let you know how it goes


author: David Flood
body: I have added the addon to my ondemand jira and the participants is not working i get:

Field 'participants' does not exist or you do not have permission to view it.

Can someone please help? I basically enabled the addon and re indexed.

comments: author: David Flood
body: when i search for participants i get the below message :

Your search did not match any custom field types.

[Custom field types](https://intelligentpayments.atlassian.net/secure/admin/ViewCustomFields.jspa) have been found in other categories


author: Bernardo San Juan
body: ![](../../upfiles/Capture_235.PNG)


author: Bernardo San Juan
body: Have you created the custom field?

If not:

1. go to admin
2. Issues
3. Custom fields
4. add custom field
5. search for "Participants"
6. Add field
7. Then should work


author: Bernardo San Juan
body: Click on the "All" category and then search there, you are searching on the "Standard" category


author: Nic Brough -Adaptavist-
body: I think, as Bernado has suggested, you are missing a step.

You need to:

* Enable/install the plugin
* Add a new field, of \*type\* Participants, and called something like "Participants"
* Re-index Jira

It sounds like you are assuming that just adding the plugin is enough - it is not, you need to add and index the field as well.


author: Bernardo San Juan
body: when you search in custom fields menu I supose?


author: Nic Brough -Adaptavist-
body: Have you done everything you need to enable this?

1. Created a new field of type participants, called participants, with a global context? (I assume you probably have, but need to check!)

2. Re-indexed the entire installation

comments: author: Bernardo San Juan
body: Hi and tks for the quick reply,

1. Custom field is created with global context (/)

2. How do I re-index the installation? by disabling and enabling toolkit again?


author: Nic Brough -Adaptavist-
body: Admin -\> Indexing -\> Reindex


author: Bernardo San Juan
body: It worked, many thks!
Forum feature in Confluence?
Asked by Rumceisz:

Hi All,

we want to use forums in our Confluence. Which is the best feature/plugin for that?

Thanks for your hints!

Rumi


Answers:
author: Nic Brough -Adaptavist-
body: Depends on what you're looking for, but there's two basic options - Adaptavist's Community Forums and Atlassian's Questions addon.

They are different, forums really is aimed at replicating the multi-user, multi-thread structure most other forum software implements, and Questions is very much more like a support/Q\&A site. I'd try looking at both though.

(Disclaimer here - I work for Adaptavist. Please don't take this as a sales pitch, I'm just pointing out that it's intended to do forums in Confluence and might suit you. I don't actually work with it much myself, I'm in a different area, although I have worked with older versions and it worked well then)


author: Yagnesh Bhat
body: Confluence Questions plugin :

<https://www.atlassian.com/software/confluence/questions>


Tags: confluence-administration