youngmon/atlassian-qna huggingface dataset:
Connect two spaces in confluence
Asked by ????? ?????????:

Hi!

Is it possible to connect two spaces in Confluence with the same page tree and same information, then when I change something in one space, the same changes will be in the second space?

Thannks in advance,

Artem


Answers:
author: Thomas Schlegel
body: Hi,

not out of the box. We do something similar with the [Comala Publishing Plugin](https://marketplace.atlassian.com/plugins/com.comalatech.publishing/server/overview) .

With this plugin, you get a "draft" space (the one you are working in) and a public space. You keep both spaces in sync by publishing your changes from draft space to public space.

It works well, but is not for free.

comments: author: ????? ?????????
body: Hi,

thanks for your fast answer, Thomas!
Migrating from XWIKI to Confluence
Asked by hiba mehri:

Hi

Is there a way to import from XWiki 6.4.4 to Confluence 5.6.6?


Answers:
author: Nic Brough -Adaptavist-
body: Does XWiki have an export format that Confluence might be able to read?

There's no "converter" process I can find for it, so I suspect it will have to be export/import.


author: hiba mehri
body: what about universal wiki converter ?

comments: author: Nic Brough -Adaptavist-
body: That went away when Confluence 5 was released. Some of it was merged in, providing various "export formats Confluence might be able to read". So you need to look at what XWiki can export to.


author: hiba mehri
body: ok thank you


Tags: data

migration

wiki

xwiki
Confluence user is not allowed to call function / user macro
Asked by Andreas Kolbe:

I guess something went wrong, so second try.

Hi. We like to collect some information within a form from a template. The global blueprint contains the vars the worker should fill with information. The user goes to the main page and hit a link. An assistant opens and the worker can choose the right Form. The Site is created from the Blueprint. Then a user macro fills the Heading like that:

![Unbenannt.png](/t5/image/serverpage/image-id/2747iFB86FAFCC967C6D1/image-size/large?v=v2&px=999 "Unbenannt.png")

This is necessary, because just the time makes the form unique!

Because it wasn't possible for me to make a Blueprint with Heading containing: Date AND Time, (with the official macro: "Add New Page From Template" you could only add @currentDate, no time), I tried to write my own user macro and it works for me as Confluence Admin. But the Confluence users aren't allowed to call some function?!? We need that, because if a worker had to do two or more times these steps, the first Site of the day will be overwritten (without warning). I'am not a Programmer... but was able copy together some lines from the Community.

```
## @noparams#set($wikibaseurl = "${req.getContextPath()}")#set($templateid="3932192")#set($fromspacekey=$space.getKey())#set($frompage=$content.getTitle())#set($newspacekey=$wikibaseurl)#set($templatename=$paramtemplate)#set($title=" Fehlerprotokoll vom: " + $action.dateFormatter.formatGivenString("dd-MMM-yyyy hh:mm:ss", $content.currentDate) + " test")##(blueprint)<a href='$wikibaseurl/pages/createpage-choosetemplate.action?title=$title&templateName="ETH-Fehlerprotokoll global"&templateId=$templateid&linkCreation=false&spaceKey=$fromspacekey&newSpaceKey=$newspacekey&fromPageId=65831'>$body</a>
```

How could I adapt the code, in that way, a Confluence user is able to add a new form from Blueprint without Admin rights? Sure, I know that there a lot of commercial Add Ons, but this had to work without.

Thanks


Answers:
author: Andreas Kolbe
body: My Solution:

I found a free Addin named Linking witch has the {add-page-form} macro. This is exactly waht we searched for.

This was the first Addin i installed witch made a restart on the server instance necessary.


Tags: function

macro
How to refresh Table Filter macro on Confluence ?
Asked by Selene Vallet:

I have got a Refresh problem on a Confluence page. Indeed, when I change anything on JIRA Issue, there is no refresh on this macro "Table Filter", whereas other macros on this confluence page refresh automatically..

I am working on a communication project so it is important to me to have a rapid solution.

Please let me know if you have any idea,

Many thanks


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi ,  

The [Table Filter](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Filter+macro?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro belongs to the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosti[?]mpaign=table-filter-traffic-sources&utm_vendorID=1216111) app that is developed by our company.  

The question is rather old and I assume the issue was resolved via our support portal, but for other users who may come across the same situation I'll try to clarify: our macros support dynamically changing tabular Confluence macros, for example, the Jira Issues macro. Please check [some examples](https://docs.stiltsoft.com/display/TFAC/How+to+use+the+app+with+Jira+Issues?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) here.  

I mean that whatever data is shown via the Jira Issues macro, with this data our macros (Table Filter, Pivot Table, Table Transformer, etc.) work.  

To refresh the Jira Issues macro (to "pull" all the changes from Jira to Confluence immediately), use the macro refresh button.  

To bypass the caching automatically (without using the refresh button), you may change the caching parameter. Please check [this article](https://confluence.atlassian.com/confkb/how-to-bypass-the-caching-mechanism-for-jira-issues-macro-in-confluence-1005331319.html) for more details  

<br />


author: Thomas Schlegel
body: Hi Selene,

if you have an issue with a supported plugin and need a fast solution, please call the support of the plugin vendor directly (<https://stiltsoft.com/support.html>).

This platform here is community based. We do as much as we can, but we don't have always the time for rapid solutions beneath our main jobs.

;-)


Tags: filter

table-filter-and-charts

issue

macro

refresh

table

table-filter

table-filter-charts-spreadsheets
Confluence IIS 10 isapi redirect return 502 error.
Asked by Mike_M_:

As this licence was purchased to server customers, I had to redirect the JIRA Support Desk to sub-directory and it works mostly fine.

Unfortunately after following JIRA manual for Confluence I am getting

502 - Web server received an invalid response while acting as a gateway or proxy server. {#toc-hId-1759225789}
--------------------------------------------------------------------------------------------------------------

For some reason log is not populated after some testing, but was getting an error with wrong tomcat configuration (of course...)

I have followed the tutorial to the dot and it doesn't work.

I was playing around to see if perhaps I could make it work but unfortunately without any luck.

BTW shouldn't this line be also changed for confluence ??? There is no word about this in manual

```
# The path to the ISAPI Redirector Extension, relative to the website# This must be in a virtual directory with execute privilegesextension_uri=/support/isapi_redirect.dll
```

I have noticed big number of similar issues related to Tomcat but no clear solution...

I am using Windows Server 2016, IIS10. Everything updated, all software/dll freshly downloaded.


Answers:
author: AnnWorley
body: Is this the guide you are using to set up IIS for Confluence and JIRA: [Proxying Atlassian server applications with Microsoft Internet Information Services (IIS)](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html) ?

The 502 error from IIS seems to indicate Confluence is not serving content as expected. If you bypass the proxy by using a browser on the Windows server, can you access the instance on it's localhost URL? (By default http://localhost:8090)

Please check the Confluence logs, located in:

* \<confluence_install\>/logs/ (anything recent in this directory
* \<confluence_home\>/logs/atlassian-confluence.log  
  (The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties)


Tags: iis
How could service desk clients see jira issues in confluence via macro?
Asked by Taavi Ammas:

Hi,  

We?re trying to make a Confluence page with the jira issues macro, where service desk clients could see all their ongoing tickets. All the users who should see it, have access to Confluence and also access to JIRA?s SD as clients. JIRA and Confluence have a working applink and it works well for agents and regular JIRA users, but won?t authenticate anyone, who is at the customer role in that project/SD, although they have access to Confluence. Could this issue be because the projects permissions (specifically "browse project" for customers is only "Portal Access") or is there anything more to it? Also, if this is the case, are there any workarounds to make it work without giving customers access to the whole project via JIRA not SD?  

Thanks for any replies/elaborations on this.


Answers:
author: Nic Brough -Adaptavist-
body: No. JIRA Service Desk is designed and intended to give customers a simplified request view, not expose the behind-the-helpdesk view to them.

If you want people to see the issues behind them, you need to give them full JIRA accounts, or grant anonymous access to the JIRA projects.


Tags: jira

jira-service-desk
Unable to display .mp4 content
Asked by Marlene Fernandes:

I tried to embed the .mp4 video in my Confluence 6.1.0 page. Somehow the embedding gets done, but cannot be viewed.  


Answers:
author: AnnWorley
body: This bug report ([Multimedia File Won't Display with Autoplay is Unchecked](https://jira.atlassian.com/browse/CONFSERVER-36792)) implies that the video will play if the Autoplay option is selected. Is that the case with your instance?

What do you see when the video won't play? Is there an error message in the browser?
Visualize user statistics in Confluence as a custom plugin developed in java
Asked by Sandro H?rler:

Hi there,

i need to create a custom plugin which is displaying serveral user statistics based on confluence database. It should be developed in java as a confluence-plugin.

I would like to return the statistic content as html/svg and display that as a plugin on any page desired. So where can i define in java how the returned html-content should be threated as html-macro in confluence? Or is there any better approach to achieve my goal?

thanks in advice

BR

Sandro


Answers:
author: AnnWorley
body: Are you open to using a third party plugin or ready made tool? There are a lot of options on this page: [How do I get more statistics from Confluence?](https://confluence.atlassian.com/pages/viewpage.action?pageId=154239308)

I am not a developer so I cannot help develop a custom plugin, but I wanted to reply because your question has been here a few days and I would like to help if possible.

comments: author: Sandro H?rler
body: No unfortunately not, we need to develop the plugin by ourself.

But thank you for your answer ann


Tags: app

html-macro

java

svg
How to set a link
Asked by Tim Wisian:

Hi, as a confluence-newbie I have a question about fixed links. We will create a printed handout which will have a sentence like "You can get further information at wiki/question".

How can I set the documentation within the wiki to the link "wiki/question".

Understand what i mean?

Tim


Answers:
author: Tuomas Saranen
body: So you want to print actual URL in the paper? Create a new space and use the space URL in the paper? This URL will not change.

comments: author: Nic Brough -Adaptavist-
body: Or if it's a specific page within a space, use its url, or better, the short one from the page properties (the short url of a page will not change if you rename the page)


author: Tim Wisian
body: I succesfully tried the "Advanced Redirection Plugin".
How can I display the current workflow for a ticket type in Confluence
Asked by Martin Gregory:

Title says it all: I need to link to the current workflow, so the confluence page does not go out of date...


Answers:
author: Nic Brough -Adaptavist-
body: Could you clarify how you're doing this "workflow" in Confluence? Add-on? If so, which one? Or is it linked to another system doing workflows (like JIRA)?

comments: author: Martin Gregory
body: Sorry - missing critical information: I need to display the current workflow for a Jira ticket type.


author: Nic Brough -Adaptavist-
body: There's no native function to do that in Confluence. I think you'd have to write a user macro of some sort to pull out the diagram from JIRA into a frame or something.


author: Martin Gregory
body: How crazy is that? Confluence is the documentation partner to Jira, and you can't say "here is the work flow for stories" and talk about it in context!?


author: Nic Brough -Adaptavist-
body: You could ask the user to visit the issue and look, but I'd suspect there's a couple of other problems.

First, why do you need to explain the workflow? That tends to mean it may well be quite complex and hence not that good a process.

Second, if you draw in a workflow diagram and explain it, that's fine, but when it changes, your diagram could easily stop matching the document. It would be better to take a static snapshot and explain that in detail, and then when there are changes, your users will be able to see that there is a mismatch instantly.


author: Martin Gregory
body: I don't need to justify the workflow. When a feature is missing, it's quite common to attack the requestor of the feature as having a not good process.

It would seem quite reasonable for a company to ask to have it's process documented. That is certainly what is driving this conversation.

The suggestion that a snapshot captured in the page along with the explanation of the flow creates the exact problem it tries to avoid. If the picture is "live" then the users can see that it mismatches immediately. If there is a snapshot in Confluence, then the users can read all about the process only to find the mismatch later.

Note: a link to the workflow diagram in Jira would suffice: it doesn't have to be an actual embedded display of the workflow.

<br />

Thanks.


author: Matt Long
body: Anyone created their own solution to this problem?
How to upload and udate/delete an existing attachement in a page - Confluence using Curl Command
Asked by Jeeva:

Hi there,

I have a file which contains some information and it changes every week.

We would like to keep this file in a shared location(Confluence) so that users can get the updated information.

So we want to upload this new file each week and delete the existing one, since it is out datated.

1. So, How to delete the existing file and upload the new file to the space using REST API(CURL command)?

or

2. Can we update the content of the existing file using Rest api(CURL command)?

3. If so, what is the curl command?

Thanks,

Jee


Answers:
author: Stephen Deutsch
body: Here is an example from the official documentation:

<https://developer.atlassian.com/confdev/confluence-server-rest-api/confluence-rest-api-examples#ConfluenceRESTAPIExamples-Uploadanattachment>

When you upload an attachment with the same name, it creates a new version, which means the old version is accessible only by manually downloading an old version. Normal links should always point to the newest version.

If you want to delete the existing attachment instead, you will have to find the attachment ID (it should be returned when uploading) and use the same curl command as "Delete a page" in that same documentation.
The conditions "entity_property_exists / content_property_equal_to" won't work WebPanels
Asked by Felix Freitag:

I can't get any content/entity property condition working with WebPanels. Is there anything special which needs to be considered ?

For example:

```
"conditions": [  {    "condition": "entity_property_exists",    "params": {      "entity": "content",      "propertyKey": "config"    }  }]
```


Answers:
author: Felix Freitag
body: Thank you, I just did that. Unfortunately I can't event raise a bug request in the support JIRA but maybe the folks over in the developer community can help me out.


author: Daniel Wester
body: You might be better off asking this question over at the developer community: community.developer.atlassian.com .

if you can post your location that you're using as well that will help dev folks to troubleshoot with you.
Where can I find the velocity template for dosearchsite.action
Asked by Thomas Berger:

I've found searchpanel.vm and search-results.vmd but both don't seem to be the correct ones or only parts of the rendered page.


Answers:
author: AnnWorley
body: Please see [Which vm file is the dosearchsite.action associated with?](https://community.atlassian.com/t5/Answers-Developer-Questions/Which-vm-file-is-the-dosearchsite-action-associated-with/qaq-p/568207)

TtheB's accepted answer was "You will find them in xwork.xml, which can be extracted from atlassian-confluence-x.x.x\\confluence\\WEB-INF\\lib\\confluence-x.x.x.jar"

comments: author: Thomas Berger
body: Thanks for the hint. However, the 'xwork.xml' does not contain a reference to 'dosearchsite.action'.

Must be a special case...


author: AnnWorley
body: I found a reference to dosearchsite.action in \<confluence_install\>/confluence/template/includes/menu-macros.vm:

```
<form id="quick-search" class="aui-quicksearch dont-default-focus header-quicksearch" action="$req.contextPath/dosearchsite.action" method="get">
```

Does that help?


author: Thomas Berger
body: Sorry, the quicksearch is a starting point to navigate to dosearchsite.action but not actually the template.


Tags: server

velocity
[duplicate] German umlauts causing troubles
Asked by Christian Handler:

<https://community.atlassian.com/t5/JIRA-questions/German-umlauts-causing-troubles/qaq-p/604766#M200227>


Answers:
author: Shannon S
body: Hello Christian,

Can you expand a bit on the troubles you are having in your case with the German umlauts? You may find the following article helpful in troubleshooting your issue if you haven't already reviewed it:

- [Troubleshooting Character Encodings](https://confluence.atlassian.com/doc/troubleshooting-character-encodings-167194.html)

Please feel free to review that article and let us know if you have any trouble or questions!

Kind Regards,

Shannon


Tags: character

encoding

issue-link

jira-core

jira-service-desk
Is there a solutions for accessing Jira and conflunce without network connection?
Asked by Collaboration Admins:

Some persons are on customer site and do not have any internet connection.

Although they should get access to the customer tickets in Jira and the Knowledge Base articles in confluence.

At least it should be a read-only access. But the requirement would be also a possiblilty to work offline and sync after going online.


Answers:
author: Stefanie_Berndl
body: JIRA client cannot handle embedded pictures in comments and there will be no further development.

comments: author: Aron Gombas _Midori_
body: I see.

<br />

If images and formatting are key, then I guess [PDF View Plugin](https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.pdfview/server/overview) is (one of) the best option.


author: Michael Ruderer
body: Hello,

we don?t want to export issues we want to work actively on an issue with a offline client that is able to have pictures embedded within the text.

Best Regards,

Michael


author: Aron Gombas _Midori_
body: If you want to take all those data offline, you should export them to a portable format that your staff member can carry on their laptops.

For Confluence, I guess you could export to HTML or PDF using the [Scroll add-ons](https://marketplace.atlassian.com/vendors/7016/k15t-software-gmbh).

For JIRA, you could export to [PDF](https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.pdfview/server/overview), [Excel](https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.betterexcel/server/overview) or eventually try the [JIRA Client](https://marketplace.atlassian.com/plugins/com.almworks.jira.plugin.jiraclient/server/overview) add-on.


Tags: jira

offline
Edit Space's Home Page does not work
Asked by Klaus Foerschl:

Hello.  
We have setup a trial Confluence server 6.2.3 and created 2 spaces there already.  
First space is the "Demonstration Space" and a second one was created from template type "Team space".

Now, we tried to customize the home page of any of those spaces.  
Both spaces appear as "unrestricted" and we tried as "system admin" and as regular confluence-user.

Anyhow, each time clicking the "Edit" button on the home page, the editor view appears, with no content + the (stopped) circling lifesign + a popup window with this message appears:  
"This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin."

And, whatever we do, we never succeed in editing the home page.

Just found out, that creating a new page, initially allows editing, but after the second (edit) on such a page, we can observe the same behaviour (editor does not respond) on such pages as well.

Anyone a good hint what might cause this?

Since i have received a session timout error once, we have increades the session and socket timeouts already to 2 min (120000ms).

B.t.w.. There's also nothing in any of the logfiles indicating an issue.

Looking forward for your answers  
Klaus


Answers:
author: AnnWorley
body: Klaus, I saw your support case and it looks like we created a suggestion to prevent the issue from coming up in the future: [Set Synchrony Java temp directory by default to be Confluence temp directory.](https://jira.atlassian.com/browse/CONFSERVER-52801)

For anyone else seeing the issue, the fix is outlined in [Editor fails to load in Confluence 6.x due to 'Could not initialize class org.xerial.snappy.Snappy' error](https://confluence.atlassian.com/confkb/editor-fails-to-load-in-confluence-6-x-due-to-could-not-initialize-class-org-xerial-snappy-snappy-error-859462192.html)


author: Klaus Foerschl
body: Arghh. Posted to the wrong level. Can anyone please move it down one level to Confluence topic?

comments: author: Thomas Schlegel
body: done :-)
Confluence mismatch build number with database
Asked by JiannHaur:

hi,

I have tried to upgrade Confluence from 5.7.5 to 6.1.4. After the upgrade, Confluence failed to start up. We attempted to rollback to our version, but I am afraid that I did had my application back up and not my database. I try to get it working again by deleting the additional unnecessary rows in CONFVERSION, but the database keeps returning these rows of data.

Confluence will not start up because the build number in the home directory \[5791\] is older than the Confluence build number \[7111\]

I have also tried to change the config.xml by changing the build number, but I keep receiving the following error

Confluence will not start up because the build number in the home directory \[7111\] is newer than the Confluence build number \[5791\]

I am wondering what I can do now to get Confluence working again.

greets

J.


Answers:
author: Tuomas Saranen
body: After setting the build number to **lower** value the upgrade should be attempted again. This will trigger all upgrade tasks that are in between the Confluence version that the database is using and the version of the installation files that are being upgraded to, as well as upgrading the Database and the Home Directory.

Hope this helps.