youngmon/atlassian-qna huggingface dataset:
configure Jabber (XMPP) Service
Asked by Sweta Mahapatra:

When i try to add the IM Presence Macro and select the service as Jabber i get the following message

"An administrator must configure your server's Jabber (XMPP) Service before you can use this macro."

Please if anyone could tell me what i need to do to get this working

Thanks


Answers:
author: Shannon S
body: Hi Sweta,

Can you confirm your Confluence version for this issue so I can look into it for you?

Regards,

Shannon

comments: author: Sweta Mahapatra
body: ### Hi Shannon, {#toc-hId-1595087409}

### The version is Confluence 5.9.11 {#toc-hId--957069552}

Thanks

Sweta


author: Shannon S
body: Hi Sweta,

I had a look myself, and there's a link in order to configure the service:

![Screen Shot 2018-03-09 at 4.51.50 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/16788i25854E3FF3EEB583/image-dimensions/468x183?v=v2 "Screen Shot 2018-03-09 at 4.51.50 PM.png")

Once I click it, it takes me to this page:

```
CONFLUENCE-URL/admin/plugins/impresence2/jabber/config.action
```

Here you can enter the details of your Jabber server.

Can you let me know if you were having trouble setting that up? A reminder that you will need to be an administrator to configure this.

Regards,

Shannon


author: Serge Masson
body: Hello,

In my case, I'm the Confluence Administrator.

I configured the IM Presence Plugin, and the result when I use the macro :

<br />

*There was a problem logging into the Jabber (XMPP) service. Please check the configured credentials for the dummy account.*

In the "atlassian-confluence.log" file :

*2018-06-04 10:17:42,560 ERROR \[http-nio-8090-exec-9\] \[extra.impresence2.reporter.JabberPresenceReporter\] checkCreateConnection Unable to establish connection to jabber*   
*-- referer: [https://name.domain/pages/resumedraft.action?draftId=6553982\&draftShareId=21442a6a-24fb-462e-9178-d376320b67e5](https://name.domain/pages/resumedraft.action?draftId=6553982&draftShareId=21442a6a-24fb-462e-9178-d376320b67e5) \| url: /rest/tinymce/1/macro/preview \| traceId: ae841c19b07d0fd0 \| userName: confluenceadmindev*   
*SASL authentication failed:*   
*at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:209)*

*blablabla hundreds of error lines....*

What is SASL authentication ?

Do anybody have an idea how can I fix this ?

Thanks


author: Serge Masson
body: Well, it looks like I was using an admin account (as the Jabber dummy account) to login the addon. But we need an "End user" account.

So I asked the Jabber team to create a fake "End user" account, now I'm able to see presence for some people, not everybody... will dig the log later.
$helper.action.remoteUser.name doesn't return value
Asked by Franz G?ntner:

Hi there,

I want to show a certain code for a certain group of users. If've found this:

#if ($userAccessor.hasMembership('confluence-administrators', $helper.action.remoteUser.name)  
WORKS  
#end

It works, but only if I replace the ..remoteUser.. with a real Username. It seems that $helper.action.remoteUser.name does not return any value.

To be sure, I tried this:

$userAccessor.getGroupNamesForUserName($helper.action.remoteUser.name)  
$userAccessor.getGroupNamesForUserName('realUsername')

Second works, first not. Does anyone of you have an idea why? I am running Confluence 6.5.2

Thanks,

Franz


Answers:
author: Stephen Deutsch
body: It's likely that $helper.action.remoteUser either doesn't exist or returns the string name, therefore if you try to run .name on a string it will return null, as it's not a ConfluenceUser object.

Since you can use a string for this function call, I would recommend using $req.remoteUser instead.

comments: author: Franz G?ntner
body: Thanks! I've found out that $action.remoteUser.Name also works!


Tags: developer

macro
How do I set up an automated email system to ask people to accept an answer on their question?
Asked by Mike Buchanan:

I posted a question here a few days ago and got some answers and yesterday, I got an automated email reminding me to mark one of the answers as the accepted one. I would love to have a system like that for our Questions for Confluence instance. We get lots of people who answer questions but very few of the original posters will mark an answers as accepted. Is there any documentation that tells how to set this up?

Thanks!


Answers:
author: Jan
body: Just got the same email and came to the same question :)

comments: author: Mike Buchanan
body: I'm also starting to receive notification of badges earned.


author: Fabienne Gerhard
body: Same here!


author: Mike Buchanan
body: Hi Jan, are you able to convert your answer into a comment? I think it may get more attention if it shows as being unanswered. But maybe comments are turned off and it only accepts answers.


author: Jan
body: *I am sorry, I can only create answers and converting is not possible too. Otherwise I would have made a comment right away--*


author: Mike Buchanan
body: Thanks for checking :-)


Tags: questions-for-confluence
Repeat page title in page content on Confluence Cloud
Asked by Ellen Beentjes:

I would like to use the page title in the page in Confluence Cloud. Is there a way to do this?

Another way would be to create the page (based on a template) and create the page title upon Save from a specific fields in the page.


Answers:
author: Mike Desilets
body: Create a user macro and then place that new macro into your template.

Macro would look like:

```
## @noparams$content.title
```

comments: author: Davin Studer
body: Confluence cloud does not support user macros.


author: Mike Desilets
body: Well, like my tag said "I'm new here" - sorry.


author: Davin Studer
body: Please explain further what you are trying to do? I'm not quite understanding your question.

comments: author: Jivan Roquet
body: It seems that Ellen wants to be able to re-use the title of the page in the same page's content, when defining a template. When used, the template would automatically populate this placeholder with the actual page title.

Like, the template would look like:
> **Page Title**
>
> Hey we are on {repeat-page-title} and we hope you're enjoying it.

And when using the template, it becomes:
> **My Great Page Title**
>
> Hey we are on My Great Page Title and we hope you're enjoying it.


author: Ellen Beentjes
body: Hi Jivian,

That is exactly what I would like to achieve. Thanks for clarifying :-)


author: harry.jabr
body: Hi,

Was there a way to do this without macros? I've got the same requirement.

Thanks,

Harry


author: Marcel Kleinl?tke
body: Variables/Placeholder in Template or PageBlueprint should work.


Tags: cloud
Redirect new people to space when created account
Asked by Henrikke M?ller:

Is there some way people can be sent directly to a space when they have created an account?

We have self sign-up now, but after account is created they first get three choices, something like "make a ticket, see projects or see dashboard". There is no way to easily get to the homepage of the space they are supposed to be in?


Answers:
author: Davin Studer
body: Is this question for Confluence or Jira, because your terminology seems to be mixed?

comments: author: Henrikke M?ller
body: oh, sorry! Confluence. But we are also using service desk, so the employees should have access there also.

But in main; onboarding from creating and account and then be redirected directly to home space in confluence.


Tags: dashboard

permission
How to locate variable value(path) of JAVA_HOME variable?
Asked by Muhammad Bilal:

I want to know the variable value or path of JAVA_HOME variable.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: If you are trying to figure out the JAVA used by Confluence, the best way is to check under System information after Confluence is started up.

If not, you can look for the environment variable setting depending on your OS. In Windows, you can easily do it by navigating to the environment variables and in Linux, just do "echo $varibaleName" after logging in as the concerned user.
Not all users of LDAP group are also Space Admins
Asked by Adrian Wyssmann:

I use LDAP synchronization for user authentication and therefore I assigne user groups to grant permissions. Unfortunately I have the problem that not all users of the user group get the appropriate permissions applied.

So let's say I have a group "ACL_CONF_SPACE1" which contains 10 users. I assigne the "ACL_CONF_SPACE1" to "SPACE1" and grant all permissions.

Some of the 10 users are actually able to admin the space where are others are not. Any clue what may be the problem?


Answers:
author: Davin Studer
body: Are some of them in another group as well that does not have full permissions? If so that is likely why. I'm pretty sure deny permissions trump grants.

comments: author: Adrian Wyssmann
body: This applies for all users - also the ones having admin access. Basically there are a bunch of ACLs applicable from the LDAP but obliviously I only grant admin access to a particular ACL per space.

For the other applications no permissions are set at all

All users are per-default in the confluence-users group, which do not have admin access on the spaces.

However, when comparing the users the users who have admin access and the ones who have not it appears that they have the same set of ACLs assigned to their user.


Tags: ldap
"Create" popup loads endless after migration MySQL
Asked by Stefan Kirch:

I re-created the index from scratch like discribed in one of your support documents. - No change.  

Then I checked the suggestions from this support document: <https://confluence.atlassian.com/confkb/unable-to-create-pages-or-spaces-the-popup-loads-forever-after-confluence-upgrade-to-5-x-or-6-x-330793034.html>  

The check for "Cause 4" returns that the table spaces doesn?t exist.  

In the log file I couldn?t find any information that seems to be useful to me.  

How could I proceed to analyze that problem?


Answers:
author: Shannon S
body: Hi Stefan,

Could you just confirm with us the process you took to migrate to MySQL?

What version Confluence are you on? What database were you using previously? What version of MySQL are you on now? Was Confluence upgraded during the migration? And just to confirm, you are not able to create any pages at all in any space?

Thank you for your help.

Regards,

Shannon

comments: author: Stefan Kirch
body: Hi Shannon,

thanks for your quick reply.

I thought that I upgraded confluence a few days ago. But it seems like I had it wrong in mind. Looks like I just upgraded jira :-(

Yust checked the buil numbers in confluence.cfg.xml and it?s 7601 vs 7502.

Shame on me that I didn?t check again before.

How can I proceed now? I was thinking about:

- uninstall confluence

- install version 7502 (build in db like before)

- import backup

- upgrade

- migrate to mysql

Regards,

Stefan


author: Shannon S
body: Stefan,

If you're not migrating Confluence to a different server, then I would just use the process at [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html). Once you confirm that the upgrade went smoothly, at that point you can [migrate to the other database](https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html).

If you actually need to migrate Confluence to another server, you can follow [this linked documentation](https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html).

Regards,

Shannon


author: Stefan Kirch
body: Thanks for your reply.

Since I have been in a hurry I just did the following without waitung for your answer:

- reinstall the old version (directly with mysql database).

- Import the old backup

- upgrade the version

This worked perfectly fine. Thanks again for your help!


author: Shannon S
body: You're welcome, Stefan! Glad you were able to resolve it. :)

Take care, and have a pleasant week.

Regards,

Shannon
stretched results using gallery macro
Asked by Benji:

Using the gallery macro, I get several photo's which look very stretched, and thus ugly.

Is there anything I can do about this?


Answers:
author: Benji
body: Hi Thais and Shannon,

I just noticed that actually there is one big difference, which is the rotation angle of the picture. The stretched ones are portrait while the non-stretched are landscape.

I will submit an issue for it.


author: Shannon S
body: Hi Benjamin,

Can you let us know what version of Confluence you're using, and what's different with the stretched images vs not stretched?

Are the resolutions the same or all different? What is the file type?

Thank you for your help.

Regards,

Shannon

comments: author: Benji
body: Hi Shannon,

Thank you very much for your questions. We use the cloud version of Confluence. I don't really see a difference in the source image between the stretched and non-stretched ones.

It are all jpg-files taken by the same camera with the same settings.


author: thais
body: Hi, Benjamin,

I'm trying to replicate the problem on our test instance with different sizes and types of pictures, but it's working here.

Would you consider [opening a ticket with us](https://getsupport.atlassian.com/servicedesk/customer/portals)? This way, we can exchange the URL where it's happening and test *in loco.*
Confluence test environment replica from production
Asked by Kevin Walsh:

Dear list,

we need a regular test and training server as a copy of the production Confluence system (so we train on current data). While trying to setup this copy, I have troubles finding locations of information.

The copy process as such is easy and runs regularly as a Linux script:

Stop Confluence Instances \> Copy DB, Copy system files \> Start Confluence Instances

BUT before we start the test instance, we need to automate changes.  
This is what we already change:

- Proxy Name in server.xml

- License in confluence.cfg.xml

- DB connection in confluence.cfg.xml

Other settings I am at a loss to find:

- Site Title

- Server Base URL

- SMTP Server "From name" \& Server prefix

- Sidebar Information (as a constant reminder of the test system)

- Application Links (since the Test Confluence will need to talk to Test Jira)

- Application Navigator (so users don't return to production level)

- ....we may be missing some settings.

Can anyone point out the locations (I am suspecting them inside the DB).

Thank you in advance!

Kevin Walsh


Answers:
author: Davin Studer
body: **Site Title \& Server Base URL**

```
select * from BANDANA where BANDANAKEY = 'atlassian.confluence.settings'
```

**SMTP settings**

```
select * from BANDANA where BANDANAKEY = 'atlassian.confluence.smtp.mail.accounts'
select * from BANDANA where BANDANAKEY = 'atlassian.confluence.space.mailaccounts'
```

**Application Links \& Application Navigator**It looks like these are also in the BANDANA table. But it might not be so easy to just switch them out. You'll probably have to set it up manually to your nprd JIRA and then record down the settings and compare to your prd site to switch them out.

```
select * from BANDANA where BANDANAKEY like 'applinks.admin%'
```

comments: author: Kevin Walsh
body: Thanks!
How to build company glossary with Confluence Cloud
Asked by Ellen Beentjes:

Does anyone have experience with building their own glossary in Confluence Cloud?

There is only one plugin I can find, only with a price per user it is a bit high priced for us. So I am wondering if there may be other options or ideas, maybe by the use of macros (CYO) to get this done.

Thanks for your input!


Answers:
author: thais
body: Hi, Ellen,

Right now, there's no alternative for this add-on in Cloud version, and it would be necessary manually create and populate, for example, a table to be used as a glossary.

Searching the Community, I found another suggestion using a spreadsheet: <https://community.atlassian.com/t5/Confluence-questions/Glossary-quick-populate/qaq-p/387807>

There's a feature request in order to make Glossary add-on available for Cloud, as you can see here: [CONF-37580](https://jira.atlassian.com/browse/CONF-37580). We suggest you vote and comment on this request in order to increase its visibility.


Tags: atlassian-marketplace

confluence-cloud
Scroll PDF Exporter - Plugin disabled after update
Asked by Martin Lie:

I updated the Scroll PDF Exporter to version 4.0.18 after successful install of a new licence key.

However, after the update, the plugin is disabled, and enabling it results in an error: "This add-on failed to enable. Refer to the logs for more information."

The behaviour is still the same after updating the Scroll Translator, Scroll Exporter, Scroll Runtime and Scroll Platform plugin as well.

Now;

1) where are the logs for the components? General log for Confluence does not contain information.

2)what potential information in the log would remedy the situation - how can I make the plugin work again?


Answers:
author: Nils Bier _K15t_
body: Hi Martin,

Sometimes there are hick-ups with the Universal Plugin Managers when installing apps.  
Have you tried re-installing the app already?

If the issue still persists, can you please send us a Confluence Support ZIP to [support@k15t.com](mailto:support@k15t.com) ?

This will automatically create a internal support ticket in our system and we can further investigate.

How to create the support ZIP is described here: <https://help.k15t.com/creating-a-support-zip-111903659.html>

Best,

Nils

comments: author: Martin Lie
body: No, reinstalling to fix errors is a last resort in my book :-)

Nevertheless, if I uninstall and reinstall, - will our settings/templates be kept?


author: Nils Bier _K15t_
body: Hi Martin,

Yes, the templates will be kept after re-installation.

Cheers,  
Nils


Tags: scroll-pdf
"Oops, you've found a dead link"
Asked by Mary Ann Jaca:

Hi,

I'm getting the above error message everytime I open pages to make an update. kindly assist. Thank you.

Cheers,

Mary Ann


Answers:
author: Suren Raj
body: Hi, Mary.  

* Do you have permission to view and edit the page?
* Do you have permission to access the space?
* Is there any other facing the same issue when accessing the page you mention?

Cheers
Oops, you've found a dead link
Asked by Mary Ann Jaca:

Hi,

I'm getting the above error message everytime I open pages to make an update. kindly assist. Thank you.

Cheers,

Mary Ann


Answers:
author: Mirek
body: Did you tried to clear out the JIRA cache?

1. Stop the JIRA instance
2. Delete JIRA_HOME/plugins/.bundled-plugins and JIRA_HOME/plugins/.osgi-plugins
3. Restart JIRA

You might also need to reindex it after that.


author: Alexey Matveev
body: What kind of update? Could you provide the address of the page without the base url?
Is there a points system for JIRA similar to Confluence Questions?
Asked by Milo Cabahug:

Hi,

Is there a way to implement the point system that is available in Confluence where a user receives points when giving an answer, asking a question and/or answer gets accepted.

Is there a similar plugin or native to JIRA that gives points when the assigned user gets to complete the issue or moves the status?

Thanks.


Answers:
author: Patrick Cartier [Candylio]
body: Nothing native to Jira, but...

Check out this plugin: <https://marketplace.atlassian.com/plugins/com.bugpotion.jiraffe/server/overview>

You an write custom rules to reward different amounts of points for different actions.

comments: author: Milo Cabahug
body: Thanks for this. I was able to check this out and seems this is the only option for version 7.1 . I have tried applying this but encountered alot of errors. Thanks anyways.


Tags: gamification

jira
Installing a Custom Macro
Asked by William Shan:

Hey All,

For the life of me I can't seem to figure this out.

I'm looking to install [this](https://confluence.atlassian.com/pages/viewpage.action?spaceKey=DISC&title=Next+and+Previous+Links) custom 3rd-party macro that is **not**in the Atlassian marketplace to work with my team's Confluence.

However, **I'm unable to find** **the option in my settings.** I'm following these instructions [here](https://confluence.atlassian.com/doc/writing-user-macros-4485.html) and can't find the corresponding settings in my own window.

Do I perhaps not have the correct permissions?

Cheers.


Answers:
author: Stephen Deutsch
body: You should also be aware that if you are using Confluence Cloud then User Macros are not available.

comments: author: William Shan
body: Ahh, okay.

That's where the issue was.

Sad to hear that this feature is not available for Confluence Cloud yet, but at least now I know.


author: Hassan Aftab
body: Hi William

To create **User Macros** in Confluence, the user should have **System Administrator** permissions.

Please make sure you have the relevant permissions in Confluence.

Thanks,

Hassan


Tags: macro
New group not visible in Confluence Space permissions
Asked by ISI Admin:

This is for our Cloud Confluence instance.

I created a new group and added the necessary users. I then created a new space in Confluence and then went to the permissions page. When trying to add the new group, it does not appear in the list of groups.

If I go back to the Site administration where I created the group, I do see it listed. So it seems that the new group is not showing up when trying to add it to a space on the permissions page.

Any guess what may be going on?


Answers:
author: carolyn french
body: Can you try it again? Status.atlassian.com shows there were [Intermittent errors with Atlassian Cloud services](https://status.atlassian.com/incidents/c70wssf8ts4h) today, so that may have been affecting your instance.

You can subscribe to updates there if you want to be alerted any time an incident happens (upper right hand corner on status.atlassian.com, there's a button called "Subscribe to Updates").

comments: author: ISI Admin
body: Thanks! It's up now. I'll subscribe to those updates.


author: carolyn french
body: Great, glad to help!


Tags: group

permission

questions-for-confluence
Can include a comment in a table cell? If so how?
Asked by Archana:

Need help adding comment in table cell


Answers:
author: Jan
body: Adding a comment in a table cell should be no problem using the inline comment function - just highlight the cell content, click the inline comment bubble and add your comment

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


author: Patrick Cartier [Candylio]
body: Is the table built directly in a confluence page or is it from a CSV?

Are there contents in the table cell you are trying to comment on?

What version of Confluence are you using?

Are you trying to comment on the header of the table?
Adding users to JIRA CORE
Asked by Michelle Hull:

We host our own JIRA \& Confluence. Our support and maintenance is up in about 40 days. We currently are close to our max users. Can we purchase more users for our server without renewing?


Answers:
author: DanyG
body: Hi Michelle!

If you do an upgrade, you get maintenance included. This is something that cannot be separated or customized.

As per our Atlassian Licensing and Purchasing FAQ indicates on: <https://www.atlassian.com/licensing/purchase-licensing#upgradingserverlicenses-5>\] establishes,

**License upgrades include 12 months of software maintenance** commencing from the date payment is processed and cannot be shortened. Customers can synchronize the maintenance on other licenses to match the license being upgraded. Alternatively, when the maintenance for customer's other licenses is up for renewal the upgraded license can be added at that time.

I will encourage you to review the benefits of renewing maintenance! <https://www.atlassian.com/licensing/purchase-licensing#softwaremaintenance-2>


Tags: jira-core