youngmon/atlassian-qna huggingface dataset:
Images not shown in Confluence notifications
Asked by Johannes:

Hello together,

we are having the problem that in the Confluence notifications that are sent via mail when someone edits a page the images are not shown.

![2019-05-10 13_09_02-\[confluence\] TEST1 _ test_Alliance Sourcing Group (Siemens _ Bosch _ BSH _ Evoni.jpg](/t5/image/serverpage/image-id/54145iF7842FBFD5B1AA33/image-size/large?v=v2&px=999 "2019-05-10 13_09_02-[confluence] TEST1 _ test_Alliance Sourcing Group (Siemens _ Bosch _ BSH _ Evoni.jpg")

Is there any way to fix this?

The only thing I found were bugs which are set to closed/fixed...

Thanks in advance!

Johannes


Answers:
author: Johannes
body: Does anybody have an idea if/how this can be solved?

Cheers.

comments: author: Michael Regelin
body: Hi,

We have the same problem. Notification are sent to our Ms exchange server and read on our outlook clients.

Strange, that noone has this side-effect. pretty bad.

Did you manage to resolve your problem ?

Michael


Tags: confluence-server

server
Office Excel macro not showing in Confluence 6.12
Asked by Amir Azarmi:

Is there any special config that needs to happen to should Office Excel Macro in Confluence?


Answers:
author: Ismael Jimoh
body: Hi [@Amir Azarmi](/t5/user/viewprofilepage/user-id/1148523)

Go to your manage add-on

Switch to system add-ons and look for the office macro addon.

Ensure it is not disabled.


Tags: confluence-server

ms-excel

server
Issues - Confluence page becomes unresponsive when restricted and attachment macro is used
Asked by Radosveta Delcheva:

Dear all,

The version of Confluence is 6.15.2 (Server) and I have noticed that when I have page with restricted access and use the attachment macro to add an attachment in Google Chrome and in Mozilla Firefox the page slows down and becomes unresponsive even when the files are under 1 MB. If I leave the page the attachments are saved and attached, but it is very unpleasant. Has anybody else experienced this behavior? When the page is not restricted it is not an issue.

Thank you in advance!

Kind regards

Radosveta

Chrome


Answers:
author: Danyal Iqbal
body: +1 for Bug.


Tags: confluence-server

server
Sync Google Calendar with Wiki Team Calendar
Asked by Deleted:

I can push calendar notifications from Google to Slack. We have our Team calendar in Wiki. I want to sync Google calendar with Wiki Team calendar in order for the calendar events to appear in slack. I followed <https://confluence.atlassian.com/teamcal/subscribe-to-team-calendars-from-google-calendar-273285887.html> but the Google calendar does not show any events (neither existing ones nor the newly created in the Wiki Team Calendar by myself for test). I navigate to Google calendar in my Chrome browser. Please advise


Answers:
author: Diego
body: Hello there Kostya!

As I understand, the sync between Google Calendar and Confluence Team Calendar is not working as expected. None of the events++*from Team Calendars*++ show up in your *++Google Calendar++,*is that correct?

Looking at the link you provided us with, I can see that we still have an open issue with a pretty similar behaviour:

**[CONFSERVER-53690 \| Team Calendar subscription does not work in Google Calendar, but does in Apple Mac Calendar and Outlook](https://jira.atlassian.com/browse/CONFSERVER-53690)**

With the issue above in mind, we could start by checking a few points:

1. If the Team Calendar works with *++another calendar application++,*such as Outlook or Apple Calendar
2. If the calendar is actually ++*selected in your calendar list*++in Google Calendar

Also, are you able to verify if we face any kind of error when you try to subscribe to the Team Calendar from your Google Calendar interface? If there is an error, this could help us understand what is happening.

Looking forward to your reply Kostya!


author: Diego
body: Hello there Kostya!

As I understand, the sync between Google Calendar and Confluence Team Calendar is not working as expected. None of the events++*from Team Calendars*++ show up in your *++Google Calendar++,*is that correct?

Looking at the link you provided us with, I can see that we still have an open issue with a pretty similar behaviour:

**[CONFSERVER-53690 \| Team Calendar subscription does not work in Google Calendar, but does in Apple Mac Calendar and Outlook](https://jira.atlassian.com/browse/CONFSERVER-53690)**

With the issue above in mind, we could start by checking a few points:

1. If the Team Calendar works with *++another calendar application++,*such as Outlook or Apple Calendar
2. If the calendar is actually ++*selected in your calendar list*++in Google Calendar

Also, are you able to verify if we face any kind of error when you try to subscribe to the Team Calendar from your Google Calendar interface? If there is an error, this could help us understand what is happening.

Looking forward to your reply Kostya!


Tags: team-calendars-for-confluence

atl-int

atlassian-marketplace
How to add a button dynamically at the Navigation bar of Jira... Like the "Create" button
Asked by Subhajit Bhuiya:

Jira allows us to add menu button in the navigation panel. I read the documentation over here - <https://developer.atlassian.com/server/jira/platform/adding-menu-items-to-jira/>. My requirement is to add a button instead like create button. If we can create it dynamically based on some condition that will be great. Any help or clude in that area


Answers:
author: Danyal Iqbal
body: You need to write your own plugin and add a web item/section. (mostly Java and some xml :)

check out the Atlassian SDK.

This Tutorial should get you started:

<https://developer.atlassian.com/server/framework/atlassian-sdk/set-up-the-atlassian-plugin-sdk-and-build-a-project/>


Tags: api

jira

jira-core
How to display auto-generated html in confluence pages for code documentation
Asked by Gilberto Almeida Neto:

We have a Knowledge base made with confluence **cloud** and we want to add auto-generated html to the pages for a code documentation.  
We want to now if there is a way in confluence to do so.  
Or if we have to purchase an add-on for HTML.  

We are also wondering if the Markdown macro got discontinued.  
Because we can't access it anymore. On the new pages of confluence it is not available anymore and on the old pages, the button is inactive.


Answers:
author: Danyal Iqbal
body: You can activate the confluence html macro as described here:

<https://confluence.atlassian.com/doc/html-macro-38273085.html>

What do you mean by auto generated html?

The markdown macro is a third party app in the recent version as far as i know. check out the server version here: [https://marketplace.atlassian.com/apps/1211438/markdown-macro-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1211438/markdown-macro-for-confluence?hosting=server&tab=overview)

comments: author: Gilberto Almeida Neto
body: Thanks for the reply. I have confluence Cloud and both of those options appear to be Server only. The auto generation part is not important. It is basically just a few HTML pages that are automatically generated that I then would like to manually integrate them somehow in my knowledge base.

Are there any solutions for the Cloud version?


author: Danyal Iqbal
body: Nope. This is a restricted function in confluence cloud. The nice volks at Atlassian have blocked it (security reasons-- read XSS vulnerability).


author: Gilberto Almeida Neto
body: I see. Thank you.  
We will consider buying an HTML add on.


Tags: cloud

confluence-cloud

html

markdown
Confluence cannot start up and H2 database is not reachable
Asked by Janos Nyika:

2019-05-10 10:23:50,634 WARN \[C3P0PooledConnectionPoolManager\[identityToken-\>1hgeby9a218kkyrh17optqw\|3d5099ce\]-HelperThread-#2\] \[mchange.v2.resourcepool.BasicResourcePool\] log com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@46ceade9 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:  
org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "page\[1457153\] data leaf overflow parent:1457152 next:1457154". Possible solution: use the recovery tool \[90030-176\]

I'm trying to use DBVisualizer tool for loging into DB but it says:

An error occurred while establishing the connection:

Long Message:  
The database is read only \[90097-195\]

Details:  
Type: org.h2.jdbc.JdbcSQLException  
Error Code: 90097  
SQL State: 90097


Answers:
author: Shannon S
body: Hello Janos,

Welcome to Community; it's nice to have you!

The [Embedded H2 database](https://confluence.atlassian.com/doc/embedded-h2-database-145098285.html) as you may know already is useful for evaluating Confluence instances, but can cause a lot of issues when used on an instance being run as a production instance.

1. Is this an evaluation still, or a production instance?
2. When is the last time you created a full site backup?
3. What is your Confluence version?

In order to resolve this error, you will need to migrate your data to a [supported database](https://confluence.atlassian.com/doc/supported-platforms-207488198.html).

Please review the documentation [Migrating to Another Database](https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html) for details on this. Note that this **does** require you to have a full site backup in order to proceed.

Do let me know if you have any difficulty or roadblocks, including the above information requested and we can proceed from there!

Regards,

Shannon


Tags: confluence-server

server
user macro within table: using cell value on the same row as parameter
Asked by Nicolas Meaux:

Hello,

I wonder how i can use under my user macro, the value on a separate cell in the same row on which i did insert my custom macro within an existing confluence table ?

Thanks for help :)

Nicolas


Answers:
author: Diego
body: Hello there!

That is an interesting project Nicolas. Fetching the values from within a Confluence table *is* *possible,* but by no means it is *clean.*

We will need to fetch the page value within your User Macro and work from there. Here we have another thread that tries to do exactly this, fetch the page body content within a user macro:

**[how to get a page content body via velocity in a user macro?](https://community.atlassian.com/t5/Questions-for-Confluence/how-to-get-a-page-content-body-via-velocity-in-a-user-macro/qaq-p/235309)**

When we have the content, we will then need to *identify* the values that the macro needs. Another article in our Community might shed some light on how we can work with tables in our macros:

**[The Admin's tale - User Macro filtering a Confluence table](https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-User-Macro-filtering-a-Confluence-table/ba-p/459369)**

Another option would be to create tables *within the macro itself and work from there:*

***[Formatting html table via user macro](https://community.atlassian.com/t5/Answers-Developer-Questions/Formatting-html-table-via-user-macro/qaq-p/502625)***

For short, your project is possible, but not really clean in the end. Looking forward to your reply Nicolas.

comments: author: Nicolas Meaux
body: Hello Diego,

Thanks for your reply and for this very usefull threads.

I did change what i did plan to do and was able to build a full table with a user macro based on my needs.

However i am still looking to a solution to retrieve data from a "master table" based on the first column term selection, in order to build custom pages and separate data \& structure for a bunch of pages ( which will be all macro ).

I was not able to make the javascript working on the example i did see :

```

## @noparams

#set ( $Long = $generalUtil.getSystemStartupTime() )
#set ( $pageId = 5997128 )
#set ( $page = $pageManager.getPage($pageId) )
#set ( $pageContent = $page.getBodyAsString() )
#set ( $searchterm = "check_totob" )

<div id="searchInput$paramFilterID">
$searchterm
</div>

<div id="tableFilter$paramFilterID">
$pageContent
</div>

<script type="text/javascript">
AJS.$("#searchInput$paramFilterID").keyup(function () {
var jqry = AJS.$
var rows = jqry("#tableFilter$paramFilterID tbody tr").hide();
var searchData = this.value;
if (searchData.length) {
var data = searchData.toLowerCase().split(" ");
jqry.each(data, function (search_idx, str) {
rows.filter(function(row) {
var col_to_filter = $paramColumnNumber;
if (col_to_filter>=0) {
var td_to_filter = $(this).children("td").eq(parseInt(col_to_filter));
return $(td_to_filter).text().toLowerCase().indexOf(data) >= 0;
} else {
return $(this).text().toLowerCase().indexOf(data) >= 0;
?}
}).show();
});
} else {
rows.show();
}
});
</script>
```

rgds

Nicolas


Tags: atl-adm
Alternative to the old 'Show and Hide' macro?
Asked by Helen Gosper:

Is anyone aware of either an alternative macro (or another way of achieving the same result) to the old '**show-and-hide-macro'** which used to allow us to set a date as the condition?

The use case is quite simple: Needing to keep a block of text on a page within product documentation hidden until a certain date, when it will automatically show. Or alternatively, hide a block of content starting on a certain date.

We are upgrading from 5.10 server and onto Cloud.

The Visibility plug-in contains show-if/hide-if, but not 'show-and-hide'.

thanks!


Answers:
author: Shannon S
body: Hello Helen,

Thank you for contacting us! Happy to help you track down a solution for your team.

I apologize but I am really not familiar with the **show-and-hide-macro** or the Visibility plugin.

Could you tell me, was this a 3rd party add-on? The add-on [Visibility for Confluence](https://marketplace.atlassian.com/apps/202/visibility-for-confluence?hosting=cloud&tab=overview) sounds familiar to what you are describing. Since you mentioned you are migrating from Confluence Server 5.10 to Cloud, perhaps this could work for you?

Regards,

Shannon

comments: author: Helen Gosper
body: Hi Shannon, thanks for replying and sorry it's taken me so long to reply myself.

It was a third-party plug-in, called 'shownhide' I believe and it showed content according to a date range. Unfortunately I can't recall the developer and no longer have access to the old server instance to look for it.

It worked like this:

```
{shownhide:from=2010-01-12|to=2010-01-24}
```

The cloud version of Visibility for Confluence contains some conditional hiding of content (eg showif). However, I really need something that will allow me to add content to a page that will automatically display on a certain date. This is what shownhide previously did.


author: Shannon S
body: Helen,

I'm not aware of any other add-ons that could support that behavior, but I've tagged your question so that it will also appear on the Marketplace Collection.

That way, if anyone knows of a solution, they can let you know.

Regards,

Shannon


Tags: atlassian-marketplace
is there a way to avoid the word 'wiki' in the standard confl cloud url path
Asked by Shoffman:

Eg.

xxxxx.atlassian.net/wiki/spaces/viewspacesummary.action?key=USERDOC

could it be

xxxxx.atlassian.net/spaces/viewspacesummary.action?key=USERDOC


Answers:
author: James Dellow
body: This isn't possible with Confluence Cloud, as its a managed environment.

comments: author: Shoffman
body: thank you


Tags: cloud

confluence-cloud
How do I make duplicate images that appear correct in edit mode keep their alignment when published?
Asked by Jessie Williamson:

New to using this platform.

I am creating what is essentially a page menu of buttons to lead to other pages. Each button is a link to other pages and I have used the same image for each one.

While in Edit mode my "buttons" are the same size and aligned however once I publish they all become different sizes.


Answers:
author: Fabienne Gerhard
body: Hi [@Jessie Williamson](/t5/user/viewprofilepage/user-id/3161561) - welcome to this wonderful community

could you describe your problem a little bit better and a screenshot would also help to get your problem fixed. Best would be showing what's the problem in editing mode and what's happening when you publish the site.

Hope we can help you!

comments: author: Jessie Williamson
body: ![edit mode.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/54260i2B85F117A55CDE8C/image-size/large?v=v2&px=999 "edit mode.PNG")![published mode.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/54261i590E8FB68E8014F2/image-size/large?v=v2&px=999 "published mode.PNG")

What I am trying to achieve is these " buttons" the same size and aligned. The left hand side is a screen shot of what I can see during editing. The spacing is not great but they are at least the same size. Once I publish I end up with them looking like they do on the right. I am using a sectioned page layout but have tried without as well, have also tried inserting the images into a table but have the same issue. The image I am using is the same for all " buttons" just he text has changed and they are all the same size/pixels.


author: Fabienne Gerhard
body: Hi [@Jessie Williamson](/t5/user/viewprofilepage/user-id/3161561) - did you try different browsers?   
I think that's really strange behaviour for pictures.

Are you using Cloud or Server Version?

My next idea would be adding a section for each button (see screenshot). This may also solve your problem with spacing.   
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/54279i8C566583C6559247/image-dimensions/151x338?v=v2 "image.png")


author: Jessie Williamson
body: Hi [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720) - have tried explorer and Chrome.

We are on a server version.

Sections still had the same issue :-( It did fix the spacing though.


author: Fabienne Gerhard
body: Ok that's really strange!

Oh - maybe something I overread the first time. You say you're using the same image for each button - how do you get the text on the "buttons"?

What I did was making an image including the text for each "button" - so there is no way editing them anymore - just a pic with a link.

Another opportunity for you may be creating a Button Macro as you are using Server Version. This would look like this.  
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/54721i74C6D250EFDD2830/image-size/large?v=v2&px=999 "image.png")
Using Xporter to export JIRA content and import into Confluence Page
Asked by James Haager:

My team is telling me in order to export JIRA field selections, using Xporter for sequencing content, that first we need to export to MSWord and then into Confluence page? Really?


Answers:
author: In?s Silva
body: Hi James,

Thank you very much for using Xporter Server.

For now, we don't have any integration available between Xporter and Confluence.

[Here](https://confluence.xpand-it.com/display/public/XPORTER/Integrations) you can find all integrations available.

<br />

Best regards,

Xporter Team


Tags: confluence-server

server

xporter
How can I export unpublished changes?
Asked by Michael Witten:

We want to have a work flow for one of our confluence spaces that will require an approval from a partner before the changes go live. I think the best way to do this would be to make unpublished changes and export them as a pdf and email them for approval and once approved publish the changes. However, I can not work out how to export the page as is with unpublished changes, is this possible? I see that when you preview changes you don't get any of those options.


Answers:
author: James Dellow
body: If you are trying to do this without using 3rd-party workflow apps for Confluence, I would suggest making a copy of the page first, then make the changes. The only issue is updating the original, because there is no out of the box method to merge the copy back into the original - you could either copy \& paste or move / rename the pages around, so the copy replaces the original in the space.

comments: author: Michael Witten
body: OK, so seems this is not a feature in Confluence. We may just have to not use it for this part of the business as that makes the work flow pretty bad. Is it a feature that could be added maybe? I can't imagine it would be too hard to do considering you can already do a preview, just need to add the export options in there. In the meantime I may try find a way around this or another app that has this support.


author: James Dellow
body: Remember that Confluence is an enterprise wiki, not a content management system - so the idea is not to have workflow (but it does have a history of changes and the ability to rollback changes). However, there are apps in the marketplace that add workflow capabilities to Confluence if you need it. But yes, you might also be able to build your own customisation to do this. I've never tried it, but I believe it is possible to get draft pages via the API.


author: Michael Witten
body: Yeh, realize its not a CMS and does not have workflow, this would be the one area we would be looking at any approvals, I figured it would be easiest just to be able to print out a page with unpublished changes as we could send it to whoever we need then. I may have a look into the API, but I am guessing this will still take a lot of work just to export a pdf (considering Confluence can already do this on published pages).

Of course the other option is to do the preview and just print from the browser to a PDF. It won't be formatted as nicely as if you used confluence to do it (will have the entire interface etc), but will be a quick and easy solution.


Tags: confluence-server

export

server
English not available
Asked by amyers:

My confluence site was some how in Spanish when I logged in today. English doesn't appear to be available from the language defaults. I am pretty sure it was in English yesterday!

It appears the English language jar file exists,

```
root@wiki:/opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins# ls -tlr confluence-language-pack-en_US-6.15.0.rc1-20190311231818.jar

-rw-r--r-- 1 root root 410323 Apr  2 05:44 confluence-language-pack-en_US-6.15.0.rc1-20190311231818.jar

```

![Screen Shot 2019-05-09 at 4.00.03 PM.png](/t5/image/serverpage/image-id/54077i329ACCDCA4774C10/image-size/large?v=v2&px=999 "Screen Shot 2019-05-09 at 4.00.03 PM.png")


Answers:
author: Shannon S
body: Hello Aaron,

Thank you for sharing this with us. That's incredibly strange. I'd love to get to the bottom of this with you.

1. Can you confirm your Confluence version? I believe you might be on 6.15.0, but I want to be sure.
2. Does this occur in all spaces, in all places in Confluence?
3. Do all of your other users experience the same?
4. Can you replicate the issue on another browser?
5. If you have any customization, can you please remove it and see if the problem persists?
6. You can also try to put [Confluence in safe mode](https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html) to rule out any 3rd party add-ons causing the issue.

Looking forward to hearing back from you!

Regards,

Shannon


Tags: confluence-server

server
how to create a custom python macro
Asked by Scott Federman:

I am trying to create a custom code block macro in confluence that automatically presets the parameters. I have not had any luck. How would I write this macro?

{code:language=python\|linenumbers=true\|theme=RDark}


Answers:
author: Stephen Sifers
body: Hello Scott,

To ensure we're understanding your request, could you please clarify something for us; Are you wanting to include formatted python code within a code macro OR are you wanting to create a User macro with Python?

Further information on user macro creation may be found at [Writing User Macros.](https://confluence.atlassian.com/doc/writing-user-macros-4485.html)

This information will help to ensure we provide a proper solution for your requirements.

Regards,  
Stephen Sifers


Tags: atl-adm

confluence-server

server