youngmon/atlassian-qna huggingface dataset:
How to disable auto scroll for child tabs macro? Confluence
Asked by Sebastian Maher:

On Confluence, I have been working on creating a tutorial section in our space while utilizing the child tabs function. Everytime I click any of the tabs, it auto scrolls down to the beginning of that tab. Is there a way to disable this function? I would prefer to have it stay wherever it is on the page regardless of what tab they click on so the user can do their own scrolling. I've attached a before and after example.

**Before clicking PivotTables Tab**

![Tabs_before.png](/t5/image/serverpage/image-id/2494i6299EEB1F6CD9C5C/image-size/large?v=v2&px=999 "Tabs_before.png")

**After Clicking PivotTables Tab**

![tabs_after.png](/t5/image/serverpage/image-id/2493iD44ACB0D44211C3C/image-size/large?v=v2&px=999 "tabs_after.png")

Would this require some javascript to fix on the page itself or in the admin features?


Answers:
author: Sloan
body: Hi [@Sebastian Maher](/t5/user/viewprofilepage/user-id/1138196)

Sorry for the very late reply. Do you still face this issue? If you have suggestions or questions regarding bitvoodoo's add-ons please submit a service request here <https://support.bitvoodoo.ch>

Nesting localtabs can be tricky. Maybe our support or development has some ideas.

Thank you. :)

Best Regards  
Niklas

comments: author: Jeff Lim
body: Hi this one also happens to me.

I noticed that it's only happening in Chrome. Although it did not have this issue before.  
So tried switching to MS Edge, there is not auto-scrolling happening, which is as good.

I wanted to continue using Chrome when creating/editing confluence pages because it's much faster and snappier. Edge is so slow when editing large conf pages..


Tags: bitvoodoo

developer

navitabs
How to delete all missing attachments on Confluence server
Asked by m.w:

Hi there,

Is anyone aware of any Atlassian documentation that explains how to delete all missing attachments on a Confluence server?

Also, is there any Confluence plugins that could possibly achieve this? or atleast generate a list of missing attachments?

Thanks,

Mark


Answers:
author: AnnWorley
body: This knowledge base article has SQL queries to identify missing attachments:

[How to resolve missing attachments in Confluence](https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html)

I am curious why you have missing attachments. Was there an event like a restore from back-up that corresponds with the attachments going missing?
Burnup Chart generated from imported Excel data
Asked by Brian Botelho:

I've looked in the Atlassian community and other forums but can't find anything (add-on or otherwise) speaking to support for Burnup charts generated from ++imported++ Excel data for local instances (non-cloud). I acknowledge that there are 3rd party add-ons for burnups based on JIRA Scrum boards/filters.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Brian,

Most likely you'll manage to create this chart using [Table from Chart](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) macro (and maybe you'll need [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) macro) in combination with Excel macro.

comments: author: Brian Botelho
body: Thank you, I'm somewhat familair with "Chart from Table" but I don't see a Confluence burnup chart option available.

So this suggests I'll need to Chart from Table + an add-on of some sort that'll generate the burnup chart in Confluence.


author: Andrey Khaneev _StiltSoft_
body: Brian, do you have a table with data for burnup chart? If yes, then it is possible to build a burnup chart using the macro.


author: Brian Botelho
body: Hi Andrey, we are exporting the data directly from JIRA sprints and would then need to import into Confluence so yes. If it's posisble to do this with the macro I can look into how to accomplish this.

That is if you don't have a reference to the "how-to" and it's not the other reference links you already provided :\^}


author: Andrey Khaneev _StiltSoft_
body: I can set macros in my environment and show you the result and other details. To do this I need to get more details from you:

* The source table. You can change private data or at least give me a screenshot of the table so I could better understand what to deal with.
* An example of a burnup chart (screenshot) would be helpful to avoid misunderstainding.

If you want, we can continue the discussion in a [private forum](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Table%2BFilter%2Band%2BCharts%2Bfor%2BConfluence).


author: Brian Botelho
body: Thanks for the follow up, I'll get the data and screenshot for you.

Sure if you want to continue in a private forum we can do that.

It's appreicated,

Brian
Can Confluence send a notification to SLACK when a calendar event is created in Team calendars?
Asked by Brian Channing:

have successfuly set up a Confluence to SLACK connector that sends notifications on page updates but would like to see if we can send notifications on team calendar updates as well


Answers:
author: Hasnae
body: I am afraid it is not possible through the Confluence to Slack connector according to their documentation.

Perhaps you need to raise it as a feature request to the plugin vendor
Can I use dates entered into JIRA to populate a calendar in Confluence?
Asked by Brian Channing:

Is it possible to enter dates i.e. test event dates/sprint dates etc. in JIRA and have that information displayed in a Confluence team calendar? I would like to enter the dates once in JIRA and not have to switch to Confluence to update/populate the calendar.


Answers:
author: Vero Rivas
body: Hi [@Brian Channing](/t5/user/viewprofilepage/user-id/1138176)

Look at this post, maybe can help you

<https://confluence.atlassian.com/teamcal/add-jira-events-241566244.html>

Cheers


Tags: jira
Is it possible to share only one space to a user/3rd party
Asked by Helen Phillips:

I have created a space in confluence with multible pages, I want to share this one space to an outside company, but I dont want them to be able to view other spaces we have. Is this possible?


Answers:
author: Nic Brough -Adaptavist-
body: Yes.

Give them access to the space as usual, by giving their accounts or groups access in the space permissions. Then make sure they do not get access to the other spaces.

A common default is to have the "confluence users" group represent "these people can log in", as well as provide access to spaces. That will need to be unpicked in your system, so that "can log in" does not grant automatic access.

comments: author: Helen Phillips
body: Thank you
Automatic registering of licenses?
Asked by Mike Reuter:

Hi,

I want to create a multi instance on a linux-server,

in other words, I want to have several tenants. Every

tenant runs its own atlassian confluence instance.

Is there a possibility to create and destroy licenses

as needed?

Do you have links to documentation, where I can

read more about this topic?

Regards,

Mike


Answers:
author: Mike Reuter
body: \>\> It's the wrong way to do whatever you think you're trying to do.

So do you have any suggestion, how to automate that license buy/register process in a clean way?

It seems that you have a clear strategy, what you would do in that situation. I'd like to hear that if you'll tell me.

comments: author: Nic Brough -Adaptavist-
body: Yes, I wouldn't build and tear down instances. I'd get a set that work and reuse them. Or even one shared instance. No need to keep relicencing, and it won't repeatedly cost you a lot more money.


author: Mike Reuter
body: The focus for me here and now is how to automatically register(buy) new licenses.

Do you have specific details about that process?

comments: author: Nic Brough -Adaptavist-
body: It depends partly on how you are doing this "auto provisioning". If you're running the installers, part of the setup will need you to have some script that can log into your my.atlassian account and buy another licence. If you want to do it without the installers, you'll need a web-script that can do much the same but then apply the licence into the data.

But seriously, this is not a model you wish to persue. It's the wrong way to do whatever you think you're trying to do.


author: Mike Reuter
body: Oh Sorry. Maybe it did not use the correct words(I'm no native speaker).

With cancellation I mean a termination of a license with automatic renew. This may not be necessary as I every license may be registered and renewed via a scheduled license manager program.

Do you have specific documentation links, where I can examine the method you pointed out in detail?

comments: author: Nic Brough -Adaptavist-
body: No. You were clear.

An Atlassian server licence is for one year. There is no "cancel", and there is no "automatic renew". You can get a refund in some cases, but they're not going to repeatedly refund you.


author: Mike Reuter
body: Yes, of course. I want to automatically buy and cancel licenses as needed.

Is there any documentation about how to do the fiddling?

comments: author: Nic Brough -Adaptavist-
body: There is no automation available for that. You could probably automate the buy of an annual licence, but the refund process usually takes some human intervention and Atlassian won't do it repeatedly. Your "cancel" is not going to work.


author: Nic Brough -Adaptavist-
body: It is possible to automate the deployment of licences with some fiddling.

But you're going to have to buy a new licence for each instance.


Tags: licence
How do I enable the Confluence Like button?
Asked by Rainer Sudh?lter:

We use Confluence in the cloud edition. Users want to use the Like feature (described here <https://confluence.atlassian.com/confcloud/likes-and-popular-content-724765328.html>), but I am not able to activate the system add-on "Confluence Like Plugin" within the admin panel, the add-on appears greyed out with no option to activate it.

Thanks for your help,

Rainer


Answers:
author: Stephen Deutsch
body: I think you'll have to contact Atlassian support directly to be able to fix this issue: <https://support.atlassian.com/contact/>

comments: author: Rainer Sudh?lter
body: OK, opened up a ticket with them. Thanks!


Tags: like
Can I add custom controls into Confluence Addon PropertyPanel?
Asked by NoahH:

Hi! I found the info about how to customize PropertyPanel with user buttons.

Unfortunatelly, the example shows only the basic staff - how to add a simple button and how to add event listener to it.

But I saw some pictures, where developers add buttons with images, and even another controls, such as checkboxes, text inputs and delimiters.

Does onpremise Confluence support this functionality?


Answers:
author: NoahH
body: Solve it.

The correct answer is:

1. Register panel initialization through

   ```
   AJS.Confluence.PropertyPanel.Macro.registerInitHandler
   ```

2. Inside handler the first patameter would be macro placeholder, and teh second is buttons array. If you want to modify the existing button with custom HTML, you could just add 'html' property to one of the object, like this

   ```
   buttons[1].html = '<input type="text" />';
   ```

   Or, you can even insert new buttons structure into array.
3. If you want to bind event handlers to your custom controls, register window event handler to listen for created panel event.

   ```
   $(window).on('created.property-panel', function () {//work with DOM controls here});
   ```

Summary function code could look like this:

```
AJS.Confluence.PropertyPanel.Macro.registerInitHandler(function(macroPlaceholder, buttons) { //Make what you want with the buttons array. Add or set 'html' property to any custom html you want. buttons[1].html = '<input id="PropertyPanelCustomInput" type="text" />'; $(window).once('created.property-panel', function () {//Add any event handlers to you custom controls here$('PropertyPanelCustomInput').on('change', function() {//Yeah, great. Now I know how to do that!});});}, 'myplugin');
```
How do I configure the Label List Macro to only show labels used in Child Pages?
Asked by Christopher Timmer:

I am creating a customer interview portal for a startup that I have recently joined as per <https://www.atlassian.com/agile/product-design-process-customer-interview> which recommends that I use an entire space for customer interviews. However, I am not keen to have an entire space dedicate to customer interviews just yet and am using my main company space for customer interviews. This is however, causing issues with the Labl List Macro that appears to be limited to defining scope for an entire space. Is this correct? How do I configure the Label List Macro to only show labels used in Child Pages?


Answers:
author: Thomas Schlegel
body: Hi Christopher,

you can?t restrict the label list macro to subpages of a page, just for a space.

Why won't you use a new space?

comments: author: Christopher Timmer
body: Hey Thomas, I found in my last company that having multiple Spaces to have more downsides to upsides. For example, I believe that the recently updated Macro used to be restricted to a specific Space so would not show updates in other Spaces when I really just wanted to see all updates in a number of Spaces.


author: Thomas Schlegel
body: the recently updated macro can bet set to @all, or to more than one space:

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


author: Christopher Timmer
body: Ok. Thanks. I will migrate my Customer Interviews to a new Space once I've build the main homepage. Many Thanks!


author: Thomas Schlegel
body: you're welcome :-)


Tags: label

macro

space

team-playbook
Create new Confluence attachment using Java API
Asked by Tuelle:

Hi,

I want to create a new attachment to a Confluence page inside a doPost(..) method of a HttpServlet, but I get an exception which I cannot explain. I have simplified the code (I am saving the data to a local file first; it is there and valid) in the servlet to this:

```
ConfluenceUser confluenceUser = AuthenticatedUserThreadLocal.get();File file = new File("C:\\test.pdf");Attachment attachment = new Attachment("C:\\test.pdf", "application/pdf", file.getTotalSpace(), "");attachment.setCreator(confluenceUser);attachment.setCreationDate(new Date());attachment.setLastModificationDate(new Date());this.attachmentManager.saveAttachment(attachment, null, new FileInputStream(file));Page page = this.pageManager.getPage(6914058);page.addAttachment(attachment);
```

The .saveAttachment(..) throws "IllegalArgumentException: Attachment content", but what is the problem??


Answers:
author: Tuelle
body: I figured out what was missing: I had to call

attachment.setContent(page);

to link the attachment to the page. page.addAttachment does not seem to be sufficient.


Tags: attachment
Scrollable Tables with Sticky Headings
Asked by Jim Smith:

I have loads of pages with tables of information. Cells in the tables are linked using Links and Anchors to provided users with the ability to see relevant associated information.

I am running v5.9.4

I have 2 problems that I can't find an answer to:

1) How can I create Scrollable Tables that are independant of the page?

2) Where tables are more than a screenful, how can I retain the headings when navigating from a page to another page table with an Anchor a long way down the table.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Jim,

If you have [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on installed in your Confluence, you can use Table Filter macro [freezing rows](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-FreezingFirstNRows/Columns) option as a workaround.


author: Thomas Schlegel
body: Hi Jim,

you can add a separately scrollable space on a confluence page with CSS.

Add a CSS Stylesheet to your page:

```
{style}  .panel {  width:1100px;  height:600px;  overflow: auto;  } {style}
```

Then add a regular panel and put the large table into that panel.

```
{panel:borderColor=white|bgColor=white}  the Table  {panel}
```

comments: author: Jim Smith
body: Thanks for your reply Thomas, I was hoping there would be something out of the box.

I guess I'm going to have to get my hands dirty and learn some coding stuff :-)


author: Thomas Schlegel
body: Hi Jim,

it's not too hard to implement this but if you experience any problems, don't hesitate to ask.


author: Adrina Razali
body: [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483) hi, where should i put the code below? in the space editor or stylesheet? thanks in advance

```
{panel:borderColor=white|bgColor=white}  the Table  {panel}
```


author: Antonio Paulo Galdeano Damiance Junior
body: i have the same question


author: Khuong Vu
body: Hi [@Adrina Razali](/t5/user/viewprofilepage/user-id/1604260) and [@Antonio Paulo Galdeano Damiance Junior](/t5/user/viewprofilepage/user-id/1078257)

At first, I have the same question as you do. Then I figure it out where to put the code:

1. Please follow the 4 steps under section called "to edit space's CSS style sheets" as described on [https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html.](https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html.?) You can see how I did the 4 steps on my Confluence (v6.9) here: <https://www.screencast.com/t/lhq7GDk44gAD>

2. Add a panel to your page. This panel will be scrollable if you add some content into it; it is preferable that you add a substantial amount of content, like a "large table" as suggested by Thomas. This works for me as shown in my Confluence page here: <https://www.screencast.com/t/RfMkmMIf>


Tags: confluence-server

developer
Change colour roadmap bars
Asked by Patrick Vanhoof:

Is there a way to change the colour of individual bars in a lane? Would e.g. be useful to express a status.

Thanks,

Patrick


Answers:
author: Andrey Khaneev _StiltSoft_
body: It is possible to do if you are using [Chart fronm Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro#HowtouseChartfromTablemacro-Configuringlookofthechart) macro ([Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on).


Tags: roadmap
How to update a confluence page by using Ms-excel vba macro?
Asked by kumar shanu Shanu:

I want to publish data of my MS-Excel sheet on the confluence page using VBA.


Answers:
author: Arfan Tariq
body: Any update on this, was you able to Post onto confluence?


author: Davin Studer
body: I would look into the Confluence REST API and how to do REST calls from VBA. Couple links below might help point you in the right direction.

<https://stackoverflow.com/questions/19553476/how-to-make-rest-call-with-vba-in-excel>

<https://github.com/VBA-tools/VBA-Web>


Tags: confluence-administration

confluence-app

confluence-development

ms-excel

questions-for-confluence

visual-basic
This site can?t be reached confapp01da.company.edu refused to connect. Try: Checking the connecti
Asked by Navadeep M:

This site can't be reached {#toc-hId-1955644896}
================================================

**confapp01da.company.edu** refused to connect.  
Try:

* Checking the connection
* Checking the proxy and the firewall  
ERR_CONNECTION_REFUSED  
I Literally stuggled with this error for 2-3 hrs.  
Confluence Migration is done successfully. Then after I have copied theplugins, updated httpd.conf, server.xml files and placed ssl certificates in necessary paths.  
I am not sure where it went wrong. It should be something very precise i might be missing.  
Could anyone suggest me the way forward. (Looks like sometimes we need to follow the steps in sequence)  
Please help.  
Thanks,  
Nav


Answers:
author: Nic Brough -Adaptavist-
body: You say "Confluence migration is done successfully", but then follow it with a load of stuff that is part of the migration. Did you check that Confluence was usable locally after you first started it?

What do the log files say?

Connection refused usually means your network is blocking something though. Can you reach Confluence locally on the server?


Tags: migration
I can't activate custom style sheet
Asked by hiroyuki.suzuki:

Hi there

I'm confluence adminitrator.

I use custom style sheet in my cloud site.

but I can't activate custom style sheet when I access administration page.

1. access General Configuration

2. access Security Configuration

3. I can't check Custom Stylesheets for Spaces

Please tell me why do I check this configuration?


Answers:
author: Nic Brough -Adaptavist-
body: I think you are reading the documentation for Server Confluence, rather than Cloud, where you cannot do custom css.

comments: author: hiroyuki.suzuki
body: Thank you for quick reply!!!

got it.

I have found documentation for cloud in the following.

[documentation](Error Your reply was not accepted. Please check for inappropriate language or spam.)

I will try to consider other ways.


author: Sharon Hinde
body: I recently came across this problem and this is my workaround, although it will style all spaces, not just one.

Confluence 6+ on cloud has introduced a Sidebar, Header and Footer customisation screen in the Look and Feel section. Bonus, you can still use wiki markup here!

* Go to Confluence Administration \> Look and Feel \> Sidebar, header and Footer
* In the Footer section add the style macro with your custom styling. Example

```
{style}.wiki-content h2 {  border-bottom: 1px solid #ebebeb;}{style}
```

It should look something like this  

![style-macro-cloud-footer.png](https://community.atlassian.com/t5/image/serverpage/image-id/2632i0F02253C32CC582F/image-size/large?v=v2&px=999 "style-macro-cloud-footer.png")

When saved this will style all your Confluence pages.
How to configure sidebar in Confluence Cloud?
Asked by Greig Bloom:

Have used Confluence Server for many years. Have always been able to configure the sidebar to show the page hierarchy for quick navigation. Started using Confluence Cloud recently. I am the site admin, but I cannot figure out how to configure the sidebar. The "Space Tools" gear is showing up, but I don't see anything about turning on the page hierarchy anywhere. Guidance appreciated.

Thanks


Answers:
author: Susan Ostreicher
body: Hi Greig,

It sounds like you answered your own question, and as far as I know the sidebar doesn't need to be customized in order to display the page tree. But if you're switching to Cloud, you might want to be aware that sidebar customization isn't possible in the new version that's rolling out:

<https://confluence.atlassian.com/confcloud/new-navigation-and-a-new-look-for-confluence-881536766.html>


author: Greig Bloom
body: Ok... So I suppose that's a "nevermind." It appears when you go to the main "Page" page the hierarchy doesn't show up in the sidebar. But when you go to any page in the space THEN the hierarchy shows up on the left. So it seems like there's no concept of "configure sidebar" anymore. I guess...