youngmon/atlassian-qna huggingface dataset:
Where has the version-history macro gone to in v6.1.1?
Asked by Pat Lau:

The Confluence version that I was using got upgraded to v6.1.1 and now I can't find the version-history macro anymore. As a result, all my wiki pages that use this macro show "Unknown macro: 'version-history'.

![version-history_unknown macro.png](/t5/image/serverpage/image-id/359i39176D5C1676F608/image-size/large?v=v2&px=999 "version-history_unknown macro.png")

Has the macro been obsoleted? Or is there a plug-in that I need to install?

Please advise me. Thanks!


Answers:
author: Jan-Peter Rusch
body: I guess the version-history macro is part of the Page Information addon from Adapatvist. We found out the hard way that this addon now relies on the Script Runner for Confluence addon, which is not free. You can try the Script Runner addon for some weeks. We finally decided to buy it, as it saves us a lot of time when copying space or on certain admin tasks.

comments: author: Pat Lau
body: Thanks for the reply, Jan-Peter! I appreciate it.

How much did the Script Runner addon cost?


Tags: macro
Running Confluence over SSL
Asked by earlramirez:

Good Day All,

I have successfull enabled SSL on my lab confluence instance and will like to implement it in a few weeks on two production instances. By default when you generate the self signed certificate its a few months; therefore, I will like to know how can I create a certificate for a year or two.

I would also like to know if the same document "<https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html>" can be used when the certificate has expired to renew it?


Answers:
author: Daniel Eads {unmonitored account}
body: Hi Earl,

When pushing this out to your production instance, you'll want to get a certificate from a trusted Certificate Authority such as Verisign, GeoTrust, Comodo, etc. These providers charge a fee for their service. When you purchase a certificate through a Certificate Authority, you can choose what length of time the certificate should be valid for.

As a rule of thumb, it's easier to manage SSL certificates through a reverse proxy such as nginx or Apache than directly through Tomcat (the application server for JIRA and Confluence). You'll also get some side benefits by using a reverse proxy such as better connection handling, gzip compression, and the ability to make use of http/2.

Check out this Atlassian article on setting up nginx with HTTPS in front of Confluence: <https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html>

I've also written some more detailed instructions on getting nginx set up if you're using CentOS/Ubuntu: <https://danieleads.com/turbo-charging-your-confluence-with-nginx/> - small caveat that my article doesn't contain the extra lines in your configuration that you need to get collaborative editing working in Confluence 6.0 - but this only affects Confluence 6.0 and not any versions before/after 6.0.

comments: author: earlramirez
body: Hi Daniel,

Thanks a lot for your response, it's highly appreciated, I was under the impression that Atlassian does not support any other web server apart from Tomcat.

I will give Nginx a try in the lab instance and see how it goes.

Thanks again.


author: josh
body: Hey Daniel that's a great nginx tutorial! I'll have to try that myself. The chart with the load times, wow. I'll have to benchmark my current apache vs nginx.


author: Davin Studer
body: As of Confluence 6.1 yo don't need any config changes on the reverse proxy to get collaborative editing working over SSL. :)


Tags: ssl
HTML Macro inside EXCERPT macro
Asked by ahakobyan79:

Have an HTML macro with HTML code, when include that into EXCERPT macro and save, the page brakes the html structure and many items are changed and some missing.


Answers:
author: Mirek
body: This might be due similar case like described here

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

It is hard to troubleshoot since we do not see whole HTML that is added so cannot reproduce.

Basically in such a situation to troubleshoot would be nice to Install [Confluence Source Editor plugin](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor)
Is it possible to populate table cell values dynamically via Rest API
Asked by Srini CA:

Hi,

I am trying to get code coverage from Sonarqube via Rest API and would like to populate it in JIRA confluence table cells.

Do we have any macro available for this scenario ?


Answers:
author: Mirek
body: Maybe this plugin can be useful?

[https://marketplace.atlassian.com/apps/1218460/sonarqube-connector-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1218460/sonarqube-connector-for-confluence?tab=overview&hosting=cloud)


Tags: macro
Confluence Email Template Customization
Asked by David Cothran:

I am new to Confluence, and have been brought on board for a very specific programming task.

My company would like to customize ALL the Confluence email templates so that they simply inform the recipient that a certain page, calendar, blog, etc has changed and then give a link to that, with no other visuals of the page content shown.

I do have all the templates in front of me, and I am getting familiar with SOY for the first time now. I have not used JAVA before, but I am a programmer, so I expect I can figure that part out, but I really dont know where to start, as this is all new to me.

I am wondering if anyone out there could perhaps give me a list of a few steps I can take to get going here, or point me to a reference on how this is done. A test instance is being set up for me later today, and I am hoping to learn as much as I can before then so that I can get right to work.

Thanks!


Answers:
author: Marcel Gattinger
body: Hi [@David Cothran](#)

I struggle with the same problem. Have you found a solution how to customize the soy templates?  
Regards  
Marcel


author: Hermance NDounga
body: I guess this is the documentation you need <https://confluence.atlassian.com/doc/customizing-email-templates-168001822.html>

comments: author: David Cothran
body: thanks for that. however, i do have that information already.

But step three simply says which files to change. What i need help with is how to do that, as these are all unfamiliar to me.


Tags: custom-field

email

template
Edit in Office with Chrome Browser
Asked by Peter Callies:

I'm running Confluence 6.0.6 and Chrome 57.0.2987.110. When I clicked "Edit In Office" for a document, I accidentally clicked the wrong response button in the popup window Chrome displayed. This has had the effect of never prompting me again so I can't "edit in office". Does anyone know how Chrome stores that response?

I tried deleting Confluence-related cookies, but that didn't resolve the issue.


Answers:
author: Davin Studer
body: Have you checked ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/405i14C327FE71E260CB/image-size/large?v=v2&px=999 "Capture.PNG")site settings?

comments: author: Peter Callies
body: The site settings led me back to cookies. I deleted all the cookies associated with my site and that caused me to get prompted next time I tried the Edit in Office button. I must have missed the cookie controlling the setting on my first pass. Thanks for the suggestion, Davin.
Confluence licensing bug
Asked by Vitaliy Bendyna:

Hello!

Some time ago we migrated Confluence's authentication method to LDAP delegated. Now we have really strange bug: according to database and the list of active users we have 63 users, but Confluence's admin panel says that we have 89 active licensed users. What should I do in this case?

What was already done:

1) inactive users aren't members of any group

2) Confluence cashe has been cleared

3) Instance was rebooted

P.S. Confluence 5.7.1


Answers:
author: Helen Griffiths
body: Hi Vitaliy

We had the same issue a little while ago when trying to see why there was a discrepancy in the number of licenses used in one tool compared to the database - we found that it was because we had a number of users who had had account created directly in the application (i.e. within Confluence) which had not been removed when we started using Crowd. Once we made a count of these, it tallied up with the larger number of licenses the application said we were using.

Hope this helps.

comments: author: Vitaliy Bendyna
body: Thank you for your reply.

You're correct, all users before were created as internal users directly in the application. But the thing is that we use LDAP delegated authorization, that means that all users are internal users but with external password check. In the database in cwd_user table there's a list of all users with their directory's IDs. And there's a column "actice" with "T" or "F". And the number of users with active="T" is 63, but license information says 89. And I'm still confused...


author: Kay Brown
body: Hi Vitaliy,

Open up a Support ticket here: <https://support.atlassian.com/contact/>

Regards,

Kay

comments: author: Vitaliy Bendyna
body: Thank you for your answer, but our support period has expired, that's why I'm writing here :)

And I'll be very grateful if anyone can help me with this bug. It's resolution is quite interesting for me, that's why I'm spending a lot of time for any kind of information about this issue. And until now I didn't find how to fix it...


author: Vitaliy Bendyna
body: Hello again!

Can someone help me with this issue? I don't have any answer still....
csv table export - TAB as the separator
Asked by Martin Berins:

Is it possible to define TAB as the separator? I tried pasting tab symbol into the separator box, but it becomes empty after saving. I hope I have not missed something trivial.

Thank you very much in advance.


Answers:
author: Mirek
body: There is a nice plugin - [https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview)

That by default should use TAB as separator

<https://docs.stiltsoft.com/display/public/TFAC/How+to+export+macros+and+results>
Upgrade Confluence from 5.3 to latest version.
Asked by pawarsachin84:

Hello Team,

Greeting for the Day!

I am looking to upgrade our team Confluence from 5.3 version to latest version.

Could you please guide me the stable version for it?

Is it 5.10v or 6.0v or 6.1v ?

Also, if you guys encountered any issues while upgrading it from 5.3 to latest version. Please let me know.

Thanks for your help in advance!

Regards,

Sachin Pawar


Answers:
author: Nic Brough -Adaptavist-
body: Unstable versions of Confluence are released as "release candidates", not full versions. Any version you find on the list of standard downloads is stable.

Yes, there are often problems upgrading, mostly caused by unusual usage, volume or add-ons. I'd strongly recommend taking your 5.3 to 5.10, then 6.1 (5.3 to 6.1 is almost certainly going to throw up problems that 5.3 -\> 5.10 will handle better)


Tags: upgrade
how to add same macro on single confluence page and handle macro context in execute?
Asked by Ambar Patil:

I have created one grate macro, which have two parameters. These parameter I am accessing in execute method of macro class.  

Now, when I am adding macro on confluence page it is working as I am expecting, but issue accurs when we are adding same macro two/multiple time on a single page. Here in this case both macro has diffrent parameter values. So both macro need to give diffrent out put as per parameter, but both macro showing the result as per the last added macro parameter.

And one more thing we are calling some Rest methods on page load, which renderd the out put of macro in table.

When i debug the issue come to know the macro context get updated as per the last macro parameter.   

Now here I want's to handle macro parameter both/multiple macro saperatly. Any suggession here...


Answers:
author: Sreenivasaraju P
body: Suggest you cross check your code. You would have declared some variables as global. This could cause , similar issue.

comments: author: Ambar Patil
body: I cross checked it but no global veriables are there...  
see following method I am using...

```
@Override    public String execute(Map<String, String> stringStringMap, String s, ConversionContext conversionContext) throws MacroExecutionException {        Map<String, Object> macroContext = MacroUtils.defaultVelocityContext();        long pageId = conversionContext.getEntity().getId();        String searchScope = stringStringMap.get("searchScope");        String rootPageTitle = stringStringMap.get("rootPage");        String spaceId = searchScope;        boolean isRootPageContext=false;        if(rootPageTitle !=null) {            String[] splitValue = rootPageTitle.split(":");            if(splitValue.length > 1){                spaceId= splitValue[0];            }else{                spaceId = conversionContext.getSpaceKey();                Page rootPage = pageManager.getPage(spaceId,rootPageTitle);                pageId = rootPage.getId();                isRootPageContext=true;            }        } /*  ..  ..  .. some buisness logic.... */ return VelocityUtils.getRenderedTemplate(resultTemplate, macroContext);}
```

Now, what happening when there is only one map all is good. But when I add second macro "macroContext" data update for second macro parameter..


Tags: macro
How can I change the background colour of the sidebar from grey to white in the default theme?
Asked by Sikandros:

I have been trying to figure out how to change the background colour of the sidebar in the default theme. Currently it is grey but we would like it to be white. Really appreciate your help.

Thanks


Answers:
author: Scott Theus
body: Hi [@Sikandros](/t5/user/viewprofilepage/user-id/1126000) ,

If you are a site admin you should be able to go into Administration, select Confluence, and scroll down to "Color Schemes" under "Look and Feel." Changes you make there will be the default color scheme for new spaces.

Hope this helps,

-Scott


Tags: colour

side-bar
workbox notification for publishing page or blog post
Asked by Yanick Belart:

Hi there

We are currently using Confluence 5.9 and I saw in the documentation following:

"The workbox does not show notifications triggered because you are watching a space. Only watches on pages and blog posts are relevant here."

We'd like to have these workbox (in-app) notification if somebody publishes a page or blog post in a space we are watching. Is there a way to realize that?

The current situation doesn't make sense in my opinion. Email notification is sent, but workbox notification is missing. If this makes sense - pls help me to understand.

Best regards and many thanks,  
Yanick


Answers:
author: Mirek
body: I think it is not yet possible. There are some suggestions created. Feel free to leave a comment and vote

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

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

Maybe also using Confluence Mobile apps could be an alternative for using push notifications


Tags: notification
Personal Space User Dashboard "Show More" not fully in divbox
Asked by Kathryn Reddie:

I've had a couple of users ask if I could fix the "Show More" button on their User Dashboard.

After further investigation, everyone's displays like this ... any ideas on how I can fix it?

![Show More not in box.jpg](/t5/image/serverpage/image-id/333iFD96CEC961BFA1A7/image-size/large?v=v2&px=999 "Show More not in box.jpg")


Answers:
author: Mirek
body: The screenshot does not look like a OOTB Confluence view. I guess some plugin was used to change the layout and it was simply a bug.
Added a second LDAP directory to Confluence and everyone's being asked to create a space
Asked by Miles Hayler:

We are in the process of migrating our Confluence logins from one domain to another.

I have added the new LDAP directory and am fixing up permissions and testing before we disable the first, original directory.

Whenever I try to log in as any user on the new directory, I am given the wizard to set up Confluence and create a space. (Meet Michael Jordan, one of our basketballer test accounts!)

![Screenshot from 2017-04-12 15-45-00.png](/t5/image/serverpage/image-id/331i56C6883E956F6AC0/image-size/large?v=v2&px=999 "Screenshot from 2017-04-12 15-45-00.png")Obviously, come cutover day, I don't want to have 350 new spaces to have to delete, and was wondering why this is occuring? Is there a setting somewhere or a flag I've missed?

Thanks


Answers:
author: Moses Thomas
body: [@Miles Hayler](/t5/user/viewprofilepage/user-id/1125964) This behavior is working correctly, because when you add a new additional directory to Confluence, these directories are treated separately and in fact, in the database the user tables are not the same. More also you have the **Skip**link

Kind regards,

Mo
Get number of likes of confluence's page on CLOUD
Asked by Basma:

Hi!

Is it possible to get the number of 'Likes' on page confluence on CLOUD if yes how can i code that with express framework (nodeJS nd Json file)

Thanks in advance!


Answers:
author: Hermance NDounga
body: By default, the number of like of a page is on the bottom left corner of the page, just above the comments. Maybe you hide it in HTML?


Tags: cloud

confluence-cloud
Team Calendars are not listed as an add-on in Confluence Data Center
Asked by Robb Wiedrich:

When looking at the pricing/purchasing page for Confluence, Team Calendars is listed as a selectable add-on for Server Edition, but not for Data Center edition.

Why?


Answers:
author: AnnWorley
body: I asked around and found out it's because the Team Calendars Server license works with Data Center. You just have to make sure Team Calendars is licensed on a user tier that is equal to or higher than your Data Center license as in:

[Does my Confluence Server license have to match the Confluence Team Calendars add-on?](https://www.atlassian.com/licensing/confluence?_ga=1.15605748.391273312.1489458716#serverlicenses-5)

comments: author: Robb Wiedrich
body: The article you reference only demonstrates that Team Calendar licenses must match the Confluence licenses.

I'm asking why the purchasing of Confluence for Data Center does not list Team Calendar?

When I go to the pricing for Conflucent on JIRA Server edition, it's lists Team Calendar as an add-on. It does not list it as an add on when selecting the Data Center edition of Confluence.


Tags: team-calendars-for-confluence
Updating Confluence from v4.3
Asked by Abby Sharpe:

Hi folks,

I see on the [update documentation](https://confluence.atlassian.com/doc/confluence-6-1-upgrade-notes-872277793.html) that to update from 4.3 to 6.1, we first must install v5.10.X. However, when I go to the 5.10 upgrade page it routes me to the most current version download. How do I go about getting the v5.10 update download? Is the interval update really necessary?

Any advice is much appreciated!  
Abby.


Answers:
author: Panos
body: Yes, the internal update is necessary as the body format changes between versions thus your pages need to be updated.

You can download the 5.10.x version from the [archives](https://www.atlassian.com/software/confluence/download-archives)

comments: author: Abby Sharpe
body: Great, thank you!!
How do I turn on Collaborative Editing in Confluence Server?
Asked by ehteshamuddin:

We have Confluence server instance with 6.0 version and could not do collaborative editing.  
Collaborative editing is Enabled.


Answers:
author: Nic Brough -Adaptavist-
body: "could not do" does not explain what errors you are seeing, or what happens when you try to edit. Could you give us some more information on the problem?


Tags: server
Need to give Space permission to users outside network, with read/ write permissions.
Asked by ehteshamuddin:

Hello All,  

We have a confluence instance with VPN setup. Need to give access to users outside network to have permissions for specific space with read permisions and read/write to create there own pages.  
We have anonymus view for people on intranet but need to restrict that for users outside network( as of now they cant see as we have vpn restricting that).  

I have thought of solution that,

* buying unlimited user license
* adding a directory with all employee with read only access so we can restrict anonymus view.
* then creating directory/ group for outside users and giving them permissions.

Can anyone please help if there is anyother way I can allow specific outside network users to have permisions for particular space with read/ write permissons?


Answers:
author: AnnWorley
body: Unless I am missing something, you only need to:

* Add the internal users (now anonymous) to a group
* Give the internal group read-only access on the Confluence Admin\>Global Permissions page
* Add the external users to a group
* Give the external group permission to use Confluence on the Confluence Admin\>Global Permissions page
* Give the external group permission to read/write on the Space Permissions of the space they will be contributing to.

I do not think you need a 10,000+ user license unless you have that many employees currently accessing Confluence anonymously.


Tags: page

permission

space