youngmon/atlassian-qna huggingface dataset:
SQL add-on for Confluence OnDemand?
Asked by Adrien Ragot 2:

Hi,

I'm working on an OnDemand add-on for SQL reports in Saas and I'm trying to build feedback from customers beforehand.

* Do you know customers who would be interested?
* Are you using OnDemand and how do you currently perform your reporting?
* OnDemand users, are there other add-ons you'd like to have?

Please fill in the survey on this page: [](http://www.play-sql.com/play-sql-ondemand-subscription/)<http://www.play-sql.com/play-sql-ondemand-subscription/>

Or answer below.

Best regards,

Adrien


Answers:
author: Adrien Ragot 2
body: I wanted it, so I did it ;) [SQL Connector for Confluence OnDemand](https://marketplace.atlassian.com/plugins/com.playsql.sqlsaas) lets you query external databases and display the results in Confluence.


Tags: cloud

confluence-cloud
how to change language for current session
Asked by Sven:

Hey Guys,

our anonymous user should use the confluence menu in their language as well.

is there a possibility to change the language of the current session by clicking a link like ?lang=en_US

I only have found the links on the logon screen, but our users are anonymous so they wont click on login first :)

Any suggestions for me?

Best,  
Sven


Answers:
author: Christina Schantin [Communardo]
body: Hi sven,

you can choose between different language settings in the confluence profile. default is, that confluence take browsers language settings. so, when i configured english in firefox, the user will get the english interface and when i configured for example german language in internet explorer, then confluence will show me the german interface in internet explorer.

regards, christina


author: Kirstin Seidel-Gebert
body: Hello Sven,

As far as I know, the language of the Confluence menus depends on the Browser language.

We had just the opposit requirement: we wanted the menus to always be displayed in English. To achive that, we had to change a Confluence setting. (Confluence 4)

Cheers,  
Kirstin
Prevent WSIWYG Editor applying undesired text styles
Asked by M.S.:

I like the confluence WSIWYG editor and we are using it to produce documentation. However, the editor seems to have the annoying habit of applying undesired text styles quite randomly.

Most of the time, the additional styling is not directly visible but when you inspect the raw wiki code, then you would find loads of \<span style="..."\>...\</span\> elements. Most of the time, these apply font-size and line-height attributes.

While in most cases, the applied attributes match the default text attributes (and are therefore not directly visible), we have situations where the attributes make the text just look somewhat off (applying 14pt or 10pt where the text is actually 12pt).

Is there any workaround to prevent this from happening. I keep cleaning up larger texts using the wiki source code editor plugin, which surfaces this clutter, but that is extremely annoying.


Answers:
author: M.S.
body: We are on version 5.1.5. And yes, the editor keeps inserting these without users choosing font color.

It is pretty annoying. As stated above, I use the wiki source editor to cleanup and have actually written a small script that eliminates the undesired spans.

The issue is not that much with looking at the articles on the screen. Specifically when we start to export the content to Word (using the very nice k15t plugin), then this surfaces the undesired spans - not a fault of the plugin, it just makes them visible.

So there is no true solution, other than hoping that Atlassian will improve the editor.


author: Steffen Heller
body: Are you sure it happens randomly? I know that styles like this are applied when you choose a font color and this can easily happen unintentionally.

For more info it would be helpful to know which version of confluence you use because the editor has changed with the different versions.


author: Matthew J. Horn
body: Yup, this is a common problem with the visual editor. Extraneous spans and divs are added in all over the place, especially when you do copy/paste actions in the editor.

There is no workaround, but you can clean it up with the Source Editor plugin:

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor>

It's a free plugin that lets you get at the source of the page (when you're editing it). You can go in and remove all kinds of extra cruft and then save the page out.

It's a little clunky, but it works, and it's great for when you have really complex pages that don't seem to render quite right.

hth,

matt
How can I insert an image that is attached to another page?
Asked by Gene Thurston:

A nice technique that I used to use in the "old" confluence wiki was to create a single page called "Useful Images". I would attach all kinds of useful little icons, etc. to that page, and use the "gallary" macro to show them. But, the real use of this page was to accumulate in one place the imagery that I used over and over again on other pages. Why force me (as seems to be the case with your new WYSIWYG editor -- not a fan, btw) to have these common, useful images attached to each page I want to use them on?

I know I can accomplish this by typing wiki markup directly, but then ... if I need to edit that afterwards, I am stuck. Seems to me you could have an option in your "insert image" tool that allows me to select the page to use for attached images. What do you think? Anything I'm missing?

Gene Thurston


Answers:
author: jing_hwa_cheok
body: Hi Gene,

In the new editor, you can still display an image attached in a different space or page. When you edit a page, choose insert \>\> image then select the search. From there you can search the image and display from a same or a different space.

<br />

You may find this documentation useful "[Displaying Images".](https://confluence.atlassian.com/display/DOC/Displaying+Images#DisplayingImages-Displayinganimageattachedtoadifferentpage)

<br />

Hope this helps!

Cheers,  
Jing Hwa

comments: author: Gene Thurston
body: Well, I see that this is *supposed* to work. I can choose to search for my image file in "All Spaces" or in the current space. Good! Except for two things ...

1. Not clear whether or not I can use some sort of regular expression in the Search box. If so, where is that documented?
2. Even if I type in the exact file name (e.g., blue_arrow.gif), it is not found. Is this simply a bug? If so, is it on the radar to be fixed?

Lastly, I did try the copy image from one page and paste into the editor on another. This does seem to work, although ... honestly ... I can't tell for sure since I cannot see the wiki markup any more. (VERY DISAPPOINTED IN THIS, BTW.) But, even this, has one draw back ... if I simply use the {gallary} macro to show all the images attached to my "Useful Images" page, I cannot copy/paste from the displayed imagery. I would have to "Add" each image file to the page so it is diaplayed by that mechanism ... which, of course, is not an attractive solution. It sure would be nice if you could copy/paste from the {gallary} display.

I look forward to hearing your comments on this ...

Thanks for taking the time. I really do appreciate that.

- Gene -

P.S. Bring back my wiki markup ... :-(


author: Arya Banerjee
body: Hi Jung,Could you please let me know a technique to check from the database tables if we can locate the image links for page content which refer to other space than the space from which it is getting referred? If we can get the page ids which have such image links pointing to other spaces it would be handy for us.


author: Normand_Carbonneau
body: Well, looks like the option proposed by Jing Hwa does not exist in the new editor...
Personal spaces not connected to users
Asked by Nick Shaw:

So here's an interesting little problem. We recently updated to Conf 5.3.1 from Conf 4, and we're noticing that some users' personal spaces are no longer connected to their accounts.

The spaces are still there and still functioning, but all the pages say they were created by "anonymous", and those users have the option to add a personal space in their top-bar dropdown. Though when they try it just hangs indefinitely.

It's happened with a majority of our users, but not all of them.


Answers:
author: jing_hwa_cheok
body: Hi Nick

In the new Confluence 5.3 and above, there some changes in the database schema in user referencing. It is possible that the ugpgrade did not properly reference the user to it's content.

I would suggest you to perform an force upgrade again on the user referencing:

1. Go to this link \<confluence-url\>/admin/force-upgrade.action
2. Force upgrade the following:

* referencedUsersUserMappingUpgradeTask
* userIndexingUpgradeTask
* personalSpaceCreatorCheckUpgrade
* userKeyReferenceUpgradeTask

Cheers,

Jing Hwa

comments: author: Nick Shaw
body: Thank you very much; worked like a charm!


author: jing_hwa_cheok
body: Glad I could help:).


Tags: personal-space
How to hide/display content based on macro output?
Asked by Avinash:

Hi,

I'm having a section in my confluence page to display child pages. I want to display that section only if the macro {children} retrives any child pages. I'm not sure how to use the excerpt macro to get this result. Any help greatly appreciated.

Thanks in advance!


Answers:
author: Davin Studer
body: You can do this pretty easily with a uer macro. Here is the code. This will create a user macro that you can wrap around the conditional content. If there are children to the page then that section will show, otherwise it will not.

Macro Name:  
if_children

Macro Title:  
If Children

Macro Body Processing:  
Rendered

Template:  
## @noparams  
#if ($action.page.children.size() \> 0)  
$body  
#end

comments: author: Avinash
body: Thanks Davin!


author: Andrei [errno]
body: I can only suggest tinkering with user macro + some velocity code.  
Not sure how excerpts macro will help you.

also - referencing your Confluence version might be helpful


Tags: child-page

page
Can I create a new space and move a copy of a page tree into it?
Asked by Paul Brunckhurst:

I would like to create an updated version of documentation that exists as a page tree in a team wiki.

I know that it is possible to delete a page tree by creating a new space, moving the tree into it, then deleting the space.

I'd like to know if it's possible to create a new space and move a copy of a page tree into it. That would allow me to update our documentation by simply editing the pages that changed between versions. The old version could then be archived as a pdf, and the page tree removed from the wiki - leaving the updated version.


Answers:
author: Midori
body: Although this is not exactly what you looked for, you may want to rethink your process and use the [Archiving Plugin](https://marketplace.atlassian.com/123) to detect what needs to be updated, what pieces of the documentation became irrelevant (noone vists them anymore) and also to clean up the clutter.

(You can actually make this other tedious piece of work fully automatic.)


author: Stephan Sutter
body: Hi Paul,  

May have a look at our **[Space Tree Creator](https://marketplace.atlassian.com/plugins/eps.focuspro.SpaceTreeCreator/server/overview)** plugin. It does what your are looking for.  

Regards,  
Stephan


author: jing_hwa_cheok
body: Hi Paul

You might be interested in [Copy Page Plugin](https://marketplace.atlassian.com/plugins/com.nurago.confluence.plugins.treecopy). It will allow you to copy page with all it's child pages to another space.

comments: author: Paul Brunckhurst
body: Hi Jing Hwa,

It appears to do exactly what I have in mind.

Procurement is not my department; but I can pass the information along.

Thank you.


author: jing_hwa_cheok
body: You're welcome .
Create a blog via email
Asked by e:

I'd like to have an ability to create a blog via email. What are my options? Thanks.


Answers:
author: jing_hwa_cheok
body: Hi there,

<br />

You might want to consider using [Send EMail To Page Plugin](https://marketplace.atlassian.com/plugins/biz.artemissoftware.plugins.confluence.send-email-to-page) . Here's the description directly from the plugin details
> The Send-Email-To-Page plugin uses a single email account, but allows users to send emails to any page on the server. Those emails can optionally create new pages, add comments to existing pages, add attachments, and even append content to existing pages.
>
> If used with a Google Mail account or other server which supports email plus address aliasing then each Confluence page has it's own email address (even if it doesn't yet exist) via the single account. However any email system will work. There are several ways to specify content destinations (pages/comments/blogs). The system has defaults to use the email subject as the page name or a 'command tag' can be inserted into the email to tell it what to do - specifically what page to create and where. You can also add labels to the pages/blogs you create via email.

<br />

Regards,  
Jing hwa


author: e
body: Thanks a lot!

comments: author: tye lee
body: I din't know the existance of this add one. This is helpful.

You should accept Jing answer.


Tags: confluence-administration
How to redirect a Users sesion to port 80 (the base URL)
Asked by Randall Fisher:

Jira is setup with a Server Base URL of: <http://jira.internaldomain.com>

iptables is used to redirect Jira on port 8888 to 80 with:

Chain PREROUTING (policy ACCEPT)  
target prot opt source destination   
REDIRECT tcp -- anywhere anywhere tcp dpt:http redir ports 8888   

Chain POSTROUTING (policy ACCEPT)  
target prot opt source destination   

Chain OUTPUT (policy ACCEPT)  
target prot opt source destination   

Confluence is setup with a Server Base URL of: <http://confluence.internaldomain.com>

iptables is used to redirect Confluence on port 8090 to 80 with:

Chain PREROUTING (policy ACCEPT)  
target prot opt source destination   
REDIRECT tcp -- anywhere anywhere tcp dpt:http redir ports 8090   

Chain POSTROUTING (policy ACCEPT)  
target prot opt source destination   

Chain OUTPUT (policy ACCEPT)  
target prot opt source destination   

So what's the problem? Some users insist on coming into Jira and Confluence on ports 8888 and 8090. The use of the port number will persist in the URL as the user moves around in Jira and Confluence. Ocassioanly they stumble accross a feature where problems arise when the URL in the session and the Base URL do not match. Is there a way to force the user to port 80 on the inital access with actual port the service is running on? (Also, telling the user to not do this, or update their bookmark, does not work.)  


Answers:
author: Randall Fisher
body: You can't. Users are stuborn and they are going to do what they are going to do. They best you can hope for is that someone reads that email you send out or the message you put on the welcome page warning them to use the Base URL.

comments: author: Nic Brough -Adaptavist-
body: Stick Apache in front of it as a proxy (you can then drop iptables) and create a vhost to catch 8888 and 8090 access and automatically shove them to port 80 ?


Tags: jira

redirect
Error loading the comment editor in IE 11 ( Confluence 5.3.1 )
Asked by Daniel Corbett:

Confluence is timing out in IE 11, when I enter the Comment window. Usually if I hit retry, it works. Is there a fix for this?

It works fine in both Chrome and Firefox.


Answers:
author: William Zanchet [Atlassian]
body: Hi Daniel,  

In addition to it, IE 11 isn't supported using Confluence 5.4.X as you can see here:

[](https://confluence.atlassian.com/display/DOC/Supported+Platforms)<https://confluence.atlassian.com/display/DOC/Supported+Platforms>

It doesn't mean that it will not work, it means that we didn't fully test it against Confluence.

Cheers,  
WZ


author: AmrtaA
body: Hi Daniel,

Just for your information, this issue has been fixed in Confluence version 5.4 and 5.4.1 as you can see in [](https://jira.atlassian.com/browse/CONF-31942 "this bug report")<https://jira.atlassian.com/browse/CONF-31942>

Therefore, I suggest you to upgrade your Confluence instance.

Hope the information help.

Kind Regards,

Amrta Faruqi


Tags: confluence-administration
onDemand for FDA + ISO compliance
Asked by Paul Burden:

Is anyone using Jira onDemand with Confluence for the fully FDA and/or ISO compliant SDLC? Where would we begin with that?

We recently adopted Jira onDemand but now we have a project that requires FDA and ISO compliance. Some of the regulations I've been asked to have our software comply with are ISO 13485 and IEC 62304 Level 2.

I see that there are some modules for some bespoke requirements around FDA (that incidentally can't be installed in onDemand) so one might assume that someone is successfully using Jira (probably the self hosted version) in this environment.


Answers:
author: Gorka Puente _Appfire_
body: Hi @Paul Burden,

We released a document that describes how some of our customers ([Comalatech](http://www.comalatech.com/)) achieve compliance with the [FDA Title 21 CFR Part 11 regulatory requirements for Electronic Records and Electronic Signatures](http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfcfr/CFRSearch.cfm?CFRPart=11) using [Comala Workflows](https://marketplace.atlassian.com/plugins/com.comalatech.workflow).

You can find it [here](https://wiki.comalatech.com/display/CW/Comala+Workflows+FDA+Title+21+CFR+Part+11+Compliance+Statement). Check it out and let us know what do you think. If you are also interested in ISO 9001, please contact us through our [support system](https://comalatech.zendesk.com/hc/en-us).

Kind regards,

Gorka

comments: author: adil Khan
body: Xnxx


author: Matteo Gubellini _SoftComply_
body: Hi Paul,

We have just released an eQMS plugin for Confluence with a full integrated quality system for Medical Devices.

<https://marketplace.atlassian.com/plugins/ee.softcomply.qms.confluence-blueprints/server/overview>

It contains full guidance for FDA's 21 CFR compliance

Regards

Matteo


author: AgentSmith
body: Best I can do is refer you to this previous posting - Tim is correct:

[](/questions/151613/confluence-for-fda-regulated-document-management)<https://answers.atlassian.com/questions/151613/confluence-for-fda-regulated-document-management>


Tags: cloud

confluence-cloud
What is the maximum number of simultaneous access we can make with confluence
Asked by Vijay Krishna B:

What is the count that maximum people can access the confluence instance simultaneously.

Is there any limitation.


Answers:
author: Nic Brough -Adaptavist-
body: There is no way to answer that question.

It depends on your network, your server hardware and software, what the users are accessing, what they're doing, how many there are, whether you're hitting simple or complex pages, what your authentication system is, what browser they're using, and and and and.

All you can do is give us a rough idea of what you're actually looking for, and then test it yourself. Are you asking if Confluence can handle several thousand users normal access? Or are you really intending 1000 people to all hit the same page at the same time? Give us a feel for the usage and you might get something meaningful

comments: author: Vijay Krishna B
body: Brough Thanks for the reply.

Can you please tell What is the number of simultaneous users who can access normally and in the case of accessing the same page.

i have given the maxThreads as 150 in my server configuration.Does it mean only 150 users can access the instance simultaneously.Is there any other place that i can configure to change the number of simultaneous access.


author: Nic Brough -Adaptavist-
body: It's the same answer - it depends on your hardware and supporting software configuration.

As a random example, if you are using it off-the-shelf and everyone connects to the Tomcat and hits the same page, you'll get one result from a concurrent page hit. If you have Apache in front of it and caching enabled, the number will rise because Apache can serve from the cache.

There are hundreds of factors involved, and the only answer is "you have to test YOUR setup"

The number of threads is irrelevant really, it's not one per user.
How to configure nginx to cache confluence requests?
Asked by Sorin Sbarnea (Citrix):

I do want to configure nginx in order to cache confluence requests, lowing the load on the Confluence server as much as possible.

Here are few details that should be considered: nginx is providing the HTTPS and gzip compression layers to confluence.

Most people are accesing Confluence are logged in.

So far it seems that Confluence/tomcat returns responses with Expire in the past and with Cache-Control: no-cache.

I tried to ignore them, and Set-Cookie, but ended up with users having their sessions swapped, which is something not acceptable.

Doe anyone have a working setup with nginx, that does succefully do caching?


Answers:
author: Radu Dumitriu
body: Playing and re-writing headers like Cache-Control is not good. JSP favor generation of pages. This means that your request is futile.

Years ago (2, to be exact) I have created a protest against JSP as a technique: Here it is: [](https://github.com/rdumitriu/agrade-yahsrv)<https://github.com/rdumitriu/agrade-yahsrv>

Edit: to be more exact, the protest is against dynamic generation of pages (i.e. JSP, ASP, etc)


Tags: confluence-administration