youngmon/atlassian-qna huggingface dataset:
Writing integration tests for Confluence using PageObjects
Asked by Xavier Arques:

Hi,

The tutorial [Writing integration tests using PageObjects](https://developer.atlassian.com/jiradev/jira-platform/other/tutorial-writing-integration-tests-using-pageobjects) gives an example for Jira.

But I can't make it work for Confluence.

I've added following dependencies in my pom.xml

```
&lt;dependency&gt;			&lt;groupId&gt;com.atlassian.confluence&lt;/groupId&gt;			&lt;artifactId&gt;atlassian-confluence-pageobjects&lt;/artifactId&gt;			&lt;version&gt;${confluence.version}&lt;/version&gt;			&lt;scope&gt;test&lt;/scope&gt;		&lt;/dependency&gt;		&lt;dependency&gt;			&lt;groupId&gt;com.atlassian.confluence&lt;/groupId&gt;			&lt;artifactId&gt;confluence-webdriver-pageobjects&lt;/artifactId&gt;			&lt;version&gt;2.0.10&lt;/version&gt;			&lt;scope&gt;test&lt;/scope&gt;		&lt;/dependency&gt;
```

So I have now access to *com.atlassian.confluence.webdriver.pageobjects.page.ConfluenceAbstractPage*

But I didn't find the class *TestBase* used in the JIRA example and I don't know how to access *confluence()* object instead of *jira()*

```
public class TestCsvSetupPage extends TestBase {	@Test	public void testSetupPage() {		CsvSetupPage setupPage = jira().gotoLoginPage()			.loginAsSysAdmin(CsvSetupPage.class);		CsvProjectMappingPage mappingPage = setupPage			.setCsvFile("JIM-77.csv").setDelimiter(";").next();	}}
```

I found also [confluence-plugin-functest-library](https://bitbucket.org/atlassian/confluence-plugin-functest-library) repository. But there is no read me and I don't know if I have to use it.

And also [Tips for Functional Tests with Selenium](https://developer.atlassian.com/docs/faq/writing-your-first-plugin-faq/tips-for-functional-tests-with-selenium) and [Run Wired Tests with the Plugin Test Console](https://developer.atlassian.com/docs/getting-started/writing-and-running-plugin-tests/run-wired-tests-with-the-plugin-test-console)

I'm a little bit confuse with all these tutorials.

Can anyone help me?

Regards

Xavier


Answers:
author: Xavier Arques
body: After some research and perseverance, I managed to write integration tests for Confluence using PageObjects.

I wrote a tutorial: <https://seuqra.atlassian.net/wiki/display/ACDD/Tutorial+-+Writing+integration+tests+for+Confluence+using+PageObjects>.

The source code is also available: <https://bitbucket.org/seuqra/confluence-pageobjects-integration-tests-tutorial>

Enjoy coding and testing :smile:

comments: author: bahar pattarkine
body: I want to create child page to the parent page ID supplied

any thoughts how d i open connection to Confluence then create a new page ?


Tags: integration-test
how do i delete an uploaded document
Asked by ChipHorton:


Answers:
author: Mallmann
body: Hello Chip,

We have a documentation to guide you with this action: <https://confluence.atlassian.com/display/DOC/Manage+Files#ManageFiles-Deleteanattachedfile>

I hope it helps!

Eduardo


author: Nic Brough -Adaptavist-
body: Click "delete" next to it on the attachments option on the page menu.


Tags: cloud

confluence-cloud
Wrong display of Checklists in Confluence using Jira Addon
Asked by KPSA:

Hi!

We are using the checklist addon in JIRA to help us formalize Definitions of Ready and Definitions of Done. We're also using Confluence and include informations about JIRA-issues in Confluence pages.

However, using the checklist addon, the displayed checklists differ from the ones in JIRA.

This is the view in JIRA:

checklist-JIRA.png

And this is how it looks in Confluence:

checklist-Confluence.png

As you can see there are no checkboxes in Confluence. Please provide a view in Confluence as well.

Kind regards

Dennis  
[](https://community.atlassian.com/t5/Confluence-questions/Wrong-display-of-Checklists-in-Confluence-using-Jira-Addon/qaq-p/217868?attachment-id=2873){#link_1191c68c68b2f6}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/36841/1/checklist-Confluence.png){#display_1191c68c68b2f6_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Wrong-display-of-Checklists-in-Confluence-using-Jira-Addon/qaq-p/217868?attachment-id=2874){#link_1191c68c68b2f6_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/36841/2/checklist-JIRA.png){#display_1191c68c68b2f6_2}


Answers:
author: Yves Riel _Okapya_
body: Hi Dennis,

Unfortunately, Confluence is using its own rendering engine. It simply takes the data from the column and renders it itself. Since the rendering logic is on the JIRA side, you will never be able to have the same visual output.

Yves


author: KPSA
body: Hi Yves!

<br />

Did you find anything about this?

Thanks!

Kind regards

Dennis


author: Yves Riel _Okapya_
body: Hi Dennis,

Checklist does output a checkbox in all views except for Excel and XML export. So my guess is that the Confluence integration is actually stripping those away. You can also see in your image that Confluence replaces the line breaks with " \\ " to separate the items (something that Checklist doesn't do at all).

I will try to take a deeper look into it but I don\`t think that I can do anything about it.

Regards,

Yves


Tags: addon-com.okapya.jira.checklist
Maximum data source profiles
Asked by Macky Copiozo:

What is the maximum data source profiles we can create? I can only do a max of 30 from the looks of it in the Evaluation of the Sql-plugin.


Answers:
author: Bob Swift (personal)
body: There are 2 ways to configure data sources for [SQL for Confluence](https://bobswift.atlassian.net/wiki/display/SQL/SQL+for+Confluence) (Pro edition). Application defined data sources are virtually unlimited in number (given enough memory) and add-on defined data source profiles are limited to 30. [Data Sources](https://bobswift.atlassian.net/wiki/display/SQL/Data+Sources) has more information on this.


Tags: confluence-administration
Overview of labels used in Confluence?
Asked by Niek Neuij:

I'm trying to create a page or find some overview of all labels being used in Confluence.

Is it possible for me to create this myself somehow?


Answers:
author: Stephen Deutsch
body: There used to be a popular labels heat map available in the Documentation theme (Browse, Labels, Global popular labels), but I couldn't see how to access it in the standard theme. However, you can still access it via the URL. You just need to include "/labels/listlabels-heatmap.action" after your base URL. For example: <https://confluence.atlassian.com/labels/listlabels-heatmap.action>

You can also filter by space by adding "?key=\<spacekey\>" to the end of the URL, where spacekey is the key of the space you want to see.

You can then click on each label to get more information about the pages that have that label.

Alternatively, there is the Confluence Tag Cloud plugin: <https://marketplace.atlassian.com/plugins/com.siemens.confluence.tagcloud>

comments: author: Niek Neuij
body: Thanks a lot, that was exactly what I was looking for :)


author: Nils Bier _K15t_
body: Hi Niek,

does the [label list macro](https://confluence.atlassian.com/doc/labels-list-macro-180846844.html) help?

Cheers,  
Nils

comments: author: Niek Neuij
body: Thanks Nils. It kinda helps. It's not completely what I wanted, but I'll try it anyway.


author: Davin Studer
body: What exactly are you wanting then?


author: Anne EQS
body: Same question.

The Labels List macro unfortunately only lists labels per space. (It's no option to add all existing spaces - too much.)

The All Labels page http://\<domain\>/labels/listlabels-alphaview.action also doesn't display all labels but a selection - don't know how these labels are selected.

See the example from a selected space:

Bildschirmfoto 2015-08-26 um 14.21.26.png

Then after clicking on lables from all spaces:

Bildschirmfoto 2015-08-26 um 14.21.44.png

Where is 'aerohive' gone? ...and accesspoint, adium ...

I'd require a full list of all labels used in all spaces of our confluence instance - neither the alphaview nor the heatmap are providing this.

Any further ideas, someone?  
[](https://community.atlassian.com/t5/Confluence-questions/Overview-of-labels-used-in-Confluence/qaq-p/262514?attachment-id=4371){#link_11880ae16665ac}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/44317/1/Bildschirmfoto%202015-08-26%20um%2014.21.44.png){#display_11880ae16665ac_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Overview-of-labels-used-in-Confluence/qaq-p/262514?attachment-id=4372){#link_11880ae16665ac_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/44317/2/Bildschirmfoto%202015-08-26%20um%2014.21.26.png){#display_11880ae16665ac_2}


Tags: confluence-administration
We do not support the currently configured application link.
Asked by SXPCPH:


Answers:
author: Mallmann
body: Hello Saxo.

This error seems to be the same one described on this topic: <https://answers.atlassian.com/questions/24653287/how-to-link-a-service-desk-to-a-confluence-space>

Can you confirm you have enabled 2 legged oauth in JIRA? See this article: <https://confluence.atlassian.com/display/SERVICEDESK/Providing+self-help+resources+for+your+customers+with+a+knowledge+base#Providingself-helpresourcesforyourcustomerswithaknowledgebase-Troubleshootingissueswith2-LeggedOAuth>

Eduardo


author: Nic Brough -Adaptavist-
body: Usually means that the application at the other end is not understood by the Atlassian app, so it doesn't know what you want from the link.


author: Taha Khanzada
body: Could you please elaborate ??


Tags: confluence-administration
Documentation for Confluence 5.7 available in French ?
Asked by Frederic Choron:

Hello,

Are these two documents (Confluence 5.7 - User Guide - Administrator guide) available in French ?

Thanks,


Answers:
author: Mallmann
body: Hi Frederic,

We have a page with links of Confluence Documentation in other languages, but our official documentation is available only in English and Japanese: <https://confluence.atlassian.com/doc/confluence-documentation-in-other-languages-227416055.html>

You might find third party articles in French, though. I hope it helps.

Eduardo


author: Frederic Choron
body: Hi,

Thanks for your answers :smile:

Cheers,


author: rrudnicki
body: Hi Frederic,

Unfortunately no. We have only english version.

However, you can use Google translation and paste the link you want, then you should get something like this:

[https://translate.google.com/translate?sl=en\&tl=fr\&js=y\&prev=_t\&hl=en\&ie=UTF-8\&u=https%3A%2F%2Fconfluence.atlassian.com%2Fconf57%2Fconfluence-user-s-guide-701434599.html\&edit-text=](https://translate.google.com/translate?sl=en&tl=fr&js=y&prev=_t&hl=en&ie=UTF-8&u=https%3A%2F%2Fconfluence.atlassian.com%2Fconf57%2Fconfluence-user-s-guide-701434599.html&edit-text=)

Cheers,   
Renato Rudnicki


Tags: cloud

confluence-cloud
Jira-Confluence Users
Asked by Indy Nagpal:

Hi

I have around 30 JIRA Users and about 16 of them are setup in Confluence.

Any new users I'm adding to Jira, and allowing them confluence access (confluence-users group), get a permissions violation error when they browse to the confluence section.

I've tried this for existing users as well as new users, same result -- confluence throws this error: "You are not permitted to perform this operation."

I've compared permissions/user groups etc. of the users who can view confluence with those are getting this error, and there is not difference.

Is anyone else facing such an issue? Is this the right place to ask this question?

Thanks


Answers:
author: Indy Nagpal
body: Hi Taha

We are using the cloud version of Jira. So not sure about 'same' directory as we didn't install it.

Also, I just removed the user, and recreated him with access to confluence, and still no luck. The same perms error.

Our confluence install/permissions is what comes with the default install. We haven't customized it.

The perms violation is occuring on the base url itself (not on a space inside).

It is almost as if permissions assigned to the user are somehow cached and confluence is not seeing those new permissions.

Any other thoughts?

comments: author: Taha Khanzada
body: You might ask user to clear this browser cache and cookies but I don't think it is the issue.You can check steps mentioned in this link - <https://confluence.atlassian.com/display/CLOUDKB/Unable+to+Log+in+to+Atlassian+Cloud+Instance>If it still doesn't work then raise the case with Atlassian.


author: Indy Nagpal
body: Thanks Taha... It is not the browser cache (we've tried different browsers, incognito mode etc.).I've looked at URL you've posted and none of that applies.Can you please advise where can I raise the case with Atlassian? I can't seem to find any link to a webpage or email where I can log such a request. Thanks.Thanks for your help.


author: Taha Khanzada
body: Refer this link for creating Support Ticket with atlassian - <https://confluence.atlassian.com/display/Support/Creating+a+Support+Issue>You need to login with your Atlassian Account here<https://support.atlassian.com/customer/servicedesk-portal>


author: Taha Khanzada
body: Hi Indy,

Your JIRA and Confluence are using same directory right ?

If yes then you can check in \*[Confluence Global Permission](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html)\*, which group has permission to login to confluence and add user to this group. Once you identify this group then user should be able to login to confluence.

Also make sure users are login to confluence base URL for testing purpose. If users are able to login to confluence but getting permission violation on particular space or page then there might be additionally restriction set on that page which is preventing users from accessing that page.

Taha


Tags: confluence-cloud

jira-cloud
How do I insert a "subscribe by email" option to the Knowledge Base blog?
Asked by Angie McCune:

How do I insert a "subscribe by email" option to the Knowledge Base blog?

I've already set up the Feedburner feed.

Is there a macros that would allow me to insert the widget? It is in a form.


Answers:
author: bradley_bristowstagg
body: Doesn't look like there is anything native to allow anonymous email subscribers to blogs but I found a great article to setup FeedBurner to manage it.

<https://www.theedublogger.com/2010/01/26/setting-up-feedburner-rss-and-email-subscription-for-your-blog/>

We've created a dedicated subscription page that is shown in our blog area to allow our clients to subscribe to our blog.


author: William Zanchet [Atlassian]
body: Hello Angie,  

Looking through our documentation, I can find the following knowledge base that can help you achieve it:  

<https://confluence.atlassian.com/display/DOC/Email+Notifications>

This should do the trick.  

Cheers,  
WZ

comments: author: Angie McCune
body: The problem with this is that most of our users don't have Knowledge Base logins. That is why I had originally gone with Feedburner.


author: bradley_bristowstagg
body: We are wanting to do this for our clients as well since our users are our internal staff but we would like our clients to be able to subscribe via email to our Updates Blog.


Tags: cloud

confluence-cloud

notification
Can't delete pages while "Enterprise Notification" is aktivated
Asked by Markus Planzer:

There is a bug with this plugin, where i can't delete pages when the plugin is aktivated.

Regards

**Cause**

java.lang.NullPointerException  
at com.adaptavist.confluence.enterpriseNotifications.filter.DeletePageServletFilter.doFilter(DeletePageServletFilter.java:47)

**Stack Trace:\[hide\]**

java.lang.NullPointerException

at com.adaptavist.confluence.enterpriseNotifications.filter.DeletePageServletFilter.doFilter(DeletePageServletFilter.java:47)


Answers:
author: Divya Margani [Adaptavist]
body: Hi @Markus Planzer,

Hope this finds you well. Firstly, please could you confirm the versions of Enterprise Notifications \& Confluence that you are using.

Also, please let us know if you are unable to delete only the parent pages or even the child pages.

With the latest release of Enterprise Notifications v.1.2, we are aware of the bug where the page which doesn't have a parent cannot be deleted. Our development team is aware of this and we will be working on fixing the issue soon. In the mean time, as a work around you can consider moving the page to make it a child page. You can then delete the page successfully.

If you have any further queries, please visit our website and log your enquiry via the Contact Us Form, so that we can handle this enquiry through our formal process and ensure we can address this matter correctly.

<http://www.adaptavist.com/w/about/contact-us/>

[](http://www.adaptavist.com/w/about/contact-us/)

Kind Regards

Divya Margani

Support \& QA Analyst \| Adaptavist


author: Divya Margani [Adaptavist]
body: Hi @Markus Planzer,

We have released the Enterprise Notifications version 1.2.1 which is compatible with Confluence 5.6 - 5.8.14 versions in the marketplace.

Please know the fix for the issue raised by you regarding "Parent page cannot be deleted" has been included in the new version. Please check the release notes for more details.

Please find the link below to the plugin in the marketplace.

<https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.enterpriseNotifications/versions>

Please do consider leaving us a review in the marketplace if you like our Enterprise Notifications plugin.

If you have any other queries, please do not hesitate to contact us

Kind Regards

Divya Margani

Support \& QA Analyst \| Adaptavist


author: Divya Margani [Adaptavist]
body: Hi @Markus Planzer,

Please could you visit our website and log your enquiry via the Contact Us Form, so that our support team can contact you by email and get some details from you regarding this issue.  
<http://www.adaptavist.com/w/about/contact-us/>

This may help resolve the issue much more faster.

Kind Regards

Divya Margani

Support \& QA Analyst \| Adaptavist


author: Markus Planzer
body: Its the version 1.2 of the Enterprise Notifications plugin.

Ok we deaktivate the plugin till you have an update to fix this issue. Thank you for your quick support.

Regards


Tags: addon-com.adaptavist.confluence.enterprisenotifications

confluence-administration
Can i change the font size before i print a team calender
Asked by Leslie Moynihan:


Answers:
author: Thiago Zandona
body: The same question twice. Copy from the other answer:

Hey there!

You can change the font-size modifying the CSS style of your Confluence page. See on the page below the detailed steps:

<https://confluence.atlassian.com/display/DOC/Styling+Fonts+in+Confluence>

Hope this helps.

Cheers


Tags: cloud

confluence-cloud
How to change the font size for a printed version of the team calender
Asked by Leslie Moynihan:


Answers:
author: Thiago Zandona
body: Hey there!

You can change the font-size modifying the CSS style of your Confluence page. See on the page below the detailed steps:

<https://confluence.atlassian.com/display/DOC/Styling+Fonts+in+Confluence>

Hope this helps.

Cheers


Tags: cloud

confluence-cloud
Getting a "Unable to locate space with key : " message when trying to switch between Themebuilder themes
Asked by Devin Stronge:

Whenever I attempt to switch a space's themebuilder theme I get the following error, "Unable to locate space with key : " and it applies the global theme to the space. Any ideas whats going on? This only happens on our production server and not our dev or test server (all three have the same Themebuilder and Confluence version).

Some more info: Logs are throwing "getLayout Failed to locate layout:" - but the theme the error says is missing is not listed in Builder or in the Admin panel. Perhaps I need to remove some artifacts?

<br />

Thanks!


Answers:
author: Guilherme V.
body: Hello Devin,

Maybe you could try the solution described in this [documentation](https://confluence.atlassian.com/display/CONFKB/Unable+to+find+configured+theme+module+-+Caused+by+Theme+Add-on+Uninstalled+Without+Unsetting+Theme). Or you can also could check the difference between the production and the dev instance. However, the doc will help you to see if there's a wrong theme set in those spaces.

Cheers,


Tags: confluence-administration
confluence service start question
Asked by Hsu Yao Chang:

Dear Partners,

We use ubuntu server and confluence 4.2.3. When we turn on the computer, we must run the command : /etc/init.d/confluence start manually. How can we let the command run automatically ? Thank you.


Answers:
author: Guilherme V.
body: Hi there!

Please follow the instructions from this doc:  
<https://confluence.atlassian.com/display/DOC/Start+Confluence+Automatically+on+Linux>

[](https://confluence.atlassian.com/display/DOC/Start+Confluence+Automatically+on+Linux)Cheers!


Tags: confluence-administration
all the inline comments in one page are not visble
Asked by chintu Parameshwar:

Hi,

We have 25 inline comments to the page, but only 10 out of 25 are highlighted/visible. For other 15, the text is not highlighted and seen as normal text(non-clickable).

Could you please help me how to deal with it?

Thanks,

Chintu


Answers:
author: Guilherme V.
body: Hi there,

I found this bug report:

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

And if you have this stack trace in your logs:

```
We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text.
```

You probably are facing a bug. However, try accessing your logs and search if indeed this message appears :wink:.

Cheers,

comments: author: chintu Parameshwar
body: Thanks! I did not seen any stack trace like above. I think I'm facing bug because it could be something like this: First the comment is added(probably it was visible) and then label/macro is added, hence it is not visible. am I right?


Tags: confluence-administration