youngmon/atlassian-qna huggingface dataset:
LaTeX and markdown
Asked by Catherine Dalzell:

Is it possible to include mathematical equations and symbols, by way of LaTeX, using Markdown in Atlassian?


Answers:
author: Sid
body: Hi [@Catherine Dalzell](/t5/user/viewprofilepage/user-id/2486999),

You need to have a plugin to do so, we are using this plugin -[https://marketplace.atlassian.com/apps/1210882/latex-math?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1210882/latex-math?hosting=cloud&tab=overview)

And for markdown - <https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html>

comments: author: Catherine Dalzell
body: Thanks. I'll ask my admin to install it for us.


author: Ghanaati Ali
body: Similar question here; if the markdown contains a mathematical formula, how does confluence support such a format?

a short part of the markdown file:

$$  
S(s)=\\sum_{i=1}\^{3}\\frac{\\alpha _i}{\\tau _i S + 1}  
$$

where $\\alpha_i$ is the weight factor for the filter and for each filter $i$,


author: Oki__PolarisOffice_
body: [@Catherine Dalzell](/t5/user/viewprofilepage/user-id/2486999)

Hello,

If you are looking for a way to add LaTeX in confluence pages, I would recommend

[LaTeX EASY math equation for Confluence](https://marketplace.atlassian.com/apps/1224024/latex-easy-math-equation-for-confluence) . {#toc-hId--495655118}
---------------------------------------------------------------------------------------------------------------------------------------------------------

You can choose inline/ block mode when you add LaTeX. As well as, it provides real time preview and selectable formula entry UI so you can easily add and edit formulas.


author: Parva C. - Narva Software
body: Hi Catherine,

If you are looking to write math formula in Confluence pages, you can use add-ons which provide that feature.

If Markdown is not a hard requirement, we recently released an add-on which allows rendering LaTeX as well as AsciiMath and MathML expressions in Confluence.

Please try out [**LaTeX Math for Confluence**](https://marketplace.atlassian.com/apps/1226109/latex-math-for-confluence-math-formula-equations?hosting=cloud&tab=overview) available at Atlassian Marketplace.

Let us know if you face any issues.

Thanks,

Parva
Lost old e-mails
Asked by Tales Martins:

My emails are in cloud (server) but not can access

I can only access emails for the year 2018

How do I access older email


Answers:
author: Nic Brough -Adaptavist-
body: Atlassian Cloud systems do not include an email system. I suspect you are in the wrong place here. If you think you are in the right place, could you tell us which Atlassian system you think is holding the email, and how you've got them into it?
How to create fields in confluence looks like JIRA labels?
Asked by Tony Montana:

Hi guys, Subject.

How to create fileds in confluence looks like Jira. Multiple answers, labels. etc.


Answers:
author: Tarun Sapra
body: Hello [@Tony Montana](/t5/user/viewprofilepage/user-id/618001)

Confluence provides template variables , i.e. when you use templates to create confluence pages then you can use variables.

<https://confluence.atlassian.com/doc/create-a-template-296093779.html#CreateaTemplate-Templatevariables>

But if you are looking for forms in confluence just like Jira create issue screens, then you will have to use a paid plugin like

[https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=server&tab=overview)


author: Ollie Guan
body: Hi [@Tony Montana](/t5/user/viewprofilepage/user-id/618001),

Confluence has a page-level tagging feature. Do you need this feature?  

<https://confluence.atlassian.com/confcloud/use-labels-to-organize-your-content-724764874.html>

comments: author: Tony Montana
body: No. I need, hardly, form from jira organize in confluence


Tags: jira

server
How to install custom fonts or Microsoft-specific fonts on Confluence Cloud?
Asked by xiehong:

to display non-english Characters like Chinese, the system will need the required fonts.


Answers:
author: David at David Simpson Apps
body: Open a support ticket with Atlassian.

If standard Chinese characters cannot be displayed, then it's a problem with the Confluence Cloud platform and Atlassian need to update their internationalisation files to support Chinese users.

If you are hoping to use non-standard characters with non-standard fonts, you are likely out of luck, because it is a non-trivial task to add custom fonts to Confluence Cloud. It is however very straightforward on Confluence Server.

comments: author: xiehong
body: thanks


author: Fadoua
body: [@xiehong](/t5/user/viewprofilepage/user-id/184989)

You will need to go to the Marketplace and look for a plugin. i am afraid since you are a Cloud user there won't be that many add-ons. Click on the link below:

<https://marketplace.atlassian.com/addons/app/confluence/top-rated?hosting=cloud>

All the best,


Tags: cloud

confluence-cloud
Confluence doesn't seem to use the same sessions as jira.
Asked by Matthias Lukaseder:

A health-check in jira notifies me about a problem with the application-link to confluence. And indeed, we have one issue since ages here:

Every confluence related entry in the jira timeline only displays correctly, when the user is also logged in into confluence.

As I understood jira and confluence shouldn't only share the same logons, but also the same user sessions? Is that correct?

If so, how can I configure the application-link between jira and confluence correctly?

Jira 7.13.0 and Confluence 6.13.0 are running on separate servers respectively with each owns own database.

On the pages for the application-link-setup I can choose OAuth or OAuth (Impersonation) but switching those settings doesn't change anything. On this page Jira and Confluence are showing each other as "Connected".


Answers:
author: Matthias Lukaseder
body: Thanks for your answer. I tried some of the steps in your second link but it didn't work.

Just for clarification: Should it be that way, that after logging on to Jira that I then don't have to log into Confluence additionally?


author: Maarten Cautreels
body: Hi Matthias,

I'm not an expert on this level as we are using Crowd as Single Sign On between Confluence and Jira but I did find this knowledge base article: <https://confluence.atlassian.com/confkb/logging-into-another-atlassian-application-logs-me-out-of-confluence-268043930.html>

(This is only relevant if both Jira and Confluence are sharing the same (sub)domain or hostname and are running on a separate port)

There's also this guide to troubleshoot Application Links: <https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html>

Best,

Maarten


Tags: application-link

confluence-server

jira

jira-server

server
I moved my Confluence server to a new hardware. Now the image files are not available.
Asked by Udaya Govinna:

I exported confluence database and imported to the new server.  
All spaces and documents migrated except images.


Answers:
author: Bastian Stehmann
body: Hi,

Are you that you included the attachments in your export?

If not, you can copy the attachments from your old confluence home to your new one.

comments: author: Udaya Govinna
body: Thanks for the response,

I selected 'Archive to backup folder \& 'Backup attachments' when export.  
Not sure why the attachments not exported.  
I have a backup image of the old server and can explore files and folders.  
Can I copy the attachments folder from old server and paste in new?  
What is the path to the attachments folder?

Thanks.


author: Bastian Stehmann
body: It's in your confluence home folder.

You can copy just everything, just omit the confluence.cfg.xml file, you should have configured that already.

<https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html>

This is the documentation for moving between servers.


author: Udaya Govinna
body: Thank you so much. I'll try and let you know.


author: Bastian Stehmann
body: You are welcome, glad if I could help.


author: Udaya Govinna
body: Problem solved.

Copied the attachments folder from old server to new server. Successfully imported images.  
Path : C:\\Program Files\\Atlassian\\Application Data\\Confluence\\attachments

Thank you Bastian.
Automate Confluence space import and export
Asked by Binisha:

Hello All,

We are trying to migrate around 250 spaces from one instance of confluence to another instance. As you all know the manual effort which goes into this consumes lot of time. Can you please suggest some methods to automate(any api or third party tool)? Or anyone has come across such situations at your end and what was the approach?

Thanks

Binisha


Answers:
author: Binisha
body: Hi [@Binisha](/t5/user/viewprofilepage/user-id/671112),

You may try with the [Confluence Command Line Interface(CLI)](https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?hosting=cloud&tab=overview) add-on to achieve this. To export the space and import into another instance, you need to use the cpoySpace parameter action to copy a space into different confluence instance. You can find some of the examples from the [Examples](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/10584066/Examples) page.

Regards,  
Kishore Kumar Gangavath.

comments: author: Binisha
body: Thanks. I will go through the examples provided.

-Binisha
Inconsistent state in AttachmentManager after saveAttachment
Asked by Christian Koehle:

Hi,

I create attachments using a groovy script, executed by Adaptavist ScriptRunner. It is registered as event script and listening to LabelAddEvent events.

Below is a highly simplified version of the script used to create the attachment, omitting a lot of boilerplate code, the event filter code, but it contains the API calls used to create the attachment:

```
Attachment createAttachment(ContentEntityObject attachToPage, String filename) {
? ? AttachmentManager attachmentManager = ...
? ? LabelManager labelManager = ...
? ? // Dummy content
? ? InputStream stream = new ByteArrayInputStream('dummy content'.getBytes(StandardCharsets.UTF_8))
    def data = stream.bytes
    def dataLength = data.length
    // Check if an attachment exists
    Attachment att = attachmentManager.getAttachment(attachToPage, filename)
    if (att) return null   // do not overwrite existing attachment
    att = new Attachment(filename,'text/plain',dataLength,'comment',true)
    att.setContainer(attachToPage)
 
    // Save the attachment, this sets user, data and ensures proper association with given container
    ByteArrayInputStream attContent = new ByteArrayInputStream(data)
    attachmentManager.saveAttachment(att, null, attContent) // no previous attachment -> null 
    return att
}

// Code checking for correct event, label, page has been omitted here
AbstractPage page = ...
Attachment att = createAttachment(page, "snapshot-v${page.version}.txt")

```

When the script is executed, an attachment is created: It is visible in the UI, it is accessible, everything looks fine at a first glance. But when I access the attachments using the AttachmentManager, I get an inconsistent state:

```

attachmentManager.getLatestVersionsOfAttachments(testPage)
```

--\> Contains the new attachment

```

attachmentManager.getAllVersionsOfAttachments(testPage)
```

--\> Does \*not\* contain the new attachment

This may be the root cause for some unexpected behavior in other addons.

After a Confluence restart (not sure, may be also just after a certain amount of time, but we frequently restart the test instance), getAllVersionsOfAttachments also returns the new attachment, which may be an indication for some caching/indexing issue.

Question:

* Is there some obvious mistake in the way I create the attachments, e.g. something which causes problems in the backend (index, cache...)?
* Is there a way to enforce an update of the attachments returned in getAllVersionsOfAttachments?

I appreciate any little hint that helps me solving this issue/identifying the root cause.

Christian


Answers:
author: Christian Koehle
body: Hi,

found a solution by myself. For anyone with the same issue: After adding

```
attachToPage.addAttachment(att)
```

the inconsistencies are gone.

Looks like that

```
att.setContainer(attachToPage)
```

is not sufficient and leads to unexpected side-effects.

Christian


Tags: attachment

confluence-server

scriptrunner

server
How to find Confluence Template on the server?
Asked by Vimal:

Hi,

How can we get the template file on the server which was created from UI.

Problem: I have few Templates created in Confluence Server, now I need to copy to Confluence Cloud.

Thanks,

Pavan


Answers:
author: Diego
body: Hello there!  
Pavan, as of today Confluence does not have a native tool to export existing templates. There is a plugin that allows you to export templates as .xml files:  
**[Template OPS - Atlassian Marketplace](https://marketplace.atlassian.com/apps/1213322/template-ops?hosting=server&tab=overview)**   
This plugin is currently not available for Confluence Cloud.

<br />

We also have an open feature request pointing at template export and import:  
**?[CONFSERVER-307778 - Export and Import Confluence Template](https://jira.atlassian.com/browse/CONFSERVER-30778)???**

<br />

However, Confluence Cloud allows**template import from the Marketplace only** :  
**?[Confluence Cloud - Import Template](https://confluence.atlassian.com/confcloud/importing-templates-724765510.html)???**

<br />

A possible approach to your situation is to**copy the template content** from Confluence Server, **Create a new template** in Confluence Cloud and then **paste the copied content there**.


Tags: confluence-cloud
xml import failed
Asked by Timothy Van Litsenborg:

Hello,

i'm trying to migrate our server to the cloud.

On 3 of the 12 spaces, i'm getting the following error:

The following error(s) occurred:

* There was an error during import. Please see our guide to raising a bug report.

There is no logging for it so i cannot pinpoint the exact problem.

-The confluence server we are running is the latest version

-I've tried exporting it a few times, in case of a corrupt file

-I've tried the atlassian-xml-cleaner

Anyone having an idea what can be wrong?

Kind regards,

Timothy


Answers:
author: Ramona Scripcaru
body: Hey Timothy,

I thought to answer to this post also for future references in case another user will experience the same issue and will read this post.

You have also reported a case with us, and I have confirmed that the error mentioned is caused by a known bug that was reported to our development team <https://jira.atlassian.com/browse/CONFCLOUD-65273>, the fix for this bug is ready and we will update the bug when this is deployed to all sites.

Meanwhile, I have noticed that if I ignore these errors and try again to upload the file at some point the process will start, let's say the fifth time is processed, as per your confirmation this workaround worked for you too.

Happy New Year!

Ramona

Atlassian Cloud team


Tags: cloud

confluence-cloud
How do I set a panel heights to the column height?
Asked by Annie:

I have a 3-column page layout set up right now with a panel in each column. Each panel has a different amount of content, though, so they're all different heights.

Is there any way (via custom css or javascript or any other way) to have all the panels dynamically have the same height as the tallest panel?


Answers:
author: Diego
body: Hello there Annie!  
Currently, this is only achievable with third party-tools or custom css sheets. There is a feature request for **Confluence Cloud** that points at this:

**[CONFCLOUD-56021](https://jira.atlassian.com/browse/CONFCLOUD-56021)**

What you could do is try **Content Formatting for Confluence** (a third-party add-on):

**[Content Formatting for Confluence - Atlassian Marketplace](https://marketplace.atlassian.com/apps/247/content-formatting-for-confluence?hosting=server&tab=overview)**

The approach is this:
> 1- Create your page  
> 2- Add the three section in your page  
> 3- Add one DIV macro in each column (The DIV macro is bundled with Content Formatting for Confluence)  
> 4- Insert the panel macro inside each DIV macro  
> 5- Set the size for each DIV

Keep in mind that Content Formatting for Confluence is a paid add-on with a free trial time.   
Let us know your thoughts on this!

comments: author: Michael Bulger
body: Searching for a solution to this in 2022. And this answer, "just buy a plugin", is the number one reason I look forward to dropping Atlassian products.


author: Mike C
body: And I came here in 2023, 5 years after this question was raised and STILL the answer is buy a third party tool. The answer ALWAYS seems to be to buy a third party tool. Just think about this, the object is called a panel, what are users adding a panel for? To control the layout. But you can't even control its size. This is absolutely pathetic. I work for a large corporation so installing a third party tool is extremely difficult even if it's free. It will require security sign off which is a little mini project. I hate to think how much we pay Atlassian and this is what we get.


author: Mike C
body: Looking at the linked ticket, the ticket was created 6 years ago. In all that time the ticket has absolutely zero comments from staff and has been left unassigned all that time. It's not like the company lacks resources. Overall our confluence pages look like rubbish because the most basic of basic tools to make them look even slightly better just don't exist. It's simply not possible to put a box on the screen and set its size. How??


author: Mike C
body: I did find a partial solution, you can use the bootstrap panel macro. You need to know basic CSS and I had to troll through the HTML code of the page to work out what it's doing underneath. This defeats the purpose to some degree of using a GUI to edit your page. In my case I had white text on a dark background so when in the editor you can't see the text at all. Basically it was far from an ideal solution just to get around something that should be standard.
Migration to Confluence cloud attachments missing
Asked by Christian Mahlich:

Dear all,

I just wanted to migrate my confluence spaces from on prem confluence (version 5.5) to Confluence cloud.

I went to space settings and hit export (xml).

After importing the space to confluence cloud, there are no attachements in the space and on the pages where attachements were used it displays

![](https://source-promo.atlassian.net/wiki/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2 "books-mouse_54248179.jpg")

When opening the zip export from my on premises export, I can see a folder with attachments. So it seems to me that they were all exported.

Hope you can help me!

Thanks in advance!


Answers:
author: Shannon S
body: Hi Christian,

I wouldn't advise migrating from Confluence 5.5 to Cloud without first upgrading.

If you [upgrade Confluence to the latest server version](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html), then you can use our migration assistant to help move your spaces over to Cloud.
> The [Cloud Migration Assistant for Confluence](https://marketplace.atlassian.com/apps/1219672/cloud-migration-assistant-for-confluence?hosting=server&tab=overview) app replaces the need to manually export and import individual spaces one by one, allowing you to move spaces from Server to Cloud in a seamless, straightforward process.

Give that a try and let us know if you have any questions.

Regards,

Shannon

comments: author: Byron Walker
body: Hi Christian,

Shannon's recommendation is spot on. However, you don't have to upgrade all the way to the latest version.

The [Cloud Migration Assistant for Confluence](https://marketplace.atlassian.com/apps/1219672/cloud-migration-assistant-for-confluence) will work for Confluence 5.10.

Cheers,

Byron


Tags: migration

attachment
how to do confluence migration from server to cloud?how to do it?
Asked by bodduna vishvam:

hi

how to do confluence migration from server to cloud?how to do it?


Answers:
author: Alexey Matveev
body: Hello,

You can find info in this article:

<https://confluence.atlassian.com/confcloud/migrate-from-confluence-server-to-cloud-724765529.html>
How will you migrate if the data size of site backup is too large?
Asked by bodduna vishvam:

hi

How will you migrate if the data size of site backup is too large?

let me know....


Answers:
author: Nic Brough -Adaptavist-
body: You have to reduce the size of data by removing things from the export (i.e. housekeep and reduce your Confluence before exporting)
'Script Runner For Confluence' Upgrade from version 5.0.5 to version 5.4.36.
Asked by Tomer Amar:

After upgrading 'Script Runner For Confluence' from version 5.0.5 to version 5.4.36.

I'm getting an error after macro run :"Uncaught SyntaxError: Unexpected end of input" in some of my existing Custom Script Macros.

Same code runs without any Issue on 5.0.5.

Can someone tell me what is the differences (if exist) between this 2 versions?


Answers:
author: Tomer Amar
body: Found the cause :) .

Script validation must have changed.

';' as end of a statement is a must.

In previous version (5.0.5) ,if there's no more code in the block after a line, the ; was technically optional.

in new version

Comments in Script , if this was valid :

...

//My Comment Here

var test = 'Test';

...

Now it should be written :

...

/\*My Comment Here\*/

var test = 'Test';

...

Adding ';' to each statement and fixing comments to /\*..\*/ solved the upgrades issues.


Tags: bitbucket

bitbucket-server

confluence-server

server
iframe macro postmessage - resize iframe, dynamic height
Asked by Alexandr Marchenko:

Wondering if there is a event listener on confluence**cloud** which listens for messages sent from embedded iframe to resize them?

e.g.:

- I wish to use [iframe macro](https://confluence.atlassian.com/confcloud/iframe-macro-950276528.html) to embed some page

- I do not know width and height of iframe upfront

- I do control iframe content

idea here is to make something like:

```
window.postMessage('resizeMe', {...}, '*')
```

inside iframe so confluence can resize it, but can not find is there such listeners available


Answers:
author: Boris MBOUMEHANG
body: Hi Alexandr,   

I don't know if you still need an answer to your question.   

It does not seem to be possible by default to manage iframes dynamically as you need to. But, you can build your own macro that manage dynamically iframes, with the [**Dynamic Content Macro**](https://developer.atlassian.com/cloud/confluence/modules/dynamic-content-macro/).   
In fact, there is a function in this module which to be able to resize dynamically a content which is called in the macro (***AP.resize(w,h)***`).`  

I hoe this will help you.   

Boris


Tags: atl-adm

atl-dev

confluence-cloud
destinaton OS is different from source OS
Asked by bodduna vishvam:

Hi,

what ido yo do if the destination operating system is different from source operating system.

please let me know.

thank you.


Answers:
author: Grigory Salnikov
body: Hi, [@bodduna vishvam](/t5/user/viewprofilepage/user-id/2123018)!

The answer to your question depends on what you're trying to achieve. Could you, please, be more specific?