youngmon/atlassian-qna huggingface dataset:
Confluence chart with MySQL
Asked by Rama Krishna B:

Folks,

I need to display a simple graph with Time on X axis and some values on Y axis and the values are being fetched from the SQL Database. I see that the values are being fetched.

I have a Chart Macro and underneath it I have two SQL statements wrapped under two SQL Macros (I followed Insert=\>SQL Macro..) as defined below.

select date,bootupTime from CLOUD where ServiceProvider='PQR';

select date,bootupTime from CLOUD where ServiceProvider='TBS';

What I am expecting is that I need to plot the date (common between the two tables) on the X axis and the values from the columns from the two different tables on the Y axis . I am expecting to see two graph lines on the chart , one for one SQL statement and another for the other, but I am getting only one line being plotted. I am using a line chart.

What is the best way to accomplish this?

Appreciate any help.

[ramakris@gmail.com](mailto:ramakris@gmail.com)


Answers:
author: Bob Swift (personal)
body: You need different column names. Use something like:

```
select date, bootupTime as "Boot PQR" from ...select date, bootupTime as "Boot TBS" from ...
```

comments: author: Rama Krishna B
body: Bob,

I tried that and it is still the same but still the same. I have the screen shot for you. Wondering if I can still use the "line" instead of the time series? Any help will be appreciated.![](../../upfiles/Untitled_41.png)


author: Bob Swift (personal)
body: Line chart is fine, I have an example here that works fine. Use the chart macro parameter to show the data after the chart. Attach the screen shot of the chart and data. Just to be sure, what version of Confluence and chart plugin are you using?


author: Rama Krishna B
body: Bob,

I think I figured it out and managed to get it nearly working as I desired to get. Thanks a lot for your help and I really appreciate it.

Regards,

RamaK
Confluence v5.4 upgrade No Profile Macros / cannot be enabled
Asked by MattV:

After upgrading from 4.1 -\> 4.3.7 intermediate upgrade -\> 5.4 everything seems to be working but one of the core addons, profile macros is not working so the 'people' tab just says Unknown Macro: {profile} over and over.

![](http://i.imgur.com/zWKeAmh.png)

There is no way to enable the Macros Addon in the addon management, the primary addon and the modules are just grayed out without any enable option. Is this a dependency or conflict ?

The log says this as most pages load, since I assume it's trying to load profiles all over the place:

```
2013-12-10 16:12:41,289 WARN [ajp-8109-4] [atlassian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Cannot include disabled web resource module: confluence.macros.profile:profile-macro-styles
```


Answers:
author: MattV
body: Took this question to official support, for me the solution was simply change the plugin status in the database with this procedure:

1. Backup your database!
2. Shutdown Confluence.
3. Get the current results from this query:

   ```
   select BANDANAVALUE from BANDANA where BANDANAKEY = 'plugin.manager.state.Map';
   ```

4. if these results contain 'confluence.macros.profile' with a boolean value of false below it then modify the FULL query result from the previous step to say the macro plugin boolen's value is true instead of false like so:

   ```
   &lt;string&gt;confluence.macros.profile&lt;/string&gt;    &lt;boolean&gt;true&lt;/boolean&gt;
   ```

5.

   ```
   Run this update statement with the full XML results between &lt;map&gt; ... &lt;/map&gt; and the modfication made in #4
   ```

   ```
   UPDATE BANDANA SET BANDANAVALUE = "&lt;insert new xml here&gt;' WHERE BANDANAKEY = 'plugin.manager.state.Map';
   ```

6. Start Confluence

Changing the value in the back end this way worked for me since I couldn't change it on the front-end add-on admin page.


Tags: confluence-administration
Problem with child pages
Asked by Pedro Sousa:

I have some problems with restrictions of pages in a Confluence space.  

I have a page that has restrictions to a group and its child pages inherit these restrictions.  

But when a user that is not part of this group accesses a page directly, he can access when in fact he could not access  

Can someone help me?

<br />


Answers:
author: HosseinA
body: Hi Pedro,

Is the person that access the page is a member of confluence-administrators group in your Confluence instance? If that is the case, the user is granted.

You may find the link below helpful.

[](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview#GlobalPermissionsOverview-Comparingtheconfluence-administratorsgroupwiththeadministratorpermissions)<https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview#GlobalPermissionsOverview-Comparingtheconfluence-administratorsgroupwiththeadministratorpermissions>

If that is not the case, I would recommend that you raise a support ticket via [](http://support.atlassian.com/)<http://support.atlassian.com/>so that engineers can help you with this.

Regards
Table filter plugin in table plus plugin
Asked by Lars B?hnke:

Hi folks,

i recently installed the table filter plugin and its great! I tried to put a table into the table plus plugin and then this table plus talbe into the table filter plugin.

Table filter plugin didnt work anymore, what a pitty. Do you have anny suggestions / ideas? I would be realy happe!

Thanks guys!

Lars


Answers:
author: Lars B?hnke
body: Thanks, but when im activating auto number on each row the table plus plugin isnt working anymore...


author: Bob Swift (personal)
body: Put the table-plus macro around the table-filter plugin.

comments: author: Lars B?hnke
body: Thanks, this is working in the first moment. But when im activating auto number on each row the table plus filter plugin isnt working anymore. When im filtering nothing happens...


author: David
body: Hello, I have a different issue with Table Filter in Table Plus: The autonumber column is repeated 3 times.

I tried switching it around as suggested above but it makes no difference. When I remove Table Filter the problem disapears - autonumbering appears fine on one column only.

Any ideas?

comments: author: Andrey Khaneev _StiltSoft_
body: Hello David,Try to enable autonumber column in Table Filter and disable it in Table Plus.


author: David
body: I should have thought of that ! Thanks Andrey it worked. :-)


author: Andrey Khaneev _StiltSoft_
body: It works with Table Plus auto numbering starting from Table Filter 2.1.0


Tags: confluence-administration
List unused groups
Asked by Stephen Welsh:

How to list the unused groups in confluence? That is those that have not been assigned a space access permission.

Alternatively, how to find out if a group is being used anwhere in the instance?


Answers:
author: Stephen Welsh
body: [https://answers.atlassian.com/questions/59811/space-groups-and-permissions](/questions/59811/space-groups-and-permissions)

may have the answer
Some users cannot log in to Confluence 4.3.1 (LDAP)
Asked by Gregg Leventhal:

We have LDAP setup with Read-Only with Local Groups. Users are added to confluence by making them a member of the confluence-users group. I have 2 users, who show up in the confluence user search (so they are included in the LDAP filter, and seen in the directory properly), who I have added to the confluence-users group who still get a failed login attempt when logging in with their correct LDAP credentials. I have verified this and even tried adding them to the confluence-admin group but they were still unable to login. When I test their credentials against the directory (LDAP) via the confluence admin, I get the same result as I do when I test a working user. In the logs directory on the server it seems catalina.out is the only active log. How do I get debug logging for user authentication temporarily? Version 4.3.1


Answers:
author: Gregg Leventhal
body: I resolved the issue and I apologize but it is not Confluence-specific. The users had old passwords in LDAP (we have a sync between AD and LDAP), but their AD password was current. I had them reset the password, then I manually forced a sync between Confluence and LDAP, which fixed the issue.

comments: author: Teck-En
body: no problem and good to hear that you had resolved it. Remember to mark this as your answer so other user having same issue get a reference. :)


author: Teck-En
body: I think this might help which you would want to give it a try in test instance: [](https://confluence.atlassian.com/display/CONFKB/Debugging+LDAP+Connection+Properties)<https://confluence.atlassian.com/display/CONFKB/Debugging+LDAP+Connection+Properties>


Tags: authentication

ldap
Confluence Spaces next button
Asked by Frances McDonald:

In confluence/spaces :Within the space directory I would like the buttons that appear at the bottom of the page to go to the next page to appear at the top of the page. It means you do not have to scroll down to end of page each time to being up the next page of space directories. Is this possible..thanks


Answers:
author: AmrtaA
body: You can by going to **Confluence Admin \> Custom HTML \> Click 'Edit'**.

Insert the following line **At end of the HEAD** textbox:

```
&lt;script type="text/javascript"&gt;  AJS.toInit(function(){    var $pagination = AJS.$('#space-search-result div.pagination').detach();    AJS.$('#aui-message-bar').after($pagination);  });&lt;/script&gt;
```

Click **Save**.

Hope that helps.

comments: author: Frances McDonald
body: excellent thanks it ...worked


author: brian lee
body: You can help Amrta by accepting his answer.

Cheers,  
Brian


author: Frances McDonald
body: the accept option I presume is the click "correct arrow " button as there is no accept button..I have clicked the arrow button
Can I use a Wildcard SSL with Confluence?
Asked by Shelley Cook:

Can we use a wildcard SSL with a confluence installation?

I'm trying to use an existing SSL instead of purchasing a new one speciafically for confluence from a third party provider, as well as avoid using a self-signed certificate which may cause warnings when connecting because it's not trusted.


Answers:
author: Alex Perez
body: I dont know why not ... it's the same install procedure as installing regular SSL certs on tomcat.

If possible, consider installing an apache in front of tomcat-confluence and connect with mod_jk or mod_proxy to manage all the SSL/subdomains/redirecting in the apache, instead of doing that in the tomcat cfg.


Tags: confluence-administration
Confluence Documentation
Asked by kA:

Hi friends,

In confluence i have faced some problem and i have listed those details to you.

I have one parent page and then i created the child pages as per my need and I have a permission to create a page.

Issue 1: During create the child page,most of the cases it shows the '**Administrator access'** required to create the page warning.

Issue 2: i copied the some details from parent page to the new child page, when I try to save the page it loads for a long time finally it shows the JIRA server has been down.

Issue 3:If another user updated his details in parent page, at that time we are unable to clear the details and save the parent page . It shows the below mentioned error or token expired error.

![](../../upfiles/Error_7.png)

Please share your thoughts,

Thanks in advance,

Karthik A.


Answers:
author: kA
body: Hi Peter,

Thanks for your updates, I cleared the browser and tried it but still the problems are occured.

Thanks in advance,

Karthik A.


author: Peter Van de Voorde
body: Hi Karthik,

This is usually a problem caused by expired cookies and stuff in your browser.

I would say : clear your browser cache, close the browser and try again.

Best regards,

Peter


Tags: cloud

confluence-cloud
Jquery to delete a specified label from confluence
Asked by Dinoj D:

Please help anyone to write Jquery function to delete a specified label from confluence


Answers:
author: Dinoj D
body: Thanks Stephen. I have tried the following and its working well

jQuery.post(contextPath+"/json/removelabelactivity.action", {"entityIdString": "$content.id", "labelIdString": jQuery(this).val(), "atl_token": jQuery("#atlassian-token").attr("content") } ,function(){  

alert("label removed from page");  
});

Dinoj


author: Stephen Deutsch
body: Hi Dinoj,

I don't really have time to write it for you, but if you just want to know how it's done, you can check out this code snippet:

[](http://pastebin.com/c58hZssb)<http://pastebin.com/c58hZssb>

Basically, instead of "addlabelactivity.action", you need to use "removelabelactivity.action". Hope that helps!

Stephen

comments: author: Dinoj D
body: Thank Stephen...will try and let you know..

Cheers

Dinoj


author: Dinoj D
body: Hello,

If some one have some idea, let me know..please..

Thanks..


author: Dinoj D
body: Hi Matthew,

What I trying to do is that I will generate some list of names with checkbox options. the selected label would be added if I check the box and delete the label if uncheck the box.

For adding , I got some idea from [https://answers.atlassian.com/questions/22344/how-do-i-add-labels-to-a-page-using-a-user-macro](/questions/22344/how-do-i-add-labels-to-a-page-using-a-user-macro)

It would be great if you help to delete in the same way..

Thanks Matthew for your comments.

Cheers!

Dinoj


author: Dinoj D
body: Hi Matthew,

What I trying to do is that I will generate some list of names with checkbox options. the selected label would be added if I check the box and delete the label if uncheck the box.

For adding , I got some idea from [https://answers.atlassian.com/questions/22344/how-do-i-add-labels-to-a-page-using-a-user-macro](/questions/22344/how-do-i-add-labels-to-a-page-using-a-user-macro)

It would be great if you help to delete in the same way..

Thanks Matthew for your comments.

Cheers!

Dinoj


author: Matthew J. Horn
body: Dinoj,

What are you trying to accomplish? Hide/remove a label from a page? Or are you trying to delete it from the labels list? In either case, I am not really sure jQuery is the right answer. Maybe you are trying to do something else that I am not aware of?
Confluence 5.4 - Login session or cookie changes
Asked by B_ Normann P_ Nielsen:

We have just upgraded to Confluence 5.4 from 5.2.5

This is pretty standard and the upgrade went without unexpected issues.

When people hit the Dashboard, I have this code to redirect Anonymous users:

\<!-- Redirect Anonymous users --\>

$helper.renderConfluenceMacro("{hide-if:match=all\|group=confluence-users}{redirect:SUPPORT:Support\|1}{hide-if}")

wich has been working for 1,5-2 years - but since the 5.4 upgrade; this triggers (more or less random) for logged in users also.

The users is logged in (can se the picture in the right upper corner), but when clicking the logo pointing to <https://docs.netic.dk/> - I see the Dashboard and redirect message - but now the picture in the upper right corner is replaced with the "Log In" text - as if the user was not logged in.

If the user go to Space Directory, or close the browser and start it again, things seems to work - until the user is logged out and logs in again.

On time I have seen my own picture replaced by another users picture in the upper right corner, just for a split second.

Anyone with similar issue?


Answers:
author: Normann P_ Nielsen _Netic_
body: Well, this has been pinned down to a cache issue and discussed with Atlassian are - this is from Atlassian Support:

* Changes made across the Confluence from version 5.2.5 to 5.4; so far I can only find two fixes related with cache (<https://jira.atlassian.com/browse/CONF-24778> and <https://jira.atlassian.com/browse/CONF-30077>)
* Changes in Stingray Traffic Manager itself
* (Probably) configuration change during upgrade process

I dont think we will find the error, but creating fresh configs etc in the StingRay Traffic Manager solved the issue for us. We are sure the Traffic Manager did not change config, and problems started instantly after upgrading confluence.


Tags: confluence-administration
Move\Copy a space to a different account
Asked by Hezi Stern:

I have created a space under an account in one of the companies I'm working at. I wish to mote the space with all the pages + plugin data (Gliffy) to an alternative account.

How can I do this without losing data?


Answers:
author: Michael Knight
body: By 'account' do you mean an OnDemand instance? If so, [export the space](https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML) and then [import the space](https://confluence.atlassian.com/display/AOD/Importing+a+Confluence+Space) on the other instance.

Assuming the other instance also has Gliffy installed, everything will come across. The usernames should match if you want the created by/modified by attributions to come across too.


Tags: cloud

confluence-cloud
Decisions and decision register
Asked by Lars B?hnke:

Hey folks,

i created a decision page with a desicion tree (decision register). When im creating a new decision, this new page is added to my space in general. Due to the fact that the decision register is a sub page from another page, i want to have each new decision as sub pages from the register aswell.

Is there a way?


Answers:
author: Lars B?hnke
body: No idea?


Tags: confluence-administration
Confluence "Find New Add-Ons" pull-down is missing "ALL"
Asked by Ed Kershenbaum:

On the Find New Add-Ons page, the pulldown with "Staff-Picked", "By Atlassian", etc. lack the most important entry: ALL.

This list is illogical. It seems to mix some sort of arbitrary filtering ("Staff-Picked") with sorting ("Most Popular", "Top Grossing").

In any case, I can not easily BROWSE for the add-ons I want to find: e.g. select "Themes", and the ThemeBuilder doesn't appear anywhere. I always have to already know the name and explicitly search for it.


Answers:
author: Ed Kershenbaum
body: It appears ThemeBuilder can never be found through "Find New Add-Ons".

This feature still lacks "ALL" though.


Tags: confluence-administration
How to add a header logo into Expported PDFs in Confluence OnDemand?
Asked by Gabriel Porras:

I ve read and test several example codes in this page:

<https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF#CustomisingExportstoPDF-HeadersandFooters>

But no one works for me.

Someone have an example code that works?

Thanks!


Answers:
author: Gabriel Porras
body: At last I did understand...

The CSS for Export PDFs works only via SPACE OPERATIONS \> PDF Export.

If you choose PAGE \> Tools \> Export to PDF, the CSS are not applied!


Tags: cloud

confluence-cloud

logo

pdf

pdf-export
How do you import the files to another Confluence app on another version of Confluence?
Asked by Beckey Rutledge:

How do you import the files to another Confluence app on another version of Confluence?


Answers:
author: Rodrigo Girardi Adami
body: Hi!

That's unfortunately not possible because of the different versions of confluence. In fact, you can create a space export and import into a confluence from the same major version (E.G. 4.x.1 into 4.x.3) however you can't import content from different major versions (E.G. 4.2 into 4.3). In this case, you need to get both versions equal of confluence and then you can import the content.

About the best practices of backup and restore, please look into our backup strategy documentation: <https://confluence.atlassian.com/display/DOC/Production+Backup+Strategy>

Cheers,

Rodrigo


Tags: confluence-administration
Confluence WAR: Moving MySQL database
Asked by Ernest Kim:

Hi all. I'm using the WAR version of Confluence. I'm in the process of switching MySQL database servers from one server to another server. Has anyone done this? The directions at: [https://confluence.atlassian.com/display/DOC/Migrating+to+Another+Database](https://confluence.atlassian.com/display/DOC/Migrating+to+Another+Database,), make it seem very complicated. I thought it would be a simple update a few files with the new server/database/login information. Any help would be appreciated.

Thanks.


Answers:
author: Ryan Goodwin
body: If you're only moving the database to a new location, then you simply need to point your Confluence application to that db location. There's 2 possible scenarios:

1. You use a direct jdbc connection to your mysql database.

Check the \<confluence.home\>/confluence.cfg.xml for the "hibernate.connection.url"

This is the location of your database. Update the url to reflect your new mysql server location

Also update the hibernate.connection.password and hibernate.connection.username if necessary

2. You use a datasource connection to your mysql database.

If this is the case, then the confluence.cfg.xml file will have a datasource location defined instead of the direct connection information. The datasource is defined in Tomcat's server.xml file. Since you've deployed the WAR version of Confluence, this means Tomcat is installed separately from Confluence. Your catalina_home should contain a conf folder with the server.xml file. Check the server.xml file for your Confluence datasource. This is where you'll update the mysql database connection information.

comments: author: Ernest Kim
body: Thanks! This works.


Tags: confluence-administration
Missing Custom HTML option
Asked by Thomas Steen Christensen:

Cannot find "Custom HTML" option under Look and Feel section in administration. Section only contains:

Themes  
Colour Scheme  
Site Logo  
PDF Layout  
PDF Stylesheet  
Default Space Logo


Answers:
author: Paul Greig
body: Hi Ole,

Within OnDemand you cannot access the 'Custom HTML' option as part of the [Restricted Functions in Atlassian OnDemand](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand). The restriction exists to ensure the stability of the OnDemand platform.

The 'Custom HTML' option is avaiable within the downloaded version of Confluence.

Cheers,

Paul


Tags: cloud

confluence-cloud
Customize the new "Create Jira-Issue from Selection" Dialog
Asked by Mario Fraiss:

Hi,

Is it possible to customize the new "Create Issue"-Popup dialog which has been introduced with the new Confluence 5.2 / Jira 6.1.4 version?

We would need for example to set the fields

- Fix-Version

- Assignee

- etc.

and other fields for all created issues - currently we have to update these fields manally one by one.

![](../../upfiles/create_issue_dialog.png)

Thanks for your responses.

@Atlassian

If this is currently not possible, this would be a very useful feature for the next Confluence Update!


Answers:
author: RambanamP
body: check this post it may help you

[https://answers.atlassian.com/questions/152182/adding-custom-field-for-create-jira-issue-screen-in-confluence](/questions/152182/adding-custom-field-for-create-jira-issue-screen-in-confluence)

comments: author: Mario Fraiss
body: Hi, thanks for your answer. Unfortunately this is not the same screen which is used by the new feature.


Tags: confluence-administration
Different headings
Asked by Rumceisz:

Hi All,

in the Confluence pages the rows formatted as Heading 1 and Heading 2 look completely identical.

Is it possible to change the stylesheets so that Heading 1..4 look different?

Thanks,

Rumi


Answers:
author: Davin Studer
body: In confluence administration there is a section for custom css.

comments: author: Davin Studer
body: Did this meet your needs?


Tags: confluence-administration