youngmon/atlassian-qna huggingface dataset:
[Confluence] HTML Page Navigation Tabs?
Asked by Brian Borra:

**Scenario**   

My company only allows Atlassian owned plugins to be installed in confluence. What I want is Navitabs, <http://www.bitvoodoo.ch/plugins/confluence-navitabs-plugin.html>, but I can't have it since it's not Atlassian. I can't even change to theme with page navigation because I don't and can't have admin access :(  

**Question**   

Is there a way to replicate page navigation with by embedding HTML/CSS into an HTML macro or is there an Atlassian owned page navigation macro? Ideally It would be a horizontal menu, with 4-6 static pages that have their own user provided content and pages.  

<br />

Thanks!  


Answers:
author: Remo Siegwart
body: There is a Tabs component in the AUI (Atlassian User Interface) library:

<https://developer.atlassian.com/display/AUI/Tabs>

Hope this helps

comments: author: Brian Borra
body: This looks interesting, possibly how deck/card is operated?

Another thought: I guess I could just code a nav menu and apply it to multiple pages, but it would be nice to hide this from wiki users to they couldn't modify it. Is a custom template option available, even if I'm not an admin? Bah, so much trouble right!!?


author: Remo Siegwart
body: +1 for wanting our Navitabs plugin...


author: Thomas Schlegel
body: Hi,

we use the Customware Composition Plugin. This one is also not from Atlassian, but it is supported by Customware and you have to pay for it. Perhaps this will help getting it ;-)

Best regards

Thomas

comments: author: Thomas Schlegel
body: it provides you with tabs (as you can see in the video), navitabs does not do more than this...


author: Brian Borra
body: I don't see how this provides me with page navigation. The video here: <http://www.customware.net/store/confluence/composition_plugin.html> seems to give us an "autocomplete" for built in plugins... again this won't work as it's not Atlassian produced. Thanks for the suggestion though!


Tags: navigation
Confluence Attachments either producing wrong file extension error or showing wiki page in the file attachment.
Asked by Jeremy Neumann:

I have been seeing a problem currently with our wiki software that many attachments are displaying extension errors when other users try to download and view these attachments. The source files for these attachments are fine and can be used, but once uploaded to the wiki they start behaving as Microsoft Office thinks that the extension is incorrect. These files have been deleted and re-uploaded which sometimes fixes the problem.

Another problem we have been experiencing is that when an attachment is downloaded for example a file in Excel it will show the contents of the wiki page and not the file contents itself.

We have been seeing this problem the most from Windows 7 with Office 2010 and Internet Explorer 8. The file extension problem occurs in Firefox as well.


Answers:
author: Joerg Bencke
body: Hi Jeremy,   
no problem on my side here,. but we are using \*.doc files mainly. Take notes, which document-format you are using and raise an issue in Jira. It sounds like a bug to me (follow the link in your wiki page down at the bottom)

If you get a solution or workaround there, post the link to the issue hiere at answers.

:)

comments: author: Jeremy Neumann
body: Thanks, so far I have seen clicking the attachment directly will produce the error with Excel documents. If you click Edit in Office the file displays correctly. I will keep updating as I find more info out.

Thanks,


Tags: app

attachment

error

microsoft

ms-office
How do I automate metrics for created and changed pages?
Asked by Amanda Williams:

I am trying to automate metrics for created and changed pages within the UAT of Confluence...Can anyone help?


Answers:
author: Amanda Williams
body: Thanks for the link. I am comepletly new to using Confluence. Do you know where I would add the plug in at to be on my space homepage?


author: Bob Swift (personal)
body: <http://confluence.atlassian.com/display/DISC/Site+Statistics> might help you :)


Tags: metric
Cannot access Confluence from domain name.
Asked by Geir Larsen:

We installed Confluence 4+ on the same server as JIRA. We did not give it a domain name or anything at that time. We accessed it by simply using the jira address with port 90 specified.  

<http://jira.domain.com:90>

This worked.  

Then I asked if we could have <http://confluence.domain.com> instead.  

And since then we have had problems.

<br />

I cannot access the confluence application via the domain name, only via jira:90.

Anyone got any experience in setting up confluence on the same box as JIRA that could give us some advice?

Any help appreciated.


Answers:
author: Dennis Kromhout van der Meer
body: Maybe something else is running already on port 80, be sure to check that first. Additionally, check our Apache integration guide if you're running Apache Web Server: <http://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache>

comments: author: Geir Larsen
body: Jira is running on port 80. We are using Tomcat on a windows box..


author: Geir Larsen
body: We finally resolve this issue. Just followed the typical requirements of editing the Server.xml file, etc. However, I suspect our problem may have been not restarting the necessary services correctly. Reboot did eventually do the trick! lol...


Tags: jira
macros with different case not upgraded from confluence 3 to confluence 4
Asked by Sander Brienen [Avisi]:

When upgrading from Confluence 3 to Confluence 4 not all macros were upgraded. The problem was with cases.

Two examples to illustrate.

**Example A:**

```
{numberedheadings}h1. Content heading 1Some text{numberedheadings}
```

**Example B:**

```
{numberedHeadings}h1. Content heading 1Some text{numberedHeadings}
```

In Confluence 3 both blocks of code worked fine.

In Confluence 4 though the block with Example B is not migrated but wrapped in a Wiki Markup macro. Example A is migrated without problems.

In the plugin xml, the macro name is with lower-cases only for both Confluence 3 as Confluence 4.

It seems that in Confluence 3.x a macro name entered with mixed case are all handled correctly. When upgrading to Confluence 4, the upgrade script does not seem to be aware of other cases then lower-case. This results in an confluence instance where only the macro's are upgraded that exactly match the name of the macro in the plugin xml while otherwise spelled macro's are wrapped in the Wiki Markup macro.


Answers:
author: Sander Brienen [Avisi]
body: The answer from support:

This should work only on MySQL, but do check for your DB if there are any Find and Replace SQL queries such as this: <http://www.mediacollege.com/computer/database/mysql/find-replace.html>. What you will need to do is basically run this query to find all instances of {numberedHeadings} and replace it with {numberedheadings} (**REMEMBER TO MAKE A DATABASE BACKUP FIRST!** This query will find and replace all instances of the string match, in **all** of your content, so this is quite a risky query. So, backup backup backup!):  

```
UPDATE BODYCONTENT SET BODY = replace(body, '{numberedHeadings}', '{numberedheadings}');
```

After running this query, navigate to \<tt\>Confluence Admin \>\> Cache Statistics \>\> Flush All\</tt\>. (you can check also if the pages that have the numberedHeadings macro, is reset to numberedheadings, after flushing the cache.

Now, the next step will be to **remigrate** the unmigrated Wiki Markup wrappings. You will need to navigate to http://\<yourconfluenceurl\>/admin/unmigratedwikicontent.action , and click **Update Content**. This should remove all Wiki Markup wrappings for those macros, and everything should be back to normal.


author: J?rgen M?ller
body: I have a similar problem with numberedheadings Macro pages are not converted to the new XML format during the upgrade.

The macro is not recognized, although it is lower case. Uninstalling and reinstalling did not help. Is there a solution ?


author: Sander Brienen [Avisi]
body: This is the answer I got from support:

It seems that this is a confirmed bug with Confluence 4 and up; Bug is raised here: <https://jira.atlassian.com/browse/CONF-24900>

Please vote up this bug to get this fixed asap!

comments: author: David Mason
body: The bug has been fixed in Confluence 4.3.5 by <https://jira.atlassian.com/browse/CONF-23927>, which was the same bug as <https://jira.atlassian.com/browse/CONF-24900>.


Tags: macro

upgrade
User Suggestion List Missing in Confluence 4.0
Asked by Muhammad Taufik Tirtosudiro:

Hi, I have a problem in our installation of confluence. The virtual server crashed recently. During recovery the hard disk was repaired and I had to clear the index directory inside of confluence home.

Other than that the bundled-plugins, bundled-plugins_language, plugin-cache, plugins-osgi-cache, plugins-temp directories was cleared as well (I read about it somewhere in the atlassian forums).

Right now, users can not use the user link feature (using @), the users shown in the suggestion are not complete, only 3 among our 20+ users. I have tried restarting confluence to no effect. The users have no problem writing new pages, viewing pages, etc, right now the only apparent problem is just the user link feature.

Does anyone have an idea on how to fix this?

Thank you in advance.


Answers:
author: hsuhailah
body: Hi Muhammad, if you still encounter this problem, the index may have been corrupted due to the crash. I'd suggest you to rebuild Confluence index from scratch. Here's the documentation - <http://confluence.atlassian.com/display/DOC/Rebuild+the+Content+Indices+from+scratch>.

Hope that helps.
Blog Post macro not displaying posts when new label is created
Asked by Cornelius Engelhardt:

We are running 4.1. on a corporate server.

When setting a label filter on the Blog Post macro, it will work fine when using a label that was already used on older blog posts.

However when I create a completely label on a blog post, the message: No blog posts found. is displayed when adding the label as filter to the macro.

My conclusion is that the fiter does not pick up "new" labels right away but is there a way to fix that? I've already flushed all the queues and rebuilt the search indexes but it's still not picked up.

Edit: the issues seems to affect anything new in the bolg, including blog posts. New blog posts are also not displayed using the Blog Post Macros. I unfortunately don;t know exactly when this started.

Regards,

Cornelius


Answers:
author: Andrew Frayling
body: Hi Cornelius,

A bit of a long shot, but have you tried completely rebuilding the indexes from scratch - <http://confluence.atlassian.com/display/DOC/Rebuild+the+Content+Indices+from+scratch> ?

If the indexes have somehow become corrupted they may not get rebuilt properly from the UI and may need to be manually deleted and recreated.

Andrew.

comments: author: Cornelius Engelhardt
body: I'll try that. Thanks for the advice!

Regards,

Cornelius


author: Cornelius Engelhardt
body: Andrew, your suggestion fixed the issue. Many thanks!

Cornelius


author: Andrew Frayling
body: Cool, glad it worked. Hopefully you shouldn't have to do that manual rebuild too often. Thanks for marking as correct.

Cheers,

Andrew.


Tags: blog

label
How do I wrap wiki markup around an existing table
Asked by Mike Furgal:

I have a table that is created in the WYSIWYG editor, now I want to put the {table-plus} macro around it.

I tried just putting in {table-plus} as text, but it just shows up as text.

I tried to "insert wiki markup" and when I did, it put both the beginning and end of the wiki markup.

So then I tried to insert wiki markup, and cut/paste the table from WSIWYG to the wiki markup section, but paste didn't do what I expected.

I'd rather not have to recreate this table. I suspect what I am asking for is fairly basic functionality.

Is there an option to get the wiki markup editor? I read the reasons for going WSYWIG, but I am trying to deloy this in a development house, so they would appreciate the older editing.

Thanks..

...MikeF


Answers:
author: Bob Swift (personal)
body: Cut/paste seems to work.

1. Insert wiki markup
2. Add table-plus wiki markup
3. Go out and select entire table and copy
4. Go back to wiki markup area and paste
Create JIRA issue from Confluence
Asked by Stephen Hayden:

So I am learning Confluence, is it reasonable to be surprised that I can't construct a form and have it serve as a template to create JIRA issues (or maybe even have Confluence retrieve the relevant create screen for embedding?)

It seems the most efficient ways to create issues from Confluence is to make them click over to a create screen in JIRA via an argument-laden link, or have forms submit emails to JIRA to then pick up?

Seems this functionality has been brought up periodically over the years, but I am just now catching up with the conversation, the above are still the best solutions to creating a JIRA ticket from Confluence?

I am envisioning a single place to go for a project... a Confluence space with a straightforward table of contents containing 'Create Issue' (with embeded form), 'Statuses' (with Jira Issues listed in a page) and then of course a myraid of appropriate documentation. It appears they'll have to leave confluence, or I'll have to fully explore the email approach?

Any input is appreciated, thanks!


Answers:
author: Renjith Pillai
body: Does the Issue Collector plugin help? <https://plugins.atlassian.com/583856>

comments: author: Stephen Hayden
body: Has potential for sure, thanks for the tip!


author: alexqfredrickson
body: This is a dead link.


author: Nic Brough -Adaptavist-
body: It's six years old. I think you need to look up issue collectors in Jira's docs


author: Yuval Gershfeld
body: Hey [@Stephen Hayden](/t5/user/viewprofilepage/user-id/510444)

In Methoda, we created an add-on, Jcreate, that allows you to create a Jira Issue from inside confluence while adding many customisable fields.

See: [Jcreate \| Atlassian Marketplace](https://marketplace.atlassian.com/apps/1224226/jcreate?hosting=server&tab=overview)


author: Stephen Hayden
body: So Renjith V \[NSN\]'s answer does help solve the subject, but one of the requirements for my project is that a form is able to be filled out partially and can be come back to later. My understanding was that perhaps I could make a template that would be used for a new page, which would do the above (ideally once complete... submit to JIRA, something that doesn't appear possible). What I am missing is the connection to JIRA for the workflow... hmm, or maybe we just use Ad Hoc Workflows and remove JIRA from the equation? Would love to hear some thoughts along those lines. I guess we'd then be missing all the filters and analytics you can pull from the various data points unless you can do the same in Confluence somehow.


Tags: jira
uwc regex with { do not work
Asked by dimitri de graef:

Hi,

a java or perl regex with a { in the converter line never seems to match

f.e.

TWiki.6600.maketext2bold.java-regex=%MAKETEXT\\{\\"(.\*?)\\"\\}{replace-with}\*$1\*

i then tested with TWiki.6600.maketext2bold.java-regex=%MAKETEXT\\{(.\*?){replace-with}\*$1\*

no match either

i'm using uwc 3.13.1_Snapshot

kr

Dimitri


Answers:
author: Nick Bailey
body: You may have found this already but anyway - I replace { jsut fine - here is my regexp

TWiki.0562-CLatex.java-regex-tokenize=%beginlatex(\\{.\*?\\}\|)%( \|)(\\$\\$\|)( \|)(.\*?)( \|)(\\$\\$\|)( \|)%endlatex%{replace-multiline-with}{mathdisplay}$5{mathdisplay}

Your regexp looks fine - I think your problem isn't with matching { but somewhere else


Tags: regex

universal-wiki-converter
PDF Export drives me crazy
Asked by Christian Christian:

Hi all!

I have now spent nearly one day to get the pdf export up and running and I am close before going crazy. So there are some questions from my side:

1) I have well accepted that at the moment it is not possible to display the name of a page on the title page. BUT is there a way to display a title page when using Tools -\> Export to PDF? I want to give my users to export the pages to pdf on their own. They will not have the rights to go via space administration.

2) We are using the {table of contents} macro to display a toc in the page itself. Is there a way to display the page numbers next to each heading in the toc in the exported pdf? Do I need to add the {toc} to a page or is there a way to just "print" a toc?

3) How can I add a page break AFTER the toc and BEFORE each H1 heading? So the sequence should be:

Page 1: Title page (logo + text) (DOES WORK ALREADY)  
Page 2: Page title + TOC  
Page 3++: Every H1 heading should start a new page

I have now doing following setup:

**PDF Stylesheet:**

```
.fsTitlePage {  display: block;  text-align: center;  margin-left: auto;  margin-top: 50mm;  margin-right: auto;} .fsTitle {  font-size: 28px;  font-weight: bold;  margin-left: auto;  margin-top: 50mm;  margin-right: auto;  text-align:center;}@page {  @bottom-left {    content: "? HOERBIGER Deutschland Holding";    font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;    font-size: 8pt;  }  @bottom-right {    content: "Page " counter(page);    font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;    font-size: 8pt;  }}.pagetitle h1 {   font-size: 36px !important;  margin-left: 50px !important;  padding-top: 50px !important;}div.toc  {  page-break-after: always;}span.toclead:before  {  content: leader(solid);}
```

**PDF Layout:**

```
&lt;div class="fsTitlePage"&gt;  &lt;img src="/download/attachments/2097946/HOERBIGER.png"/&gt;&lt;div class="fsTitle"&gt;System documentation from mydoc.hoerbiger.com&lt;/div&gt;&lt;/div&gt;
```


Answers:
author: DavidH
body: I don't see a page-break-before tag anywhere in your CSS.

I have this:

.pagetitle

{

page-break-before: always;

}

Maybe I misunderstood, but this puts each of my pages on new pages in the PDF -- but I am exporting the whole site, not one "page"
How can I limit the include page macro to the current space?
Asked by Brad Mease:

We currently have our product releases in their own space with their own [inclusion library](http://confluence.atlassian.com/display/DOC/Creating+your+Technical+Documentation+Space#CreatingyourTechnicalDocumentationSpace-inclusions). After releasing a new version of a product we copy the space with it's own inclusion library to create the next set of documentation for the new release. When one of our employees goes to include a specific page using the include macro the search feature is finding multiple identically named pages for the old inclusion libraries in the now old spaces.

I've tried creating a macro that wraps the include macro but the only option to search for a page is the confluence-content type and that does not have an option to limit the space to just @self.


Answers:
author: Jeremy Largman
body: it's not exactly what you're after, but you can type in the spacekey first. Also note that if you hover over the page, the link tip can help.

Are you open to build a new plugin/macro? If so you could achieve it by limiting the js search by space.

comments: author: Brad Mease
body: I've seen the instructions to include the spacekey, but when you add the spacekey the js search stops working. Requiring our users to know the exact title of the page they want to include really slows down their workflow.

I am totally fine creating a plugin or macro but I was unable to find a way to limit the js search by a space. Could you point me in the right direction on how to do that?


author: Jeremy Largman
body: Browse to a spaces' blogs, and start searching. you'll notice that the javascript for that is limited to the blogposts in this space. The file that controls this is

./confluence-project/confluence-core/confluence-webapp/src/main/webapp/includes/js/contentnamesearch.js

In that file is the code snippet for the javascript you're after:

```
if (spaceBlogSearchQuery.length &amp;&amp; confluenceSpaceKey.length) {        spaceBlogSearchQuery.quicksearch("/json/contentnamesearch.action?type=blogpost&amp;spaceKey=" +                 AJS("i").html(confluenceSpaceKey.attr("content")).text(), null, {            dropdownPlacement : quickNavPlacement(spaceBlogSearchQuery)        });    }
```


Tags: include
Tasklist Macro Not Working
Asked by MICHAEL O'Neill:

Does anyone know why the {tasklist} macro is not working? Specifically, when I click a checkbox for a task to mark it as "complete", the change does not persist. If I leave and return to the page, the checkbox is empty again.

Currently on Confluence 3.5.13

Tasklist Version(s) 3.3.2 \& 3.3.3 (updated to see if it would fix the problem. It didn't.)

I see similar behavior here: <http://cpace.egr.msu.edu/confluence/display/ds/Tasklist> (though they are on an older version).


Answers:
author: Joerg Bencke
body: Works fine with me. Did you try this on the "preview" screen ? That would not work (and happens to me on occasion :9 )

comments: author: MICHAEL O'Neill
body: Our issue appears to be of our own making (custom layout work). Not sure how to account for the example I found in the wild.


Tags: tasklist
Excerpt-include across space boundaries
Asked by Joerg Bencke:

Hi Folks,

another detailquestion - did I miss something or is it not possible to "excerpt-include" from pages outside the current space ? Any workaround except for creating a user proxymacro ?

Josh


Answers:
author: Andrew Frayling
body: Hi Josch,

Unfortunately, no you didn't miss anything and it's an open feature request at <https://jira.atlassian.com/browse/CONF-5752>

What you could do is create a page in the same space as the page with the excerpt on it, use {excerpt-include} to include the excerpt on that page and then use the {include} macro on the page that you want the excerpt included on in the separate space. It's cludgy, but the {include} macro does work across Spaces.

Alternatively, would a straight {include} of an entire page work for you? If you have lots of excerpts that you want to re-use is it worth looking at re-working your content so the excerpts are indivual pages and you assemble full pages from them as required? That way you won't be affected by the {excerpt-include} limitation and could reuse content wherever it was needed irrespective of Spaces.

Andrew.

comments: author: Joerg Bencke
body: Hi Andrew, I had feared that. I currently use the proxy-approach like you described. Thanks for the link to vote for :)

Josch


author: Hitesh.Kumar
body: I think it is possible now [@Joerg Bencke2](/t5/user/viewprofilepage/user-id/853600) , please check here **<https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-include-macro/>**


author: Hitesh.Kumar
body: I just followed the below suggestion [here](https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-include-macro/ "Excerpt include to different space") and was able to do the excerpt include to different space.

![Screenshot 2021-06-01 at 5.49.22 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/145657iF6A5D15D42636D5E/image-size/large?v=v2&px=999 "Screenshot 2021-06-01 at 5.49.22 PM.png")


author: NielsJ
body: Perhaps prefixing the page name with the spacekey and colon does work...

comments: author: Joerg Bencke
body: nope, tried that :(


Tags: excerpt