youngmon/atlassian-qna huggingface dataset:
Is there a macro to have pages listed in a table?
Asked by Rhyne Armstrong:

I need to be able to sort and filter the table, but I don't want to have to manually add all 700 of my pages to the table. Is there a macro or plugin that will do this?


Answers:
author: Roberto Dominguez
body: Another option is using the [Checklists Plugin](https://plugins.atlassian.com/plugin/details/154) which would also allow you to manipulate the pages' labels and metadata. I haven't tried it with 700 pages, do all off them have to be shown at once? If so, the SQL Plugin suggested by Bob may be more appropriate.

Roberto

comments: author: Rhyne Armstrong
body: I am also trying this option. Thank you.


author: Rhyne Armstrong
body: This is starting to look like it should work, but for some reason, I can't get the metadata to populate the table. I have the columns nested in the checklists macro, have the metadata on the page, but the cells are empty. Any idea what could cause that?


author: Rhyne Armstrong
body: Roberto - Any idea why my metadata isn't showing? I am giving the big demo of the site in 2 days and would really like to use the Checklists pluigin instead of the Detailssummary macro. Detailssummary does show all of the data, but I can't sort the columns by clicking on the headers. The Checklists Plugin doesn't populate anything for the metadata or excerpts I identify in the page.


author: Roberto Dominguez
body: Rhyne,

See [my response.](https://studio.plugins.atlassian.com/wiki/display/CHK/Confluence+Checklists+Plugin?focusedCommentId=66355926#comment-66355926)

Roberto


author: Bob Swift (personal)
body: You can use [SQL Plugin](https://studio.plugins.atlassian.com/wiki/display/SQL) and the Confluence database to select various pages into a table.

comments: author: Rhyne Armstrong
body: I think we will use both the SQL Plugin and the Table Filter Plugin, if I can get them to play nicely. It looks like it will work, judging from my initial tests.

Another requirement is that I have filters. Is this possible? I want to have check boxes that allow me to show only the content that contain the checked labels. I suppose the system would be linking AND searches on the page list.

I think that would be multiple layers of filtering. The SQL Plugin creates the table, the Table Filter plugin filters based on the columns, and then something else would have to control the checkboxes.


author: Rhyne Armstrong
body: I actually figured out a different option here that does exactly what I needed. I used the Adaptavist Advanced Search Plugin and was able to build a hidden search that populated the table with my list of pages. I could also create check-box filters using search-input options.

So far, it works great!
using confluence as entry point for our client request
Asked by Philippe Schram:

We would use confluence as entry point for our client requests. Basically, we want to allow them to fill in a document based on a confluence template, let them attach a file if needed and create an issue in Jira.

We want to capture a Jira mandatory field within confluence issue creation form and have the trackback working from jira to confluence.

Do you think this is possible? We've setting up the trackback functionality on both environment but it's not working \[maybe we need to allow anonymous access on jira \& confluence\] ? I mean when creating an JIra issue from confluence, trackback information is not displyed in Jira.

Thanks for your help/advice,

Philippe


Answers:
author: Andy Brook [Plugin People]
body: This was the situation I had a few years ago, I ended up using Adaptavists [MailFormNG](http://www.adaptavist.com/display/Plugins/Form+Mail+NG) that sends email to a [JEMH](https://studio.plugins.atlassian.com/wiki/display/JEMH/JIRA+Extendable+Mail+Handler)mail handler enabled JIRA which does the necessary creation. Example form mail markup [here](https://studio.plugins.atlassian.com/wiki/display/JEMH/JEMH+Mail+Field+Processors). I used this technique for a Support front end.


author: Kay Brown
body: I want to do the same thing. Here are links to what I have found so far.

<http://confluence.atlassian.com/display/JIRA042/Creating%20Issues%20and%20Comments%20from%20Email>

<http://confluence.atlassian.com/display/JIRA042/Creating+Issues+via+direct+HTML+links>

Regards,

Kay


Tags: jira
Calculation with report-on & report-block & report-body
Asked by Jason Skrzypek:

Hi All,

Any ideas how I can run sum simple maths using the code below?

I need to subtract "report-info:data:Sum" from "report-info:data:startvalue"

Any ideas?

Cheers

```
|| Starting Value || Difference || New Value ||{report-on:injected=true}{report-block}{local-reporter:page:children|source=PAGETITLE0 Portfolio}{text-filter:page:title|include=.*%data:Client &gt; page:title%.*}{local-reporter}{report-body}{report-info:data:startvalue|format=?###,###.##} {report-body}{report-block}{report-on}  |  | {report-on:injected=true}{report-block}{local-reporter:page:children|source=PAGETITLE0 Portfolio}{text-filter:page:title|include=.*%data:Client &gt; page:title%.*}{local-reporter}{report-body}{report-info:data:Sum|format=?###,###.##} {report-body}{report-block}{report-on}  |
```

```

```


Answers:
author: CelesteCS
body: Hello!

For any calculations in Confluence, including any manipulations with table data, you may use [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math).

Assume you have a table with three columns and three rows on your page -- from A1 till C3, where row 1 is the header row. The sum calculation formula for rows 2 and 3 will be simple:

|-------------------|
| SUM(Table1.A2:C3) |

There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.

Thanks!


author: David Peterson
body: I'm a little confused about exactly what you're trying to output here, and why you're not using a {report-table} instead of {report-block}.

To do maths, you use the {report-eval} macro. Something like '{report-eval}%data:startvalue% - %data:Sum%{report-eval}' in your case. But I"m confused by the rest of the report, I'm afraid. I would expect you would just do something like this:

```
{report-table}{local-reporter:page:children|source=PAGETITLE1 Portfolio}  {text-filter:page:title|include=.*%data:Client &gt; page:title%.*}{local-reporter}{report-column:title=Starting Value}{report-info:data:startvalue|format=$###,###.##}{report-column}{report-column:title=Difference}{report-info:data:Sum|format=$###,###.##}{report-column}{report-column:title=New Value}{report-eval}%data:startvalue% - %data:Sum%{report-eval}{report-column}{report-table}
```


Tags: calculation

report
Manage Plugins is missing from Admin page
Asked by brian wallis:

I am running version 3.4.9 of confluence and seem to have lost the "Plugins" link under the Administration menu.

Our wiki runs fine and gets a lot of use. I haven't had to visit the admin page for quite a while but I need to check on some upgrades for some of the many plugins that we run and now I cannot find how to do that. I'm sure it was there before :-) I do seem to recall there was some issue with this many months ago but I cannot remember the details.

Anyone able to help me find out where it has gone? I cannot find any errors in the server log either. In case it is relevant, this is a small standalone installation with a mysql database.

thanks,

brian wallis...


Answers:
author: brian wallis
body: I restarted the confluence process and the plugin management link returned.


author: SarahA
body: Hallo Brian

Perhaps you only have "Confluence administrator" rights instead of "system administrator" rights? A Confluence administrator can see the Administration menu, but will not see all options in the menu. This documentation page describes the differences between a Confluence administrator and a system administrator.

I hope that solves the mystery.

Cheers, Sarah


author: seohugh
body: It looks a little difficult for me ........

[arvel blog](http://arvel.nikedeluxe.com/)
Can I import a Gliffy diagram into Confluence using gxml?
Asked by Danielle Zhu:

Is there a way to create a Gliffy diagram in Confluence by importing a Gliffy xml file? The gxml file was exported from another Confluence instance.


Answers:
author: Chris Kohlhardt
body: Hi Danielle,

Which version of the Gliffy Confluence Plugin are you using?

If you're using Confluence 4 / Gliffy 4, there is a UI issue in that you can't import GXML diagrams when you create new diagrams using the Rich Text Editor. Instead, try this from the page that you want to add the diagram to:

* Select 'Gliffy Diagram' from the 'Add' menu on the page (while in viewing mode of the page)
* Select 'Import a file as a template' and upload your GXML file

We expect to address this UI issue in our next point release.

I hope that helps!

chris @ gliffy

comments: author: Danielle Zhu
body: Hi Chris, this also worked as well as Sarah's workaround. Thank you! Indeed I am using Confluence 4 / Gliffy 4.


author: SarahA
body: Have you tried attaching the Gliffy xml file to a page, then adding a "temporary" Gliffy diagram and adapting the diagram name to match the file that is already attached? I've done a similar thing before and it's worked.

comments: author: Danielle Zhu
body: That worked. Thank you Sarah!


author: james gill
body: Thanks, these answers helped.


Tags: gliffy
Confluence 4.0: mailto link with space and page name?
Asked by Robert Lauriston:

I'd like to put a mailto link for customer feedback at the bottom of every page in my wiki. I'd like to capture the space and page name and include it in the message automatically. Are there system variables for wiki markup or custom HTML that can do that?


Answers:
author: Robert Lauriston
body: This works:

```
&lt;a href="mailto:rlauriston@sendmail.com?subject=$title - $sitemeshPage.getProperty("page.spacename")"&gt;Send Feedback&lt;/a&gt;
```


author: David Peterson
body: You would have to edit your 'main' layout and add something like:

```
&lt;a href="mailto:foo@bar.com?subject=$!{page.title} - $!{space.name}"&gt;Support&lt;/a&gt;
```

Whether or not 'page' and 'space' are available may depend on the context of where this is getting executed.


author: Robert Lauriston
body: I put it at the end of the sidebar.container div, and the subject is just " - ".


Tags: link

page-title

url
Error migrating from Twiki to Confluence
Asked by Jobin Kuruvilla [Adaptavist]:

I am trying to migrate from Twiki to Confluence and stuck at one error:

```
2011-10-24 19:28:12,588 ERROR [http-8080-2] [confluence.rpc.xmlrpc.XmlRpcServer] service javax.servlet.ServletException: org.apache.xmlrpc.ParseFailed: Content is not allowed in prolog. -- url: /rpc/xmlrpc | userName: anonymousjavax.servlet.ServletException: org.apache.xmlrpc.ParseFailed: Content is not allowed in prolog.    at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.serviceXmlRpcRequest(XmlRpcServer.java:122)    at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.service(XmlRpcServer.java:86)    at com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:64)
```

This error is seen in the confluence logs and it is thrown when the attachments are loaded. To make things worse, the error is thrown at different points every time and there is nothing common between them. Gives me a feeling that the error has nothing to do with a specific attachment. Following is the error in uwc log.

```
2011-10-24 19:39:32,588 ERROR [Thread-4] - Unexpected problem while converting:nulljava.lang.NullPointerException        at biz.artemis.confluence.xmlrpcwrapper.AttachmentForXmlRpc.getFileName(AttachmentForXmlRpc.java:91)        at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.storeAttachment(RemoteWikiBroker.java:548)        at com.atlassian.uwc.ui.ConverterEngine.sendAttachmentRemoteAPI(ConverterEngine.java:1443)        at com.atlassian.uwc.ui.ConverterEngine.sendAttachment(ConverterEngine.java:1383)
```

Anyone seen this before?


Answers:
author: Laura Kolker
body: Well moving data can change the encoding silently. So, its possible that if it was a character encoding issue, that the character encoding got magically adjusted during the file system copy. Glad it got worked out.

comments: author: Jobin Kuruvilla [Adaptavist]
body: Well, I can't think of anything better. So marking this as the answer. Thanks.


author: Laura Kolker
body: Some thoughts:

* Could you be triggering out of memory errors?
* Which version of Confluence are you migrating to? (The UWC isn't currently ready for Confluence 4.)

comments: author: Jobin Kuruvilla [Adaptavist]
body: Laura,

Thanks for the response. I have in fact looked for out of memory errors. There was none. I still tried with a higher memory (1GB max) but that didn't help either.

Confluence vesion is 3.5.6.


author: Jobin Kuruvilla [Adaptavist]
body: I have no idea what changed, but it started working once I moved everything to my Mac! I have used the same property files.

I am bit confused on how to close this question now because I am not sure why the error went away :)


Tags: universal-wiki-converter
Disable PDF printing in View File Macro
Asked by Adil Fulara:

I am using the view file macro to display embedded pdf files in wiki. As a business requirment, i would like to disable print and download options. i could not find a way to do this through the macro. Is it possible to disable print and download option ?

Thank you.


Answers:
author: arron lee
body: I am not a common user dealing with document and image processing and I am not familiar with the tool you mentioned above. But itis said that choosing a fine third party tool is very important to the document and image printing work. As for myself, I have only tried to [print PDFs](http://www.yiigo.com/guides/csharp/how-to-print-pdf.shtml) with the help of the free trial package of a third party tool whose way of processing is simple and fast. Besides, it seems to offer tutorials about how to [print images](http://www.yiigo.com/guides/csharp/how-to-save-print-image.shtml) like GIF, JPEG, PNG, TIFF, etc. It is just one of many but I do appreciate it because it is totally manual. Even though I only tried its free trial package to print documents and images and didn?t check the cost and licensing conditions, it worked great for me. I am considering to buy the pro version, and still enjoying their free online conversion service. You can also google one to help you with your printing work. I hope you success. Good luck.  

<br />

<br />

Best regards,  
Arron
How do you overlay calendars in Team Calendars for Confluence 4.0?
Asked by Craig Bye:

Is it possible to overlay calendars in Team Calendars 1.5 for Confluence 4.0? For example, this is possible in the My Calendars view, but let's say I want to create a project portal page with a Team Calendars macro pulling from calendars A, B, C. I seem to be only able to do this from the My Calendars view. Any ideas?


Answers:
author: Craig Bye
body: I didn't realize you can simply add multiple calendars to the 'Calendar' field and thus display multiple calendars just like the 'My Calendars' view.


Tags: team-calendars-for-confluence
Mirroring Confluence 4.0 instance for high availability?
Asked by Robert Lauriston:

Is there any documentation on mirroring Confluence instances? I can't find anything about it.

It would probably be fine if the mirrors were read-only.


Answers:
author: Joe Clark
body: Confluence doesn't have any mirroring functionality built-in to the product. We do offer a "Clustered" licence for Confluence, but this is designed to improve scalability, and has no features for high-availability.

One option you could investigate is using the Confluence [AutoExport plugin](https://plugins.atlassian.com/plugin/details/33010) - which can be configured to regularly export Confluence content to static HTML files that can then be served up by another static HTTP server as a backup or high-throughput mirror.

comments: author: Robert Lauriston
body: AutoExport hasn't been updated since 3.4.9. Should I look elsewhere for a solution for 4.0?


author: Joe Clark
body: Ooh, it hasn't? Hmm... we should have a 4.0 version available (or available soon). Let me check and get back to you :-)


author: Joe Clark
body: There's a 4.0-compatible version of the Auto-Export plugin in the works. We want to include fixes for [AUTOEXP-4](https://studio.plugins.atlassian.com/browse/AUTOEXP-4) and [AUTOEXP-12](https://studio.plugins.atlassian.com/browse/AUTOEXP-12) first, before we release it.


author: Robert Lauriston
body: Thanks, I'll check that out as soon as it's available.


Tags: high-availability

mirror
Warning in logs : [atlassian.confluence.cache.TransactionalCacheFactory]
Asked by Milind Shah:

Hi,

Can someone tell me what this message means and what needs to be done to avoid it.

2011-10-24 18:44:03,605 WARN \[http-8080-13\] \[atlassian.confluence.cache.TransactionalCacheFactory\] put Transactional cache update outside transaction. All updates to this cache should be performed from a thread with a valid transaction context.  
Thanks,  
milind


Answers:
author: MatthewC
body: This is an old question but teh bug seems to have re-appeared as part of the work for the new Confluence clustering (Data Center)

<https://jira.atlassian.com/browse/CONF-33774>

and

<https://jira.atlassian.com/browse/CONF-33557>

### Workaround {#toc-hId-1478725625}

To suppress the warnings, edit \<confluence-install-directory\>/confluence/WEB-INF/classes/log4j.properties:

```
## caching debugginglog4j.logger.com.atlassian.confluence.cache=ERROR, confluenceloglog4j.additivity.com.atlassian.confluence.cache=false
```
DB2 tablespace configuration and site performance
Asked by MarkW:

Default Confluence installation on the DB2 database created a single tablespace. Due to size issues for the table space, it was rebuilt from a singler tablespace to the follow:

```
Data001_16k - 16k page size - DMS - contains all non-system tables except for attachments and attachmentdataIndex001_16k - 16k page size - DMS - contains all non-system table indexes except for attachments and attachmentdata indexesAttachment - 16k page size - DMS - contains attachments and attachmentdata tables - 60 GB lob file and growingAttachment_IDX - 16k page size - DMS - contains attachments and attachmentdata indexesTemporary_16k - 16k page size - DMSThere is a 16k page size bufferpool for tables, another for indexes, and another for temporary processing.
```

This caused a degredation in performance to the site. Anything utilizing decendents, page trees, or displaying children took extraordinary amount of time to load. Some pages simply never returned. After limping along for a week we performed another rebuild to reset as close to possible the previous single tablespace setup. Here are the current settings:

```
Tablespaces per the app:USERSPACE1	- 4k page size - SMS - contains all non-system tables except for the attachmentdata table.    		- This is where the app installed all DB2 items.		- This tablespace is created by DB2 at database creation time.Tablespaces per dbosg:ATTACHMENTDATA - 16k page size - DMS - contains table/lob data for the CWIKIUSR.ATTACHMENTDATA table.ATTACHMENTDATA_IDX - 16k page size - DMS - contains index data for the CWIKIUSR.ATTACHMENTDATA table.TEMP001_16K - 16k page size - tablespace for temporary processing (sorts, etc) of tables in 16k tablespaces.Bufferpools:IBMDEFAULTBP - for use by tables in 4k tablespaces - set back to -2 per original specificationsDATA001_16K - for use by tables in 16k tablespaces - set to 40000INDEX001_16K - for use by indexes in 16k tablespaces - set to 40000TEMP001_16K - for use by temporary 16k tablespace - set to 40000
```

The site is back to running normally again. Has anyone experienced any performane issues in DB2 or possibly any other database when splitting out the tablespaces?


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

I could find this answer regarding DB2 opened for so long that I wanted to let you know that Confluence doesn't support DB2 anymore on newer versions. Probably there were some problems that caused the deprecation of this specific DB.

I recommend to stick with one of these database vendors for newer versions of confluence: Oracle 11g, MSSQL server, Mysql and Postgres.

Cheers,

Rodrigo

comments: author: MarkW
body: Hi Rodrigo,We had converted from DB2 to Oracle so the question no longer applies.Thanks!


Tags: database

db2

performance
Tablespace configuration per table
Asked by Sean Garagan:

Good day,

Is it possible to alter tables in Confluence to use a LOB-specific tablespace as well as tuning the table itself for accessing the LOB? The default in Oracle stuffs it all in the same TS but LOBs performance can be significantly enhanced using a dedicated TS with caching and partitioning set on the table itself.

Sean


Answers:
author: Peter Shiner
body: I've had my DBA do all sorts of stuff with tables underneath the Atlassian products. I would say anything that appears to Confluence the same at the cursor level would be fine. I would go ahead and give it a shot. Found all sorts of Oracle syntax searching "oracle move table to another tablespace". One source did indicate that trying to do this "online" would require it to be specified that way and that started being available in 9i.

alter table tablename move tablespace newtablespacename;


Tags: oracle
how can I remove a users profile picture
Asked by beth woodworth:

I'm a new administrator trying to remove past employees profiles and pictures, can disable and remove the profile, but pictures stay?

help.

thanks.


Answers:
author: Jo-Anne MacLeod
body: You can't actually delete a user if they've put in any content. You can however deactive them by removing them from all the groups.


author: Jaroslaw Karwat
body: is there a way to do this today? Mainly i need to be able to clear old users data out to ensure GDPR and Privacy compliance. If someone's old profile pic keeps coming up...its not compliant. Also this nonsense about keeping someone if they have any content is not exactly Compliant either. Its no longer legal to keep this information indefinitely in any way. It must be easy to totally "forget" people to be compliant

comments: author: Jaroslaw Karwat
body: by "nonsense" i mean it no longer makes sense... yes it used to, but not anymore


author: Barbara Green
body: For a disabled user the following might work. I'm not sure what the deal is for removed users since they don't appear in the admin list.

If you are the admin, you can:

1. Go to Confluence Admin-\> Manage Users.

2. Enable the user if necessary.

3. Reset the user's password (if you don't know it) and make a note of the new password.

4. Log out and then log in as the user (with the new password).

3. Go to the profile page (users/viewuserprofile.action?username=*???????*).

4. Click **Picture** on the left and click **Delete** under the picture set to delete the current picture.

5. Choose a replacement icon or upload an icon from your desktop to use for those no longer with us.

6. Click **Set Profile Picture** to set the new icon.

Seems like a lot of work, doesn't it? But it looks to me like bulk functions for users are limited in Confluence if you aren't using a separate user management tool (like Crowd or some other LDAP tool).

comments: author: Mohammed Razzaque
body: I am not admin. I was able to remove profile picture from JIRA board but I still can see that in confluence pages. Can anyone tell me how to remove my pic from confluence also. Please tell simple steps instead of sending codes. Thank you.


author: Amauri Toscano
body: Same here. I am a Confluence admin for my company and i don't see an option to delete a profile picture


author: Pam Harley
body: Same - I want to delete my own profile picture and have it revert to initials (easier for my team to track who is who). I can change my photo, but not remove it.


author: beth woodworth
body: test