youngmon/atlassian-qna huggingface dataset:
Wired Tests not shown in plugin test console
Asked by Steffen Prendke:

I migrate my custom plugin to Confluence 6.1.1. All is working fine, but I can't anymore run my wired tests, because they aren't not shown in the plugin test console any more.

I am make all steps which where defined here: [Instruction Guide](https://developer.atlassian.com/docs/getting-started/writing-and-running-plugin-tests).

If I am running atlas-integration-test, I am getting this message when my test is running:

http://localhost:1990/confluence/rest/atlassiantestrunner/1.0/runtest/it.\*.\*.ConfluenceUserIntegrationTest

404 Not found.

So, how I have to use Wired Test in the context of Confluence 6?

Test-Class

```
@RunWith(AtlassianPluginsTestRunner.class)public class ConfluenceUserIntegrationTest {	private final UserGroupService userGroupService;		public ConfluenceUserIntegrationTest(UserGroupService userGroupService) {		this.userGroupService = userGroupService;	}	@Test	public void userUpdateJob() {
           userGroupService
           ...

        }	}
```

pom.xml

```
<plugin>				<groupId>com.atlassian.maven.plugins</groupId>				<artifactId>maven-confluence-plugin</artifactId>				<version>${amps.version}</version>				<extensions>true</extensions>				<configuration>					<allowGoogleTracking>false</allowGoogleTracking>					<productVersion>${confluence.version}</productVersion>					<productDataVersion>${confluence.data.version}</productDataVersion>					<instructions>						<Atlassian-Plugin-Key>${project.groupId}.${project.artifactId}</Atlassian-Plugin-Key>						<Spring-Context>*</Spring-Context>						<Export-Package>*						</Export-Package>						<Import-Package>*;version="0";resolution:=optional</Import-Package>					</instructions>				    <productDataPath>${basedir}/src/test/resources/generated-test-resources.zip</productDataPath>					<products>						<product>							<id>confluence</id>							<instanceId>confluenceExpected</instanceId>							<!-- <productVersion>${confluence.version}</productVersion>							-->							<productDataVersion>${confluence.data.version}</productDataVersion>						</product>					</products>					<testGroups>						<testGroup>							<id>confluence-integration</id>							<productIds>								<productId>confluence</productId>							</productIds>							<includes>								<include>it/**/*Test.java</include>							</includes>						</testGroup>					</testGroups>				</configuration>			</plugin>
```


Answers:
author: Thomas Schlegel
body: Hi Steffen,

Questions about developing Plugins for Atlassian Products should better be asked in the [Atlassian Developer Community Platform](https://community.developer.atlassian.com/)

Thank you

Thomas
Sharing Confluence Page with many people results in huge e-mail file sizes
Asked by Martin Boehme:

Confluence version: 5.9.7

When sharing a Page with several people, each of them receives an e-mail about the share. At the bottom of the mail it says "**Also shared with**" followed by a list of all the other users the page was shared with -- including their profile pictures.

These profile pictures don't seem to be compressed very well, so an e-mail shared with 18 people is already about 1.4 MB in size.

For big enterprises, where sometimes pages are shared with dozens of people, this might be a problem.

**Does someone know a solution to that? Is this maybe fixed in a newer version of Confluence?**

Here are my suggestions (that don't work because the features don't exist \[yet\]):

* switching to text-only e-mails
* adjusting the e-mail template so that only the names are listed
* adjusting the e-mail template so that the pictures are compressed more


Answers:
author: Hermance NDounga
body: I'm not sure that it could work but maybe you could remove this "also shared with" field by customizing the email ? I found this doc [https://confluence.atlassian.com/doc/customizing-email-templates-168001822.html](https://confluence.atlassian.com/doc/customizing-email-templates-168001822.html?)


Tags: email

html

notification
How can fix comparing of two page versions that has a table?
Asked by Andrii Maliuta:

When comparing two versions of a page that has a big table, some data is displayed in separately created columns and some is deleted and I have to reformat table manually.

Is it a normal behavior of Confluence?

How can I fix it?

![Compare_issue_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/79i838DB57525370FFA/image-size/large?v=v2&px=999 "Compare_issue_1.png")


Answers:
author: AnnWorley
body: It looks like a known issue:

[Broken diff: Table's change ended up outside the table](https://jira.atlassian.com/browse/CONFSERVER-23280)

I don't think you can fix it, it seems like something our development team needs to work out with comparing versions of tables because notifications of changes also distort tables:

[Confluence table - shifted cells in notification email](https://jira.atlassian.com/browse/CONFSERVER-36449)

comments: author: Andrii Maliuta
body: Hello Ann.

Thank you for your reply and the information provided!  
As for [Broken diff: Table's change ended up outside the table](https://jira.atlassian.com/browse/CONFSERVER-23280?_ga=1.7600561.281900394.1486981894) - as it is marked as Resolved I cannot Vote for it to increase its priority.

Could you please inform me how to reopen the ticket or raise its priority?

Thank you.
Macro is not visible to user outside organisation
Asked by Zaheer Shaik:

Hi team. We have a macro which pulls data from Tempo and shows the completed time. We have shared this macro with our clients so that they can keep track of the project progress. However, the client is getting a message that they do not have sufficient rights. How do we give them rights to macros? Please help.


Answers:
author: kDay
body: Hi Zaheer,

I'm guessing that you're using the [Tempo Planner for JIRA](https://marketplace.atlassian.com/plugins/com.tempoplugin.tempo-planner/cloud/overview "Tempo Planner for JIRA") or the [Tempo Timesheets for JIRA](https://marketplace.atlassian.com/plugins/is.origo.jira.tempo-plugin/cloud/overview "Tempo Timesheets for JIRA") plugin, and using a macro within Confluence to report on the data within this macro. Based on the scenario you've described, I suspect that your clients are encountering a permissions issue within JIRA rather than one in Confluence.

I recommend trying to resolve said permissions issue by ensuring that you've both allowed anonymous login and anonymous permission to see the relevant issues or project that you're pulling time from within JIRA (there are steps on how to enable anonymous access for issues and projects in our article on [Allowing Anonymous Access to Your Project](https://confluence.atlassian.com/adminjiraserver070/allowing-anonymous-access-to-your-project-749382794.html "Allowing Anonymous Access to Your Project")).

If you're using a shared filter or dashboard to report on the completed time, you'll also want to make sure that the permissions on this object are set to Public (as detailed within [JRASERVER-23255](https://jira.atlassian.com/browse/JRASERVER-23255 "JRASERVER-23255")).

Cheers,  
Kenneth Giorno \| Atlassian Support


Tags: jira

macro

permission

tempo

user
Excerpt Include is not redering when a page while are using Exerpt
Asked by pratikraj11:

I am using deck of cards macro and inside using few cards where I am defining a toogle cloak and inside clock I had wriiten some text.

I am trying to include above page in a new page using Excerpt include but it is not redering first two cards?


Answers:
author: Thomas Schlegel
body: Hi Pratik,

I have tried your setting in our Confluence and it works on my side.

Could you please explain in more detail your excerpt and excerpt include pages? Maybe with a screenshot?

comments: author: pratikraj11
body: In second page also "I am using deck of cards macro and inside using few cards where I am defining a toogle cloak and inside clock" I am using Excerpt include .


author: Thomas Schlegel
body: Putting the excerpt include into a card in the second page also works for me.

Could you please add the source view or storage format of your pages? Otherwise, I can't reproduce your problem.


author: Thomas Schlegel
body: Maybe there's a problem with the ids of the cloak. Try to change the ids, so that there are no duplicated toggle ids on the page.


Tags: confluence-app
Create confluence page from jira (sprint report)
Asked by Filip Stybel:

Hi,

When i close sprint, I can see button to create confluence page. When I click "Create page", then i'm redirected to "Welcome screen" in confluence. How to fix it?

![Zrzut ekranu 2017-04-05 09.24.43.png](/t5/image/serverpage/image-id/75iAA1DBA70AC45A3F3/image-size/large?v=v2&px=999 "Zrzut ekranu 2017-04-05 09.24.43.png")![Zrzut ekranu 2017-04-05 09.29.37.png](https://community.atlassian.com/t5/image/serverpage/image-id/77i662336E02E75E4B4/image-size/large?v=v2&px=999 "Zrzut ekranu 2017-04-05 09.29.37.png")


Answers:
author: Tarun Sapra
body: It doesn't happen when I use this feature. Because I am already logged in and using both products (jira and confluence). It seems you haven't started using confluence thus it's the first time you are logging in or creating some content.

My suggestion to you is to create a sample page in your personal space in confluence and then when you try to click to link a sprint with a confluence page then you would see what I see i.e. a create page dialog with option of selecting space and page template.


Tags: jira
After importing a space we also have extra non-visible users?
Asked by Heering Ligthart:

We have imported a Space which is now visible for the admins.

But with the import also the users from the original space are imported as well. These users are not visible in our user management (as we do this in Jira), but are influencing our licenses as we get messages that we have more active users than allowed.

How can we disable the unwanted users from the original space? They are not important to us. The documentation is important.


Answers:
author: Nic Brough -Adaptavist-
body: I suspect they have been added to the internal user directory. You should be able to disable or remove them from admin -\> users in Confluence.
Retrieve a Jira "Components" system field along with values configured from JIRA in Confluence page
Asked by Manjunatha K R:

Hi,

In my confluence page, I would like to choose/update impacted "Components" against each product requirements captured for a speicfic feature. So I need to retrieve a Jira "Components" system field along with values configured from JIRA in Confluence page.

Also I would like to get feature ids and Requirement ids generated - means auto-suggests the next key, based on standard corporate habits.

Please let me know is this possible in Confluence or Any add-ons supports these feature(s). Thanks.

- Manju


Answers:
author: AnnWorley
body: When you add your JIRA issues to the Confluence page you may retrieve the Components from JIRA by editing the macro as shown:

![Screen Shot 2017-07-18 at 12.59.47 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/3298iB186D3833C3EBDAD/image-dimensions/469x302?v=v2 "Screen Shot 2017-07-18 at 12.59.47 PM.png")

I am not sure what feature IDs and Requirements IDs are in Confluence. Please elaborate more on "feature ids and Requirement ids generated - means auto-suggests the next key, based on standard corporate habits."


Tags: confluence-administration

confluence-app

questions-for-confluence
Confluence integration with the Tableau report
Asked by Sabitha Divakaran:

Could you let me know how i can integrate a tabluea report in confluence.

confluence version 5.8.6


Answers:
author: kDay
body: Hi Sabitha,

You should be able to insert a Tableau report into Confluence by using the [HTML Include Macro](https://confluence.atlassian.com/display/CONF58/HTML+Include+Macro "HTML Include Macro") to include JavaScript which references your Tableau report as detailed in this thread from the Tableau Community covering [Embedding Tableau Views on Atlassian Confluence](https://community.tableau.com/message/260786#260786 "Embedding Tableau Views on Atlassian Confluence").

Please keep in mind that the HTML Include Macro is meant to act as a container for HTML and JavaScript code snippets, but not complete HTML pages. This means that you should not include \<head\> or \<body\> tags, or you may face problems with your code functioning appropriately.  

You may also want to look into using the 3rd party [Schuberg Philis Tableau plugin](https://marketplace.atlassian.com/plugins/tableau-plugin/server/overview "Schuberg Philis Tableau plugin") which will allow you to embed Tableau views and workbooks within Confluence without having to fiddle with code.

Cheers,  
Kenneth Giorno \| Atlassian Support


author: Boris Berenberg - Atlas Authority
body: We just released [Tableau for Confluence Cloud](https://marketplace.atlassian.com/plugins/tableau-for-confluence/cloud/overview) which alows for the same kind of functionality in Cloud.
Integrated athentication to SQL DB
Asked by veera:

Is there a possibility to enable integrated athentication to SQL DB.?


Answers:
author: Davin Studer
body: If you are referring to using an Active Directory login for MS SQL Server then the answer is no. The jTDS driver that comes with Confluence does not support AD login.


author: Nic Brough -Adaptavist-
body: What type of database and what do you mean by "integrated authentication"?
Cloud: Only current space or parent page in the Content Report Table Macro
Asked by Nick Worth:

In reference to the "[Content Report Table Macro](https://confluence.atlassian.com/confcloud/content-report-table-macro-724765181.html)" within a Confluence Cloud instanceI have 2 questions:

1. How can I filter by page parent?
2. How can I dynamically set the Space and page parent so that I can use this macro within a blueprint?

I'm really surprised there is no way to dynamically insert a variable from the page into a parameter within a macro; seems like that would be a very powerful feature :/


Answers:
author: Dave Mathijs
body: Hi [@Nick Worth](/t5/user/viewprofilepage/user-id/1010412) ,

Unfortunately, that's not the purpose of this macro. It's just a simple report based on table, the parent page is not a filter, nor a column.

I agree that it would be a powerful feature. I'd suggest to have a look at the Marketplace to check if there are any apps that would help your cover this request.

Otherwise, you can always post it as a suggestion to Atlassian.


Tags: confluence-cloud
How to use Jira Two Dimentional Filter with Chart Macro
Asked by Costin Calisov:

Hi,

i try to use this two macros to get a simple stack bar report as in attach picture

![Untitled.png](/t5/image/serverpage/image-id/64iA6B695DBC6EAB20C/image-size/large?v=v2&px=999 "Untitled.png")

I was not able to, due to extra header raw for X axis, the "Issue Type", like in attach picture:

![header.png](/t5/image/serverpage/image-id/65iC24077BA4267DB1C/image-size/large?v=v2&px=999 "header.png")


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Costin,

Need more details, but in Confluence you can do this using JIRA Issues macro in combination with [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) and [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) macros ([Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on).

As a result you can get something like [this](https://youtu.be/2HCm5PPebCo?t=140).


author: Rilwan Ahmed
body: Please mention where are you trying this? in JIRA or in Confluence ?


Tags: chart
Why am I not able to see any Confluence Notifications? I am also having the same issue with Comala
Asked by Kelley Smith:

![Comala Error.PNG](/t5/image/serverpage/image-id/63i808A83E732C402D8/image-size/large?v=v2&px=999 "Comala Error.PNG")![Notifications Error.PNG](/t5/image/serverpage/image-id/62i44DB53C6C16215AC/image-size/large?v=v2&px=999 "Notifications Error.PNG")


Answers:
author: AnnWorley
body: The notification button can spin as you are describing when there is database corruption as described in [Notifications Fail to Load](https://confluence.atlassian.com/confkb/notifications-fail-to-load-349635366.html).

A similar issue may be impacting Comala:

[View Changes activity spins forever](https://comalatech.zendesk.com/hc/en-us/community/posts/202023478-View-Changes-activity-spins-forever)

Comalatech may be able to help as well:

[Submit a request](https://comalatech.zendesk.com/hc/en-us/requests/new)
Is there a way to set JIRA links to always display selected fields?
Asked by Rachel Spruill:

When adding a JIRA link to Confluence, I edit it to display as a table with selected columns. Is there a way to edit that macro at the user level, meaning that those columns will automatically display without having to configure each link?

Thanks!


Answers:
author: Marcelo Horlle
body: Hey Rachel,

Are you talking about the JIRA Gadgets that you can add into a Confluence page ? If so, you can query these documentation pages which might be helpful to achieve what you want in terms of customization: [Adding JIRA Gadget to Confluence](https://confluence.atlassian.com/conf57/adding-jira-gadgets-to-a-confluence-page-701435363.html) and [Gadge Macro Administration](https://confluence.atlassian.com/doc/gadget-macro-204047561.html).

Have a good one!


Tags: jira

link
Reverse the order in which comments appear
Asked by Eric:

I tried the scripts here: [https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-reverse-the-order-in-which-comments-appear/qaq-p/21425](/t5/Confluence-questions/Is-it-possible-to-reverse-the-order-in-which-comments-appear/qaq-p/21425)

But the thread is 5 years old and the scripts don't seem work on more recent versions (I am running 5.8.6)

When I put the code in the end of Head Custom HTML, the code appears at the top of every wiki page in an error state, and doesn't render.


Answers:
author: Panos
body: That part of the answer worked perfectly on my instance 5.8.10

```
<script>function reverseCommentOrder(){  $comments = AJS.$('#page-comments');   $comments.children().each(function(i,li){$comments.prepend(li)});}AJS.toInit(function(){  reverseCommentOrder();});</script>
```

(I added the script tags self as you should do, otherwise the code will appear in the page). If that doesnt work, please provide the error state/error message

comments: author: Paul Willman
body: I was unable to locate the custom html file anywhere on my PC - searching for Confluence Admin yielded naught. This is a client-side file, correct? Where can I find it?


author: Sloan
body: [@Panos](/t5/user/viewprofilepage/user-id/853254) Perfect, I looked for something like this.

[@Paul Willman](/t5/user/viewprofilepage/user-id/1124938) No, you find it in the Confluence application:

Go as logged in user with admin permission to **General Configuration \> Look and Feel \> Custom HTML**

Click edit and add the Script at **At end of the HEAD**.

Cheers  
Niklas


author: Jen
body: We are not using html code, is there a way to do this without the code?

If I enter just this code, where do I put it?

comments: author: Dolby Enterprise Apps
body: Any update
Space is deleted, but still shows up on drop-down menu
Asked by Melissa Kummerow:

Two coworkers accidentally created "Spaces" instead of Pages. One of the Spaces has since been deleted by them; however, on the top navigation bar where there exists the Spaces drop-down options, the Space (that has been deleted) still appears in the drop-down box.

In other words, how do you make a deleted Space completely disappear?


Answers:
author: Panos
body: Clear the caches from the admin panel


Tags: delete

space
Migration to new environment
Asked by Ian Bantilan:

We are in the process of migrating a confluence site to a new environment.

The new environment has different usernames as it is sourced from a different LDAP server. What is the best way to preserve ownership of content. We'll most likely be using site backups or space backups. Site backup xml is just around 1.5GB.


Answers:
author: Mikael Sandberg
body: We are in sort of the same situation, we are migrating to a new LDAP server and changing user names at the same time. After discussing this with Atlassian support the only way of preserving the ownership is to either do the renaming of user names in the existing LDAP, or migrate the user names over to the new LDAP server and then do the renaming there.

comments: author: Ian Bantilan
body: Been experimenting on renaming the userids in the entities.xml file itself before importing. I'm able to import the file and users are able to view their content using the new ids, however, i'm also wondering if there's more to it than renaming in the entities.xml file


Tags: jira-software
Table of Content Export
Asked by Michael:

Hello,

i have a Confluence Page with a couple of Header h1.

When i add the TOC Macro i will get listed all like

1. Example

2. Example

...

Is there anyway when i export them to get the Header with the TOC Numbers?

Regards

Michael


Answers:
author: Marcelo Horlle
body: Hey Michael,

So, you have a page with some H1 Headers in Confluence. You have used the TOC Macro to create a Table of Content for your users.

Now, I am not sure if I quite understood the problem itself and neither what you are trying to achieve.

Are you trying to export your page to a given format and want the H1 Headers to actually contain the TOC numbers ? Like, to replace the H1 Header numbers with the TOC numbers?

Please, let us know so we can help you further.

comments: author: pat madea
body: "Answer" is not a solution.


author: pat madea
body: Unfortunately, the "answer" is not a solution.

What is interesting is that **the TOC** "automatically" assigns Heading numbers to the topics in the PDF! That is great! However, **the topics within the PDF are not carrying the Heading numbers** shown in the TOC. I suspect there is a way to configure how to generate a PDF that not only automatically assigns a Heading number in the TOC but also assigns that same number to the Headings in the body when the PDF is generated.

**TOC example in generated PDF**:

1. Introduction   
1.1 Overview  
1.2 Prerequisites

**Corresponding example of headings in generated PDF**:

Introduction  
Overview  
Prerequisites

Is there a way for the TOC numbers to be synchronized with the headings in the body and shown in headings in the PDF?

madea


Tags: header

table-of-contents