youngmon/atlassian-qna huggingface dataset:
Possibility to export pages including 'page hierarchy' macro
Asked by Adrien Landecker:

Hey together,

I am struggling with some PDF Export in Confluence (Standard without any exporting plugins).

We are using the 'page hierarchy' macro and we want to export it with everything else on this page, but that does not work. Any suggestions?

Confleunce 6.1.4

IE 11

See screenshots below:![2017-11-03_13h41_25.png](/t5/image/serverpage/image-id/8790i0008453BBECA0612/image-size/large?v=v2&px=999 "2017-11-03_13h41_25.png")![2017-11-03_13h41_56.png](/t5/image/serverpage/image-id/8791i12CDBED98474A2BD/image-size/large?v=v2&px=999 "2017-11-03_13h41_56.png")![2017-11-03_13h42_36.png](/t5/image/serverpage/image-id/8792iC182A0AA1D028E68/image-size/large?v=v2&px=999 "2017-11-03_13h42_36.png")


Answers:
author: Vero Rivas
body: Hi [@Adrien Landecker](/t5/user/viewprofilepage/user-id/336731)

Look at this posts, maybe can help you

<https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-export-document-with-its-all-children-pages/qaq-p/1223045>

<https://confluence.atlassian.com/doc/page-tree-macro-163414255.html>

<https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html>

<https://confluence.atlassian.com/doc/include-page-macro-139514.html>

Cheers
How do I generate Release Notes in Word directly from Jira?
Asked by Pankaja Kulabkar:

Hi, currently the process we follow for creating Release Notes is as follows:

1. Manually copy the issues, the summary, and the additional details from Jira into Word.
2. Rephrase the content in Word for better usability.

Is there a way by which I can generate a Word document (Release Notes document) directly from Jira? Is there a ready-to-use template that I can use and then customize if need be?

Do guide.


Answers:
author: Andy Heinzer
body: Jira does have a function for creating release notes as documented in [Creating release notes - Atlassian documentation](https://confluence.atlassian.com/adminjiraserver071/creating-release-notes-802592502.html). However these are not created in a Word format. Instead these can either be created in text or html formats.

You can customize the formatting of those templates as well, that same link has more information on how you can do this in Jira.


Tags: jira

release-note
Searching for database for scheduled jobs in old confluence
Asked by Robin Peters:

Hi,

i have an old confluence instance on version 3.5.  
There I want to monitor the scheduled jobs; sometimes they stop. Do anybody of you know in which database table the last execution is stored?

I had a look for the tables but did not find the correct one.

Best,

Robin


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Robin Peters](/t5/user/viewprofilepage/user-id/510330) ,

is `scheduler_clustered_jobs` table exististing in your db at that version?

Fabio


Tags: database

monitor
Convert mediawiki to word documents
Asked by Leviya Bl:

I am trying to move a mediawiki site to confluence v5. Confluence now no longer support using the Universal Wiki Converter (UWC) for version 5. [Confluence](https://mindmajix.com/confluence-training) has advised that they accept "page and page tree imports in the form of Word Documents" or "Confluence Space Exports and Confluence Site Exports".

Therefore I need a way on converting the mediawiki pages into word documents, as well as retaining the structure.

Currently, I have used mediawiki's `dumpBackup.php`to create an XML dump of my wiki. I then used a [mediawikiXML_exporter.php](https://wiki.afm.co/download/attachments/23108751/mediawikiXML_exporter.php?version=2&modificationDate=1398709393121&api=v2). This created a `exported_mediawiki_pages/`directory containing all `Pages`, `File`, `Categories`, `Projects`, and `Users`. I checked and all my pages and these files contained mediawiki versions of all my pages and users etc, but stored as `.txt` files.

Given I cannot use UWC to upload this to confluence, is there a way to convert to a docx format so that I can upload into confluence?

P.S. I'm well aware I may be doing with the wrong approach so if there is a better way to do this from scratch, I'm open to any solution.

Thank you


Answers:
author: Mark Bereznitsky
body: Hey [@Leviya Bl](/t5/user/viewprofilepage/user-id/1161166) !  

It is indeed quite unfortunate that there is no out of the box solution for migrating from MediaWiki to Confluence. Anecdotal evidence suggests that UWC might still work for newer versions of Confluence but I'd be careful and obviously do it on a staging environment first.  

Here are some links that might help:  

<https://comtronic.com.au/how-to-migrate-pages-from-mediawiki-to-confluence/>

<https://community.atlassian.com/t5/Confluence-questions/Migrate-Mediawiki-gt-Confluence/qaq-p/84762>

<https://stackoverflow.com/questions/36643748/mediawiki-to-confluence-migration>

I hope that this is of some help at least.   
Thank you for enquiring!


Tags: mediawiki
Is there a way to prevent trello links being rendered as cards in Confluence?
Asked by Tom Fotherby:

I understand that for many folk, having a trello link, render as the embedded card is great ([ref](https://confluence.atlassian.com/confcloud/use-trello-and-confluence-together-938019889.html#UseTrelloandConfluencetogether-TrelloLink)) but in my case I have a long bullet list of trello links and I don't want them changing to cards as it breaks up the text flow too much. Is there a way to disable the integration occurring on a link by link basis but still have the link work if clicked. I don't want to turn it off for the whole Space, only on a link-by-link (or page-by-page) basis.


Answers:
author: Josh Clark
body: Pulling some thread necromancy here for sure, but I'm curious if you ever figured out how to do this, or at least a good workaround solution. I'm about to start a Confluence for a project that already uses Trello, and I want to include unobtrusive card links in my release notes. Thanks!

comments: author: Tom Fotherby
body: Sorry, no good solution.

However, the issue doesn't bother me because I have a workaround...

I noticed after pasting a Trello link and after Confluence upgrades it to a embedded card, I can press Ctrl+z (i.e. undo) and the card is undone back to a normal link. This technique is muscle memory for me now.


Tags: integration

trello
Inject image to confluence blueprint template but it displays as text
Asked by winter wong:

my context provider content is :

```
final String imagefileaddress2 = String.format("<img src=\"%s\" height=\"400\"/>", XMLUtils.escape(url));
```

and template content is:

```
<p><at:var at:name="imagefile2" at:rawXhtml='true' /></p>
```

but it displays as:

\<img src="http://localhost:8090/download/attachments/65547/test.png" height="400"/\>

I have searched confluence sharelinks blueprint, it does the same with me and could display the image.

And I also try \<ac: image\>\<li: url li: \>...... It display as text too

What's wrong with the code? Do I miss anything? Is it sth about css file?


Answers:
author: winter wong
body: I finally find the reason, It should be

```
rawxhtml
```

with small X letter


Tags: developer
Create another Meeting notes Index
Asked by Celestale:

Hi,

Let's say I have already have 'Meeting Notes -Index' in my page tree.

I like to create another Meeting Notes -Index in my subtree ABC for other project purpose. How can I achieve that?

PAGE TREE

\| - ABC

- Meeting Notes (index) \<--- this is the new meeting index I want to create.

\| - Meeting Notes (index)

- Meeting note A

- Meeting note B


Answers:
author: carolyn french
body: Hi Celestale, Confluence doesn't allow you to create 2 pages with the same name in the same space. So you would need to name them slightly differently (with the project name, for example).

With the second Meeting Notes- index page, you can create the same functionality by adding the "page properties report macro" to the page. Just create a page template for your second project meeting notes with a unique label and add the label to the filter in the page properties report macro so that second project's meeting notes show up there.
How to get "Show More " option on any pages that have large results ?
Asked by Sandeep Anand:

Hi,

I am trying to list all the child pages under one home page in confluence. The results are very large in number. I want the results to be displayed in the form of some packets like 50 results per page and add a "Show More" option to browse the rest of results.

I want the results like Displayed in the attachment .

So is there any way to do that.

Thanks

Sandeep Anand

![show more.PNG](/t5/image/serverpage/image-id/8770i21B7B1B660A5E03A/image-size/large?v=v2&px=999 "show more.PNG")


Answers:
author: Anton Chemlev - Toolstrek -
body: You can try to write User macro with some JavaScript.

<https://confluence.atlassian.com/doc/writing-user-macros-4485.html>

<https://confluence.atlassian.com/conf53/examples-of-user-macros-411108916.html>

Huge amount of macros is here - <https://confluence.atlassian.com/disc/shared-user-macros>
Users can't log in (using Delegated LDAP Authentication)
Asked by alpertorun:

One of our users cant login on confluence for two weeks. log says:

2017-11-03 08:12:55,049 WARN \[http-nio-8090-exec-5\] \[atlassian.seraph.auth.DefaultAuthenticator\] login login : 'abcdefg' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.  
-- referer: http://\<serverip\>:8090/login.action?os_destination=%2Fpages%2Fviewpage.action%3FpageId%3D6455325%26src%3Dmail%26src.mail.timestamp%3D1509685801121%26src.mail.notification%3Dcom.atlassian.confluence.plugins.confluence-notifications-batch-plugin%253Abatching-notification%26src.mail.recipient%3D8aad06e95ec888f4015ecc22dd6f0097%26src.mail.action%3Dview\&permissionViolation=true \| url: /dologin.action \| traceId: ad3395a920709676

we use delegated LDAP directory first and secondly integral directory (with no user in it). all of our 10 users are authenticated from LDAP. 9 users can login only one user can't. user changed password nearly one month ago before the login error and connection to LDAP seems ok for other users.

How can we fix this?


Answers:
author: AnnWorley
body: Welcome to the forum.

I understand that you are using a delegated LDAP directory to authenticate users but one user cannot log in.

The error message you are reporting is the one I get in my log when I enter the wrong credentials. When I take away USE permission and log in I do not get that error, so we can discard USE permission as the cause.

* When you view the user in User Management, is there anything remarkable about their account?
* If the user is not listed in User Management, please go to User Directories and check the user filter and DN setup of the delegated User Directory, to make sure the user is in the right OU, groups, etc, that are specified in the setup.

As an aside, you mentioned you don't have any users in the Confluence Internal directory. It is recommended to keep an internal user with admin permissions in the internal directory in case you need to edit the LDAP directory or log in when the LDAP directory is unavailable for any reason. You may create the user under User Management and add it to the confluence-administrators group to give it super user permissions.
Email settings not working
Asked by Paul Liddell:

I've unchecked all tick boxes however still received email notifications in Confluence. How can I ensure I do not receive emails? Thanks![Screen Shot 2017-11-03 at 1.01.41 pm.png](/t5/image/serverpage/image-id/8769i4FC8BAED7981A066/image-size/large?v=v2&px=999 "Screen Shot 2017-11-03 at 1.01.41 pm.png")


Answers:
author: Edwin Kyalangalilwa
body: Hi Paul,

Remove yourself from being a watcher of any spaces, blog posts and/or pages.

comments: author: Paul Liddell
body: That worked, thanks so much Edwin!
You will lose support message
Asked by Todd Winton:

Who receives this notification above the banner in confluence? Is it all users or only users of a certain access level?


Answers:
author: Shannon S
body: Hi Todd,

Can you let us know what version of Confluence you're running? I can find out for you.

Kind Regards,  
Shannon

comments: author: Shannon S
body: Please also provide a screenshot of the message you see for my reference.

Kind Regards,  
Shannon
Is there a way to avoid "Select Macro" dialog box for commonly used macros?
Asked by Jeevaka Dassanayake:

Need to mark code blocks frequently and would like to avoid the multi-step process.

Looking for something like a way to move to the default macro menu or have a keyboard shortcut.


Answers:
author: AnnWorley
body: I am not sure if this is what you are looking for but you can type a curly bracket and then start typing the name of the macro to avoid the macro menu:

![Screen Shot 2017-11-02 at 3.02.21 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/8755i41E4592C87269938/image-size/large?v=v2&px=999 "Screen Shot 2017-11-02 at 3.02.21 PM.png")

comments: author: Jeevaka Dassanayake
body: Yes, that is perfect. Didn't know that "{" start a macro.
Error when attempting to backup
Asked by Michael Garrido:

### Cause {#toc-hId-1568275572}

javax.servlet.ServletException: Servlet execution threw an exception  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:315)

caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter  
at com.atlassian.dbexporter.node.stax.StaxStreamWriter$1.setContentAsBinary(StaxStreamWriter.java:108)


Answers:
author: AnnWorley
body: Hi Michael,

I understand you see an error when you are backing up Confluence. The error you reported has been seen in Jira and was caused by a datatype issue in the database: [JIRA XML Backup fails throws "java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter"](https://confluence.atlassian.com/jirakb/jira-xml-backup-fails-throws-java-lang-noclassdeffounderror-javax-xml-bind-datatypeconverter-895910465.html) Please check your Confluence database to see if the resolution applies.

Please let me know:

* What kind of backup is it? A space backup (to HTML, XML or PDF) or a site backup from the back-up and restore page of the admin console?
* What version of Confluence are you running?
* Where did you see the error? In the log or in the browser?
* Are there any ERROR entries in the \<confluence_home\>/logs/atlassian-confluence.log related to the backup?

Please review this article if you need a strategy for backing up the instance right away: [Production Backup Strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html)

I look forward to hearing more about the issue.

Thanks,

Ann


author: Michael Garrido
body: Thanks in advanced.
The roadmap macro is broken.
Asked by Brian tanner:

The roadmap macro is not working.

When I go to insert the macro the "Publish" button is disabled, and the macro is never added to the page, it does not get saved, it does nothing.  

there is little to no real documentation out there that walks you through HOW to do this.

Please fix it so I can use it

thanks


Answers:
author: callistoms
body: As of September 2020, this macro still appears to be broken in the cloud version of Confluence.

I will try to publish "early and often" to see if I can avoid the problem, otherwise I'm going to drop the roadmap macro altogether and find some other software solution.


author: Kari_Kinnunen
body: I have also problems with Roadmap Macro. After hard work of creating a great number of new lanes and bars it's disappointing that after clicking Insert, there's no warning but also no Roadmap diagram - absolutely nothing, like nothing was ever there. Very frustrating to start over, since of course there's no way to get back. Now, I click insert after adding few lanes and then publish and then go back to continue. Slow process.

comments: author: Stephen_Monaghan
body: Did this ever get fixed I've just gone to create a Roadmap 20 lanes etc and i get the error wont let me insert

have i got to do it in small increments


author: AnnWorley
body: I tested the Roadmap Planner macro in Confluence server version 6.4.3 and on Confluence Cloud. I was able to insert the macro by pressing the insert button, then the Publish button was no longer greyed out.

* Are you on a self hosted version or using our Cloud offering? If you are using a self hosted instance, please let me know what version.
* Please attach a screen shot of what you are seeing when you try to insert the macro, maybe I can spot something amiss.

comments: author: Mark DiAntonio
body: We're also getting a new error as of last night:  

Error rendering macro 'roadmap' : org/apache/batik/w3c/dom/ElementTraversal


author: Vicki Lea Tsang
body: We are getting this error message also. Anyone find a resolution?


author: Javier Yepes
body: Someone from by team found this thread  
<https://jira.apache.org/jira/browse/BATIK-1232>


author: ?lex P?rez
body: We are also having this problem.


author: Vicki Lea Tsang
body: Have raised a support ticket with Atlassian. Will update once I have a response.


author: Mark DiAntonio
body: Just to be clear, we're using the cloud solution.


author: Vicki Lea Tsang
body: Atlassian are aware and apparently working on the issue. Here's the report for people to watch and vote on: <https://jira.atlassian.com/browse/CONFCLOUD-64973>


author: Colin Scott
body: Trying to use templates in Confluence and got the exact same error:

Error rendering macro 'roadmap' : org/apache/batik/w3c/dom/ElementTraversal

Glad I'm not the only one and I found this thread.


Tags: advanced-roadmaps

roadmap
Search by comments in page history / previous versions
Asked by ian colenutt:

We currently add our dev job numbers to page labels so that we can search for all pages relating to a job.  
However this isn't sustainable as the number of labels will continue to increase and it also fills up our word maps with numbers instead of words.  
I thought I had the answer by only adding the job number to the comments when editing a page (which is great for page history \& version control) but it seems only the comments in the ++current++ version of a page are included in searches rather than all versions.

Is it possible to extend search to include comments on previous versions of pages or is there another way to tag a page with a dev number it can be searched by which doesn't clutter up the labels?  


Answers:
author: Amit Kapoor
body: Hi Ian,

Thank you! Which specific macro do you use to hide the job number?

-Amit


author: Amit Kapoor
body: Hi,

I have the similar requirement. Atlassian?

-Amit

comments: author: ian colenutt
body: Hi Amit. Fyi as a workaround we now just store the dev job numbers on the page in a hidden macro which works OK for searchability. I've heard better version history can be achieved with a Jira plugin though. Good luck


Tags: comment

page

search

version
Edit button on the embedded Gliffy Diagram not responding
Asked by junaid_mukhtar:

We are running Confluence 6.4.1 with Gliffy plugin.

Hovering over the image i get a tool bar with an Edit option but the edit button is not doing anything at all. To edit the gliffy diagram, i have to edit the page and then select the diagram and click edit again.

Another interesting bit is if click on full screen button on the tool bar and then click edit, it takes me to the diagram edit page.

Anyone else this issue?


Answers:
author: Gabriele Loibichler
body: Its the same with confluence 6.5.1 and gliffy since version 8.0.0 ! can not see any error messages in browser console ?!


author: Bodavo
body: The same here! It seems to be a bug. But I don't know on which side (Atlassian, Gliffy) the bug is!


Tags: gliffy
confluence link question
Asked by Anderson Hsu:

Dear partners,

Would it be possible to add link to some pages in space A which is not allowed for everyone in space permission setting ? For example , we would like to use page in space B to add link target to pages in space A, but it's not allowed for each account in it . Thanks a lot.


Answers:
author: Thomas Schlegel
body: Hi,

no, you can't set a restriction to a link, just to pages.

The only thing you can do, is hiding the link from viewing for certain people. I've written an article about hiding content from Confluence pages:

<https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-Hidden-Treasures/ba-p/595803>

But be careful, the only secure method of hiding something is via permissions or restrictions. You should not use the hiding mechanisms for confidential content.

comments: author: Thomas Schlegel
body: Of course, if a user clicks on a link, and he is not allowed to see the target page, he gets an error message.

But he's seeing the link to the target.


author: Sandy Johnson
body: Hi Anderson

I don't see why it wouldn't work. Have you tried it? This is not quite the same, but we have many links to SharePoint sites some of which are restricted.

Sandy
In Confluence I cannot edit the global banner for 6hrs after creating it.
Asked by Fran Snelgrove:

In Confluence I cannot edit the global banner for 6hrs after creating it.

Is it possible to change this? If so where is this set?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

What is it global banner? You mean announced banner, or some script from look and feel panel.

<https://confluence.atlassian.com/confkb/how-to-add-a-site-wide-banner-165609599.html>

As I know, In Confluence don't have any rule for block to edit for 6 hour Announced or side wide banner.

Cheers,

Gonchik

comments: author: Nic Brough -Adaptavist-
body: There is an announcement banner add-on which provides a banner, so if you're using that, it might be in there.

But as Gonchik says, if you've done a banner the standard way in Confluence, with the html in the header, there is absolutely no code to stop you editing it as soon as you want.
Mediawiki 1.17 to confluence 5.10
Asked by sarath sasi:

Hi,

Did anyone accomplish this migration programatically.?If yes can someone please guide.

Ours is huge mediawiki instance with more than 20,000 content pages with 6k users.I have explored UWC but this is faliing to handle the huge number of content pages.

Can we write some code to fetch html content from mediawiki and publish this to confluence using api?


Answers:
author: Anton Chemlev - Toolstrek -
body: Hello.

1) First of all - are you ready to pay for 6K active users?)))

2) What Confluence are you going to use - Cloud or Server?

3) Start from thinking on mapping from MediaWiki entities to Confluence, they are different. This will give you some structure. After that, look for API both MediaWiki and Confluence to use. As for me the best way here is to use REST API for Confluence.

comments: author: Ayaskant Swain
body: There is another way to worth trying. Download the UWC tool's source code from Atlassian git repo. This is open source.

Add your code on top of it to make it work in your environment and convert the MediaWiki pages to Confluence. Even Atlassian suggest the same. This will save major part of your time if you are writing a new API based tool from scratch.

Read the below link :

<https://migrations.atlassian.net/wiki/spaces/UWC/overview>


Tags: developer

jira-development
404 Error attempting to access Conflucence
Asked by James C King:

I have JIRA and Confluence located on the Windows same server, simple install for both products and not linked together and both have been running happily for a few months.

Just recently, when I attempt to launch Confluence I get a long wait and then a 404 error, JIRA runs fine.

I can't see anything specific in the logs, but am not adept at troubleshooting TomCat errors. I'd appreciate any assistance.


Answers:
author: venugopal123
body: Can you restart the confluence server and just see what it happens again . Go to Confluence_install dir and stop the server by using stop_service window batch file or else go to :\\Path to\\Confluence_install dir\\bin \& find the shutdown windows batch file shut it down and try to restart and see the log files