youngmon/atlassian-qna huggingface dataset:
confluence table sort doesn't sort checkbox
Asked by Paul DeSousa:

We have a table where the last column is a set of checkbox/tasks all called \[ \] Done. My user wants to be able to sort this, whereby those with checked checkboxes are placed together and those with no check will be as well. Clicking to sort this table does not move any of the columns anywhere. Is there a workaround for this?

Done.png  
[](https://community.atlassian.com/t5/Confluence-questions/confluence-table-sort-doesn-t-sort-checkbox/qaq-p/122128?attachment-id=367){#link_118932331f6fd9}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/20335/1/Done.png){#display_118932331f6fd9_0}


Answers:
author: Paul DeSousa
body: I believe by macro tasklist.


author: Steve Gerstner [bridgingIT]
body: Can you explain how you get those checkboxes? By a macro? which one? Or are these task lists?
subscribe keyword
Asked by Patrick_Vanhoof:

Is there a way that people can subscribe to pages based on keywords they choose? So that they get a notification when a page that has the keyword is created or modified.


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

This is not possible for confluence at the moment. The only way I know to receive notifications is by watching the pages and spaces manually.

I've created this feature request for you: <https://jira.atlassian.com/browse/CONF-35595>

Please let me know your thoughts in the feature request. Vote and comment there to increase popularity.

Cheers,

Rodrigo
HTML Include Macro auth headers
Asked by Brad Schoening:

The HTML Inclue Macro is enabled in our confluence server instance and the URL we wish to use been whitelisted. However, the macro fails with 'Page not permitted.'

The URL is an internal link, somethink like:

[http://jobs.example.com:9191/cgi-bin/qsp.cgi/tests?category=Rate](http://uswxapqzp107.usnycbt.amrs.bankofamerica.com:9191/cgi-bin/qsp.cgi/dev/ps/qz/tests?category=Rate)

Next, I checked if I could fetch the URL using PowerShell's WebClient. That failed intially with the error ""The remote server returned an error: (401) Unauthorized." Apparently, .NET webservers require authentication headers on non default ports like 9191. When I specified UseDefaultCredentials, it worked in PowerShell.

The powershell script looks like:

```
$client = new-object System.Net.WebClient $client.UseDefaultCredentials = $True $url = http://jobs.example.com:9191/cgi-bin/qsp.cgi/tests?category=Rates$client.DownloadFile( $url, "H:\temp\out.html")
```

<br />

It still won't work in the HTML Include Macro. Are auth headers sent by the macro?


Answers:
author: Davin Studer
body: *"Apparently, .NET webservers require authentication headers on non default ports like 9191."*

No, that's not really true. You probably don't have anonymous access enabled for that site in IIS.
office file change history
Asked by deborah a plante:

does confluence store any type of changes to office documents changed/edited?


Answers:
author: Davin Studer
body: Attachments that are edited are versioned in Confluence. If you click the little arrow next to the attachments you will see the previous versions.

image2014-11-12 13:37:11.png  
[](https://community.atlassian.com/t5/Confluence-questions/office-file-change-history/qaq-p/104444?attachment-id=9223){#link_1192ee9be4b258}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/17459/1/image2014-11-12%2013%3A37%3A11.png){#display_1192ee9be4b258_0}


author: deborah a plante
body: Thank you - that's what i was looking for :smile:


author: Nic Brough -Adaptavist-
body: If you download, edit and upload with the same name (or edit in place), each revision will be numbered and date stamped. It's not a difference log, it's simple set of objects with versions.
Confluence 5.4: TOC doesn't work with Navitabs
Asked by R Donato:

Hello,

I create a page that contains a TOC macro at the top of the page followed by a group of navitabs that contain headings.

The TOC generates. But the headings do not work. If I move the contents out of navitabs, the TOC links work.

Is this how the Navitab macro works normally? If so, that hurts it's versatility. Is anyone else having the same issue?

Thanks,


Answers:
author: R Donato
body: Were you thinking of the Localtabs? I used those too and had the same issue. Were you able to get Localtabs to work? That would be a good alternative.

comments: author: Jonathan Simonoff
body: No, I'd used tabs in Theme Press. And I thought of using toc-zone to put a toc on each individual tab (not cross-tab), but haven't done that yet. I did try putting in one main TOC on the cover page, and saw that it didn't work.


author: R Donato
body: Does that work for you? I added a TOC zone with TOC macro into each tab. They still didn't work. The tabs are useless without that functionality.

How exactly did you get it to work?

comments: author: Jonathan Simonoff
body: Sorry, I was thinking of a different kind of tab. I see Navitabs makes tabs to navigate between pages. If what you are trying to do is get a TOC on one page that takes you to another page, I don't think you can do that. My toc-zone recommendation was off base.


author: Jonathan Simonoff
body: I've noticed that the TOC macro doesn't work correctly with tabs, yes. The best I think you could do would be to use toc-zone to make a TOC for each tab separately.
Recent Activity gadget in Confluence using wrong base URL for JIRA instance
Asked by James Ellett:

I have set up a Recent Activity gadget in a Confluence page that I have configured to show JIRA activity from a specific project. In the macro preview all looks to be in order, but when I insert the macro into the page and save, all JIRA links are being formatted with the *Confluence* base URL. So a link to a JIRA issue that should be <http://jira.ymarketing.net/browse/ULBL-154> is instead <http://confluence.ymarketing.net/browse/ULBL-154,> which of course does not exist. The activity is displaying somewhat properly (images are broken, some activities fail to load and give a "Sorry, we cannot load this activity due to an error."), but the links are all wrong.

Is this a known issue with the Confluence Recent Activity gadget? I've searched the forums and can't find a resolution.

Thanks!


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

Can you confirm if the Display URL of the instance is different of the Application URL for the App links? Also, is there any proxy redirection in your instance?

Kind Regards,

Giuliano Tenedini

Confluence/Crowd Support

comments: author: James Ellett
body: Our Confluence display URL is indeed different than the application URL. The JIRA display URL matches the application URL. There are proxy redirects in place for both JIRA and Confluence.


author: EJ Victoria
body: Hi,Have you resolved this issue? We are having the same issue with the JIRA Labels Gadget used in Confluence. Would very much appreciate your help.Best regards,EJ


author: S Stack
body: @Giuliano de Campos : We also see this behavior in **JIRA 6.4.6** linked with **Confluence 5.8.4** . The **JIRA** **Activity Gadget** embedded in a Confluence page displays the Confluence URL instead of JIRA for issues. Per the previous commenter, what is the status of this problem?


author: Rodrigo Girardi Adami
body: Hi James,

That's odd. I couldn't find any issue related to this gadget and this behavior. Do the app links are showing the correct URL for both apps?

I recommend to perform a test into another confluence and JIRA environment and if the issue persists, we are probably facing a bug. In this case, please provide the steps to replicate the bug so we can open a bug report for you.

Cheers,

Rodrigo


Tags: confluence-administration
Not able to find space after uploading and restoring a Confluence space
Asked by Deepika Suresh:

Hi,

I uploaded and restored a Confluence space from version 5.4.4 to 5.5.3. The import worked just fine (100% and complete). But I am not able to find the space from the application. I checked the database for the space and got hits for the queries (space key and attachments). But the space is not visible from the application.

I tried flushing the cache, rebuilding the ancestors table, and rebuilding the content indexing. No changes!

Please advise.

Thank you,

DS


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

That's odd. Importing xml file between major versions should not work [according to here](https://confluence.atlassian.com/display/DOC/Restoring+a+Space).

In this case, I believe that some corruption happened. First try to [manually reindex](https://confluence.atlassian.com/display/DOC/Content+Index+Administration) the instance and check if the space appears.

if the space doesn't appear, I do believe that some problem happened. [proceed on deleting the space manually](https://confluence.atlassian.com/display/CONFKB/How+to+Manually+Delete+a+Space) and after use these steps to[import the space from different versions of Confluence.](https://confluence.atlassian.com/display/DOC/Restoring+a+Space#RestoringaSpace-workaround)

Cheers,

Rodrigo

comments: author: Deepika Suresh
body: That?


author: Rodrigo Girardi Adami
body: It seems my comment didn't went completely before. I've edited and completed the comment now.Cheers,Rodrigo


Tags: confluence-administration
Which apps from newrelic.com should I use to monitor linux Confleunce server?
Asked by MichalS:

Hi

Which apps from [newrelic.com](http://newrelic.com) should I use to monitor linux Confleunce server?

I guess New Relic Servers is the main one, but anything else?

Thanks!


Answers:
author: rrudnicki
body: Hi Michal,

You are right, the New Relic Servers is the best one to get information about Confluence's Health and availability. I don't know about your entire environment, but the New Relic Platform also seems interesting. However, it will be useful only if you use other things hosted on new relic, like database, reverse proxy, etc...

If you only have Confluence, the New Relic Servers will be enough for you.

I hope it helps.

All the best,

Renato Rudnicki

Atlassian Support


Tags: confluence-administration
Running a Groovy script inside of a Run macro inside of another Groovy script
Asked by Thomas Hardin:

OK, here is a totally off the wall question, but we've hit a wall with some functionality that we need to figure out.

We've taken Bob swifts scripting examples and have been able to populate form fields with data derived from preset queries and then we've been able to insert, update, delete or simply view data using the SQL plugins inside of the Run macro. Example:

```
{groovy:output=wiki}import com.atlassian.renderer.v2.RenderModedef renderMode = RenderMode.suppress(RenderMode.F_FIRST_PARA)def getSql = "select * from table where x = y"def getMacro = '{sql-query:datasource=testdb|table=false} ${getSql} {sql-query}"def get = subRenderer.render(getMacro, context, renderMode)def runMacro = """{run:id=test|autorun=false|replace=name::Name, type::Type:select::${get}|keepRequestParameters = true}{sql:datasource=testdb|table=false|p1=\$name|p2=\$type}insert into table1 (name, type) values (?, ?){sql}{run}"""out.println runMacro{groovy}
```

However, we need to go a little deeper with our functionality. We need to be able to create checks and display some messages based on the query results. for example, if someone completes a form to insert data in a table, we want to be able to run some scripts to check the db first before inserting the data.

Now, we've been able to use a Run macro with Groovy code inside of it to take the values and check the db tables. Example:

```
{run:id=test|autorun=false|replace=name::Name, type::Type:select::${get}|keepRequestParameters = true}{groovy}def checkSql = "{select * from table where name = '\name' and type = '\$type'}"def checkMacro = "{sql-query:datasource=testdb|table=false} ${checkSql} {sql-query}"def check = subRenderer.render(checkMacro, context, renderMode)        if (check == "")        {               println("This information does not exist.")         } else {               println(checkMacro)        }{groovy}{run}
```

What we need to be able to do is combine the 2 so that we can use the variables obtained from the main groovy script in the run macro and then use other groovy scripts inside that same run macro. But, I have no idea how to do this or if there are other options out there.

It's like I need to have a combination of the macros:

```
{groovy}	Some scripts		{run}			{groovy}				Some More scripts			{groovy}		{run}{groovy}
```

Any help is greatly appreciated!


Answers:
author: Chun Lee
body: Thomas,

Did you get anywhere with this?


Tags: bob-swift

groovy

macro

mysql

run

sql
Why can't I invite someone to Confluence?
Asked by Bill Barnert:

I have, to the best of my knowledge, every admin permission there is.

But when I click on "**Invite your colleagues** " on the Dashboard, I get "**Access denied /**You do not have permission to access this page. / Please contact your Site Administrator(s) to request access."

I **AM** a Site Administrator!


Answers:
author: TinA
body: Hello Bill,

I am unaware of which Confluence you are running whether OnDemand or self hosted. How ever if you are running Ondemand I suggest you contact the OnDemand support for additional help.

If you are running behind your firewall you can identify administrators on the Confluence server by running this query against the psql/mysql database for Confluence.

```
select u.id, u.user_name, u.active from cwd_user ujoin cwd_membership m on u.id=m.child_user_id join cwd_group g on m.parent_id=g.id join cwd_directory d on d.id=g.directory_idwhere g.group_name = 'confluence-administrators' and d.directory_name='Confluence Internal Directory?;
```

If you are not listed on the listing you are not an Administrator. You can follow this article to restore admin privileges as needed or contact the Admin for your server to grant more permissions for you.

<https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights>

Once you have the permissions required you can review this article to ensure you are sending the invite out correctly.

<https://confluence.atlassian.com/display/DOC/Adding+and+Inviting+Users>

-Regards,  
Tin Nguyen \| Confluence Support.


Tags: confluence-cloud

invite

jira

user-management
How do I edit the email template for personal tasks?
Asked by Chad Barnes:

I would like to edit the email notification that is sent when users try to see their personal tasks after the 5.5+ upgrade. The email subject is:

"\[confluence\] Your personal tasks have moved"

Where is this template located and/or how can I modify the content of the email?

I am familiar with editing the other templates... for the core plug-in, shares, mentions, etc. I simply cannot find the template that generates this email.


Answers:
author: Davin Studer
body: It's actually in the i18n translation file. You could download the translation file for your language and then edit the file and upload it into confluence. When you download the file you get it in a .jar format which is really just a .zip file renamed to .jar. So, rename it to .zip and then extract the contents of the file. Using the below screen shot you should be able to find the spot to make the change. Then just re zip the file rename it to .jar an upload it into Confluence. This probably won't survive upgrades, so you would need to keep that in mind.

image2014-11-12 12:14:2.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-edit-the-email-template-for-personal-tasks/qaq-p/288247?attachment-id=6664){#link_1189332a98afd3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/48899/1/image2014-11-12%2012%3A14%3A2.png){#display_1189332a98afd3_0}

comments: author: Chad Barnes
body: Thank you so much! I didn't actually want to change the i18n stuff, but refactor the whole email to remove the task list and provide alternate instructions. Your screen shot led me to the correct plug-in jar and I found the right .soy template for the email.Again, thanks!


Tags: confluence-administration

email

template
Import Open Office documents into Confluence?
Asked by Simon Longstaff:

We have numerous manuals created with Open Office writer. Trying to open in Word makes a mess of the formatting, the contents table and hyperlinks, the styles and most critically the tables and images go haywire.

We would like to migrate to a better authoring environment. Will Confluence import Open Office docs?

Simon


Answers:
author: Justin Justin
body: Simon:

1) Save your OpenOffice files out as Word docs (from inside OpenOffice)

<https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Getting_Started/Saving_a_document>

2) Once you have those files in a Word format, use Confluence's Office Connector to import.

<https://confluence.atlassian.com/display/DOC/Importing+a+Word+Document+into+Confluence>

\~\~

As another alternative, if you want to have a mix, AppFusions' Confluence [integrations with Alfresco, Box, Dropbox](http://www.appfusions.com/) allow you to natively open and edit in OpenOffice natively, from inside Confluence. You can embed the docs into a Confluence page, and there is also cross-system search as well, Pre-requisite is that you need to store your OpenOffice files in one of those repositories.Here's some videos: <https://www.youtube.com/playlist?list=PLj3RRvf1WrpdQCzgqkO9CjUZyipY1z-EY>


author: Jonathan Simonoff
body: I don't think there's any straight-forward way to do that. Were I you, I would try using the Word import function and see how the results are. (Can you save from Open Office into .doc or .docx format? If not, you might not be able to do the import.)

FWIW, in my experience going from one tool to another is never as straight-forward as it seems like it should be, and there are a lot of differences between the storage format and document structure of an HTML-based wiki and a tool like Open Office writer.

You might consider hiring one of the many Confluence consultants with expertise in conversions. It might be possible to construct a tool chain using some translators and UWC and get reasonable results. I suspect that whatever your document structure is, you will have a hard time finding any pre-existing solutions that would really work.
Ternary Radio button/Checkbox - "Yes", "No", "Maybe"?
Asked by Neil Coleman:

Is there a Confluence plugin that will allow a table to have a field with three possible values rather than the binary "Yes" or "No" of a typical radio button. I'd like to have a third possible value - a "Maybe". Ideally, I'm looking for something that allows for graphical icons that can be cycled through with a mouse click as you would with a checkbox.


Answers:
author: Jonathan Simonoff
body: Radio buttons can have any number of choices -- the thing about them is you can only choose one.

I don't know of a general way to get radio buttons on a Confluence page other than creating an HTML form and button in the button controls. For example, in an HTML macro:

\<form action=""\>

\<input type="radio" name="color" value="red"\>Red\<br\>

\<input type="radio" name="color" value="blue"\>Blue\<br\>

\<input type="radio" name="color" value="green"\>Green

\<input type

\</form\>

If I understand what you want this for, it would be that an image changes when the user selects one of the buttons. To do that, the action could be some JavaScript that changes the the image shown in an img tag.
CLI tool exits with error "Remote error: (502)Proxy Error"
Asked by license management:

Hey Bob

I'm not getting any closer to solve my issue with CLI tool export of space via PDF.

Works fine for the first SPACES

/opt/atlassian/confluence/confluence-cli $ ./confluence_export.sh DEBUG - Wed Nov 12 14:33:49 CET 2014 - success to retrieve the spaces list DEBUG - Wed Nov 12 14:33:49 CET 2014 - start to save the space CAL as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/Calendars.pdf DEBUG - Wed Nov 12 14:33:53 CET 2014 - start to save the space COM as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/Compliance.pdf DEBUG - Wed Nov 12 14:35:52 CET 2014 - start to save the space SECCPL as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/Compliance_Secure.pdf DEBUG - Wed Nov 12 14:36:12 CET 2014 - start to save the space Events as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/Events.pdf DEBUG - Wed Nov 12 14:36:33 CET 2014 - start to save the space HOME as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/NET.pdf DEBUG - Wed Nov 12 14:36:37 CET 2014 - start to save the space HR as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/Human_Resources.pdf DEBUG - Wed Nov 12 14:37:49 CET 2014 - start to save the space KB as /opt/atlassian/confluence/backup/confluence_space_backup-20141112/Knowledge_Base.pdf

Remote error: (502)Proxy Error

in the catalina.out on the server I see:

2014-11-12 14:43:06,663 WARN \[http-bio-8090-exec-1140\] \[confluence.extra.flyingpdf.ConfluenceExportUserAgent\] getImageResource Could not retrieve image resource [https://XXXXXX.al/images/icons/inline-tasks/unchecked.png](https://flownet.nl.flowtraders.local/images/icons/inline-tasks/unchecked.png) during Confluence export -- url: /rpc/soap-axis/pdfexport \| userName: clederer \| method: exportSpace

This message repeats 17 times and then nothing happens and the CLI command line returns

the error above

Remote error: (502)Proxy Error

Please let me know how to handle

best


Answers:
author: Gonchik Tsymzhitov
body: May be he will answer here

<https://bobswift.atlassian.net/secure/Dashboard.jspa>


Tags: cli