youngmon/atlassian-qna huggingface dataset:
What is an acceptable use of the Confluence xml-rpc API?
Asked by Mick Watson:

Every hour we run a Python script that produces approx. 800 API queries. These download the contents of a page and do some analysis on them.

Our provider is telling us that this is excessive use and that our queries are contributing to a degradation of the service.

Can anyone comment on what they consider an acceptable use?

What are others using the API for?


Answers:
author: Jonathan Simonoff
body: AFAIK reading a page via the API is pretty much equivalent to accessing the page via a browser, as far as load on the server. So, if you're reading 800 pages an hour, that is like users reading 800 pages.

Is that a lot of use for your installation? If so, it may excessive.

comments: author: Mick Watson
body: Absolutely not. Confluence is supplid as a service to our entire University, with literally 1000s of spaces and 1000s of users.


author: Jonathan Simonoff
body: It is hard for me to tell whether or not it is really a big load on your server. If you are doing it 24x7, of course, that would be almost 20,000 page reads a day from this script. If you have 10,000 users but they only read a couple of pages a day each on average, then you are doubling the load. An additional factor might be other operations you are doing aside form reading pages. Some operations (like listing all pages in a large space) can be fairly expensive.Anyway, in the grand scheme of things adding 800 page reads an hour to a large installation isn't an awful lot, but I can see why your provider might see that as excessive use from one account, and be concerned about it. Were I your admin, I would be concerned about that kind of use from an ordinary user -- if this is some sort of special, unique operation, it might be OK, but if there are other people wanting to do similar things, that seems like more of a problem.Anyway, there is no real definition of "excessive use". It depends on what else is going on, the configuration of the installation, your network, etc.


Tags: confluence-administration
Is there any way to filter blog posts by tags?
Asked by Maria Bolshakova:

Or may be other ways of filtering blog posts in Confluence?


Answers:
author: Steve Gerstner [bridgingIT]
body: There is a parameter in the blogpost macro: <https://confluence.atlassian.com/display/DOC/Blog+Posts+Macro>

-\> Restrict to these labels


Tags: blog
Restore confluense from backup
Asked by xattab:

When i restore confluense from backup, i have this mesange "Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page". How it fix ?


Answers:
author: rrudnicki
body: Hi xattab,

This message can be happening for different reasons.

The first one is if you try increasing the timeout value to 180, then restart the instance may work. You can get more details about timeout [in this link](https://confluence.atlassian.com/display/CONFKB/How+to+Adjust+the+Session+Timeout+for+Confluence).

Another reason might be the Attachment Size. Please check [this documentation.](https://confluence.atlassian.com/display/DOC/Configuring+Attachment+Size)

Lastly, try to perform the following steps to see if the issue persists before proceeding with the resolution:

* Clear browser cache
* Bypass proxy and user IP address to access Confluence
* Disable [XSRF Protection](https://confluence.atlassian.com/display/DOC/Configuring+XSRF+Protection) for adding comment
* Check modified files via Confluence Admin \>\> System Information and revert the modifications (if exists)
* If all the steps above don't help resolving the issue, trace the network with [Firefox's Firebug](https://getfirebug.com/), Chrome's Developer tools, or the same tools while replicating the issue. If the first POST message is immediately responded by 403 (forbidden) error, proceed with the resolution.

Please let us know if you could solve your issue.

Regards,

Renato Rudnicki


Tags: confluence-administration
Copy Space and Confluence 5.6.x
Asked by horihel:

Are there any plans on making the Copy Space plugin compatible to Confluence 5.6? It's what's keeping us at 5.5.x at the moment.

Or alternatively is there a "best practice" for copying spaces? The only alternative I can come up with would be "export space, hack the XMLs (new space key etc.), reimport" - that sounds not very safe...


Answers:
author: Davin Studer
body: Often times they are still compatible even though they say they aren't. The reason is that developers have to go in a specify that it still works with the newer version. Normally the developer would want to test it first before stating that it works with "x" version. If the underlying API has not changed then it will normally just work. The best way to test this is to create a non-production version of your wiki and upgrade it first. Then test that the add-ons you use still work. When you are satisfied that they do then upgrade prod.


author: Steffen D?ll
body: We upgraded to 5.6.4 this week and and it works fine for us, altough it is listed only to be compatible to 5.5.6 on the marketplace.


Tags: addon-com.atlassian.confluence.plugin.copyspace

confluence-administration
Confluence change database port
Asked by Sven H??ner:

I need a secondary mysql database with an older version to run with the standard port (3306).

This means that I need to move the main mysql server from port 3306 to a different one (3307).

Confluence runs on this server. Thus I need to tell confluence to connect to the mysql server on 3307.

Nothing changes, databases don't even move. Only the port of the server changes.

How can i configure this in confluence?

Beste regards,

Sven


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

To change the Confluence database listening ports, you can simply edit the Confluence.cfg.xml file located in confluence_home directory and add the port right after the database connection URL.

This should do the trick.

Cheers,

Rodrigo

comments: author: Sven H??ner
body: Perfect!Worked like a charm!For furture reference, this has to be changed:\<property name="hibernate.connection.url"\>jdbc:mysql://localhost/confluence?sessionVariables=storage_engine%3DInnoDB\</property\>Simply put ":yourPortNumber" behind the "localhost":\<property name="hibernate.connection.url"\>jdbc:mysql://localhost:\<yourPortNumber\>/confluence?sessionVariables=storage_engine%3DInnoDB\</property\>Thank you very much sir!


author: Rodrigo Girardi Adami
body: You are welcome Sven :) Glad I could help


author: Nic Brough -Adaptavist-
body: Yes, I was assuming that the poster knew how to work out a connection string.Anyway, Rodrigo beat me to the answer (and you usually find the string in the .cfg file will contain :3306 in it, which you just change to 3307)


author: Sven H??ner
body: Forgot to mention that I have already found this article:<https://answers.atlassian.com/questions/102583>But @Nic Brough \[Adaptavist\] did not mention the details of "Work\[ing\] out the new connection settings".


Tags: confluence-administration
Hi, How do I register without internet connection?
Asked by amots yanai:


Answers:
author: Nic Brough -Adaptavist-
body: You should be able to go to the navitabs web site, register there, get a key, then paste it into your Confluence server Admin -\> Manage addons -\> Navitabs area

comments: author: amots yanai
body: thank you nic


author: amots yanai
body: I tried to use Navitabs plugin on a server confluence without internet connection.

the plugin requires a "free registration". Is there an option to register without internet connection?


author: Nic Brough -Adaptavist-
body: Same way you managed to post this question, on the internet connection you apparently don't have.

I think you need to explain what you are trying to do whaen you say "register" and why you think there is no connection.
How do I display Questions I asked or commented on?
Asked by Christian Balzer:

Does anyone know how to find my own questions again in here?


Answers:
author: J D
body: Hi @Christian Balzer,

Click on your name. Following is listed "Your Questions", "Your Answers" and your "Reputation".

regards


author: J D
body: @Kirstin Seidel-Gebert, i think its just possible by clicking on each labels. I didnt see a table of questions you are watching or something similiar, till know.

comments: author: Kirstin Seidel-Gebert
body: Neither did I :).A list of watches would be a useful feature, though. In the "old" Answers, I used to mark interesting questions by following them. So I could easily find them again later, if needed.


author: J D
body: Yep, a full list would bet better. Something like the confluence watchlist maybe.


author: Kirstin Seidel-Gebert
body: If found this issue in Atlassian JIRA: <https://jira.atlassian.com/browse/CQ-877>I voted for it and added a comment.Perhaps you'd like to vote, too, @J D?


author: Kirstin Seidel-Gebert
body: A related question: How can I manage the questions I'm watching?

Cheers,  
Kirstin


author: Davin Studer
body: From the Atlassian Answers front page.

image2014-11-20 15:21:3.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-display-Questions-I-asked-or-commented-on/qaq-p/161976?attachment-id=10952){#link_118929b841c584}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/27122/1/image2014-11-20%2015%3A21%3A3.png){#display_118929b841c584_0}


Tags: cloud

community

confluence-cloud
How to remove the <p><p/> that added after H1
Asked by C:

Hi all,

I need to remove the \<p\>\<p/\> that automatically added after the H1. Is there a way to do this? the kicker is that the \<p\>\<p/\> doesn't appear in the source code for the page so I can't remove it there.

Below is what the page looks like with it's random \<p\>\<p/\>.  
question1.JPG

This is the source code for the page.  
SC1.JPG

Any help you can provide would be great.

Thanks  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-lt-p-gt-lt-p-gt-that-added-after-H1/qaq-p/183779?attachment-id=1570){#link_118929a9c37383}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30803/1/image2014-11-20%2010%3A1%3A48.png){#display_118929a9c37383_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-lt-p-gt-lt-p-gt-that-added-after-H1/qaq-p/183779?attachment-id=1571){#link_118929a9c37383_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30803/2/image2014-11-20%2010%3A3%3A1.png){#display_118929a9c37383_2}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-lt-p-gt-lt-p-gt-that-added-after-H1/qaq-p/183779?attachment-id=1572){#link_118929a9c37383_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30803/3/SC1.JPG){#display_118929a9c37383_4}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-lt-p-gt-lt-p-gt-that-added-after-H1/qaq-p/183779?attachment-id=1573){#link_118929a9c37383_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30803/4/question1.JPG){#display_118929a9c37383_6}


Answers:
author: Davin Studer
body: Check the source of the page you are including. Is there a \<p\> \</p\> tag at the top of it.

comments: author: C
body: This is the top of the included page, I've highlighted the first \<P\> but if i remove it and \<p/\> it won't save the page.

p.JPG  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-lt-p-gt-lt-p-gt-that-added-after-H1/qaq-p/183779?attachment-id=9459){#link_118929b815943a}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30807/1/p.JPG){#display_118929b815943a_0}


author: Davin Studer
body: Hmm. Well, I'm not totally sure where it is coming from then. If you can'r figure out how it is getting put there you could always hide it via CSS like this ...#MozillaFirefox-MozillaFirefox + p {display:none;}


author: C
body: Fantastic! That worked, still no idea what it's getting it from though. Thank you.


author: Davin Studer
body: Glad to hear it. Feel free to mark the question answered.


author: C
body: The Line is empty sadly. Capture.JPG  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-lt-p-gt-lt-p-gt-that-added-after-H1/qaq-p/183779?attachment-id=5304){#link_118929ccb2862f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30805/1/Capture.JPG){#display_118929ccb2862f_0}


author: Davin Studer
body: If you expand the \<p\> tag in the top screenshot what is inside it?


Tags: confluence-administration
How do we sort in a Confluence page?
Asked by Hugh Bathurst:

.. in both blank page and in tables.


Answers:
author: J D
body: Hi Hugh,

Tables can be sortet by the headers, by clicking on them.

I dont know really what you mean by "sorting in a blank page". What do you want to sort?

regards

comments: author: Hugh Bathurst
body: I like to have all content created sorted alphabetically by default (or via a quick manual step) - be it in a table or not in a table (e.g. on a native confluence page). E.g. Enter a list ZZZ AAA BBB on separate lines then click Sort (which I can't see in Confluence OnDemand) and whalla ... 3 lines of text sorted (Ideally same, or similar in a table). PS. I'm aware Confluence can sort by clicking the header of a table (which is most handy but doesn't stay sorted if you leave then return to the page) BUT from my tests I can't do same / similar when in edit mode on the table so it stays sorted.


author: Steven F Behnke
body: Your issue is marked as won't fix:

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

My workaround suggestion to you is to:

1. Create your Table
2. Preview your page  
   image2014-12-4 11:55:21.png
3. Sort your table  
   image2014-12-4 11:55:44.png
4. Select all cells in your table  
   image2014-12-4 11:56:10.png
5. Edit your page again
6. Select all cells in the table  
   image2014-12-4 11:56:35.png
7. Press Ctrl+V to paste the contents  
   image2014-12-4 11:57:2.png

Your table is now sorted.  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-we-sort-in-a-Confluence-page/qaq-p/32385?attachment-id=10797){#link_11892a84ad66ed}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/5441/1/image2014-12-4%2011%3A57%3A2.png){#display_11892a84ad66ed_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-we-sort-in-a-Confluence-page/qaq-p/32385?attachment-id=10798){#link_11892a84ad66ed_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/5441/2/image2014-12-4%2011%3A55%3A21.png){#display_11892a84ad66ed_2}  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-we-sort-in-a-Confluence-page/qaq-p/32385?attachment-id=10799){#link_11892a84ad66ed_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/5441/3/image2014-12-4%2011%3A56%3A10.png){#display_11892a84ad66ed_4}  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-we-sort-in-a-Confluence-page/qaq-p/32385?attachment-id=10800){#link_11892a84ad66ed_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/5441/4/image2014-12-4%2011%3A55%3A44.png){#display_11892a84ad66ed_6}  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-we-sort-in-a-Confluence-page/qaq-p/32385?attachment-id=10801){#link_11892a84ad66ed_3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/5441/5/image2014-12-4%2011%3A56%3A35.png){#display_11892a84ad66ed_8}


Tags: cloud

confluence-cloud
Inserting Cells. How do we insert cells in a Confluence table?
Asked by Hugh Bathurst:

[..](https://answers.atlassian.com/questions/10416497) E.g. So cells to the left or right remain the same but cells underneath all get pushed down.


Answers:
author: J D
body: Hi Hugh,

You have following options to modify your table:

Table.PNG

From left to right:

* Insert row before your selected row
* Insert row after your selected row
* Delete selected row
* Cut Table row
* copy table row
* paste table row
* insert column before
* insert column after
* delete column
* merge table cells
* split merged table cells
* heading row
* heading column
* change cell colour
* remove table

If you need more help with tables, please ask. If you want to learn about them by yourself, [here](https://confluence.atlassian.com/display/DOC/Working+with+Tables) is the documentation about "working with tables".

regards  
[](https://community.atlassian.com/t5/Confluence-questions/Inserting-Cells-How-do-we-insert-cells-in-a-Confluence-table/qaq-p/130046?attachment-id=7466){#link_11892a6bcf7c2c}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/21575/1/Table.PNG){#display_11892a6bcf7c2c_0}

comments: author: J D
body: @Hugh Bathurst,Was this the answer you are looking for?regards.


author: Hugh Bathurst
body: Thanks for sharing JD. That's not what I'm looking for no. I was wanting to insert one (or more) cell without effecting neighbouring cells as can be done in MS XL "Shift Cells Down" option after right clicking on a cell. Since posting this question, I've learned that tables within a table appear to do what I want. - HB


author: Mark_Schultheiss
body: Open in source editor and insert the \<td\>\</td\> in the right place


author: Markus
body: I got around this in a bit of a long winded way.

To add an extra cell to a cell, I add a row in the place where I want the extra cell, which will add a row to all the cells I don't want :). Then I proceed to use the "Merge table cells" option over all the cells I didn't want split, which recombines them and just leave the cell I wanted to add the cell to.

Hope that made sense.

comments: author: Jonas Becker
body: This one works for me, but is an unbearable amount of extra work if you need to be doing it on a regular basis...


author: Bruce Lane
body: I have the same question and would love to see a solution. The work-around of course is to make the changes in an Excel spreadsheet, delete your table in Confluence, and then re-import your Excel spreadsheet in as a table.


Tags: cloud

confluence-cloud
How to set message when result is empty in PocketQuery?
Asked by John Miller:

I am querying several columns from a large database but some of the results are empty because they are so in the database, which is fine. The problem is that when PocketQuery hits an empty result it just echoes that portion of my template, so the row looks like this:

```
$query.description
```

Is there a way to change this behavior? I'd like it to say something like "None Available" or just be blank. How can I do this?

I'd also like to know how to set column widths in my template, this isn't working:

```
&lt;th class="col-$velocityCount" width="70%"&gt;Description&lt;/th&gt;
```

Thanks!


Answers:
author: Felix Grund (Scandio)
body: Hi John!

Thank you for your interest in PocketQuery! What you want to achieve should be fairly straight-forward.

For the **description field** , you can simply write this **in your template** to leave the cell blank:

```
$!query.description
```

If you want to write something else if the value is blank, you can do this:

```
#if($query.description)$query.description#{else}None Available#end
```

Regarding your **column width** , you should write some CSS instead of using the width attribute (which is deprecated and not supported in HTML5). You can easily write a *\<style\>...\</style\>* tag on top of your template and write arbitrary CSS. Just make sure you write your selectors with *.pocketquery-view* in front such that you scope your selectors for the PocketQuery table only. It's described with many references in [this StackOverflow article](http://stackoverflow.com/questions/4457506/css-how-to-set-the-table-column-width-constant-regardless-of-the-amount-of-text) how to style the width of your table columns.

Let me know if you need further help!

Regards, Felix \[Scandio\]

comments: author: John Miller
body: I see, thanks! How about if I want to display something particular for a result that is not empty but contains a keyword or something? Like\<pre\>#if($query.price('0.0'))$query.description#{else}Unlisted#end\</pre\>


author: John Miller
body: Oops, it didn't like that formatting, but you get the idea: if query.price = 0.0 then show Unlisted.


author: Felix Grund (Scandio)
body: Try like this:#if($query.price.equals('0.0'))$query.price#{else}Unlisted#endOr if it's a number in your database:#if($query.price == 0.0)$query.price#{else}Unlisted#end


Tags: mysql

pocketquery

result
Good people directory plugins for Confluence
Asked by Puja Deverakonda:

Currently using the User Profile plugin from Communardo but would like to switch to something that enables larger pictures and more administrator oversight (e.g., the ability to create profiles for someone else). Do you know of any good plugins out there?


Answers:
author: Justin Justin
body: Hi Puja,

Have u seen [Enterprise Directory and Org Chart](http://www.appfusions.com/display/EDIRC/Home)? The images come from your AD, but suggested to have all the same size for consistency. The lookup directory is pulled from AD (or LDAP) and (and can be filtered with LDAP query string, like to leave out service accts, for example), and so you can have people in the directory that are created in AD, but that are not Confluence users, for example (if that is what you are asking).

<https://www.youtube.com/watch?v=EELtQZsZr2s>


author: Davin Studer
body: If you have Confluence setup to use LDAP authentication then you can edit a user's profile in LDAP and those will sync over to Confluence with the LDAP mappings you set in the User Profile Plugin setup. You can also have the User Profile Plugin grab the photo from LDAP to get a larger one. If you upload photos through Confluence directly then Confluence resizes them to 48x48. However, if you use the API such as the User Profile Plugin uses then you can get larger pictures. Another possibility for larger pictures is an open source utility that I wrote to upload user profile pictures into Confluence.

<https://bitbucket.org/fredclown/confluence-profile-photo-uploader>


Tags: addon-de.communardo.confluence.plugins.userpro

confluence-administration

people-directory
Archiving Uploaded Attachments
Asked by David Nelsen:

Is it possible to archive uploaded attachments ? A use case would be meeting minutes. Meeting minutes could be archived after a year for example. I see mention of archiving a space or page but not attached files.


Answers:
author: Davin Studer
body: Check out the [Attachment Tools Plugin](https://marketplace.atlassian.com/plugins/com.drunkendev.confluence.plugins.attachment-tools-plugin).


Tags: confluence-administration
Adding multiple users manually
Asked by David Nelsen:

Is there a feature to allow the manually adding of multiple users at the same time. Maybe like a CSV upload or something like that?


Answers:
author: Davin Studer
body: You can do this with the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP/Confluence+Command+Line+Interface).


Tags: confluence-administration