youngmon/atlassian-qna huggingface dataset:
How do I Exclude multiple Headings or an entire section?
Asked by Allie Serious:

*This question is in reference to Atlassian Documentation: [Table of Contents Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765294)*

I have 2 table of content zones and a main table of content, I dont want the 2 zones to show in the main. I tried using 2 words to exclude but since it is looking at both as one word neither get excluded. I cant make a 3rd zone because what I am trying to exclude is in the middle of the page.


Answers:
author: Andy J.
body: Hi Allie,

I tried mimicking your setup and was able to exclude the Table of Content Zones using the \*Exclude Headings\* function in the Table of Contents macro. This part may be a bit confusing as the parameter takes regular expressions to find matches and exclude them.

One useful tool to make sure the regular expression you created catches the sections you want is the following: <http://www.regexpal.com/> This should let you test your regular expressions to make sure they are valid.

As an example, I created some Table of Content Zones with the names **ZONE** and **SECTION** respectively. I then created a simple regular expression to capture both of the words and added it to the Exclude parameter:

**ZONE\|SECTION**

This should exclude any words in the regex statement above from the Table of Contents macro and you should be able to add more complex filters to the expression to come up with any patterns you like. The site I provided above has some cheat sheets on how to come up with valid regular expressions and should help if the simple command above does not work for you (in your case you should be able to edit the command above to fit your zone names).

Regards,

Andy Jean   
Confluence/Crowd Support


author: Paz
body: I think your use case might be too advanced for the out-of-the-box functionality of the TOC/TOC Zone macros.

=(

comments: author: Allie Serious
body: Wow, seems so crazy they have an include and exclude box and it only works with 1 word, I just need 2 words in there and exclude both... Thanks for the reply.


author: Paz
body: Check Andy Jean's answer above. Perhaps your regexpression just needed to be improved.


author: shilpa shilpa
body: Hello,

I have a similar situation where I have included a page in confluence using Include page macro but it has a toc of its own and I don't want to display it in my page. I tried using Exclude toc:, but it removes only the heading that we add in the exclude block. Is there a way to remove the entire toc section from my page? I wanted to use regex, but couldn't understand it correctly. Can anyone help please? Thanks.


Tags: table-of-contents
Is anyone else having issues with boolean parameters in user macros not working?
Asked by Bill Bailey:

I have come across a bug in the more recent versions of Confluence ( 5.5.1, 5.6.5, 5.7.3, 5.9.4. 5.9.5), where Boolean parameters always evaluate as true when used in user macros (or the user-macro module for plugins).

Is anyone else having this issue, or needing this functionality? If so, please vote for this bug: <https://jira.atlassian.com/browse/CONF-40831>


Answers:
author: Davin Studer
body: I do it this way to avoid issues.

```
## @param bool:title=Test|type=boolean|desc=Test|default=false#if ($parambool == true)    true#end#if ($parambool == false)    false#end
```

comments: author: Bill Bailey
body: Yeah, I just discovered that earlier today when trying to find a workaround. Booleans in user macros were actually evaluating as true/null in earlier versions, but now evaluate as true/false. So the classic construct used below (which should work per Velocity docs), is actually only testing not_null/null:

```
## @param debug:title=Debug Mode|type=boolean|default=false ## Print default set#if($paramdebug)BOOLEAN VARIABLE IS TRUE #end#if(!$paramdebug)BOOLEAN VARIABLE IS FALSE#end
```

So the result is that it worked in early versions, but now always evaluates as not_null.

So I am going to rewrite my macros using the explicit syntax you suggested.

Thanks


Tags: confluence-administration

macro
Task Reminders
Asked by Brenda Bankert:

We really need a task reminder tool for our workstream and we've found one <https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.task-reminder/server/support> but it doesn't appear to be supported for our version.

Is there anything else we can use and/or idea of when this will support Confluence 6.0.0-OD-2016.10.0-1050?

Thanks


Answers:
author: Davin Studer
body: Often times it will work anyway. Developers have to manually tell the marketplace that their add-on works for newer versions ... even if none of the API's that the add-on uses have changed. You could manually download the addon and then upload it through Conlfuence Admin.
Can there be an AND relationship for identifying pages to display by labels?
Asked by Joanne Pandya:

*This question is in reference to Atlassian Documentation: [Content by Label Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765178)*

I would like to use the Content by Label macro to list all the meeting notes **and** other labels. However, from my understanding, an **or** is used when adding multiple labels in the Content by Label macro.


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Hello Joanne,

This is straight from the doc you linked, and it looks like what you want to do will work and is built in:

Use AND, OR, and NOT operators  
* For an OR search, specify multiple values in the same field.  
  So to show pages with 'label-a', 'label-b' or both you'd put 'label-a' and 'label-b' in the same Label field, like this:  
  ![](https://confluence.atlassian.com/confcloud/files/737182300/CQLOROperator.png)
* For an AND search, add more than one filter and specify a single value in each.  
  To show only pages with label-a and label-b you'd put 'label-a' in one label field, then add a second Label field to the macro, and put 'label-b' in the second one, like this:  
  ![](https://confluence.atlassian.com/confcloud/files/737182300/CQLANDOperator.png)  
  Put simply, OR values are entered in the same filter, AND values are entered in different filter.   
  Only some filters support AND. If the filter doesn't support the AND operator, you won't be able to add that filter more than once.
* For a NOT search, enter a minus sign (-) before the label. This'll exclude everything with that label.


Tags: cloud

confluence-cloud

content-by-label

documentation
secure content block - Probleme
Asked by Patrick Ge?ner:

Sehr geehrte Damen und Herren,

wir haben seit einiger Zeit akute Probleme mit diesem Tool.

Es verschwinden Inhalte, Berechtigungen und ein Bearbeiten bzw. ?ffnen des Inhalts ist bei manchen Blocken nur im Bearbeiten-Modus der Confluence-Seite m?glich.

Sind zu dieser Sachlage Informationen bekannt? Was k?nnen wir tun, damit das Tool wieder so arbeitet wie es soll und muss.

Die Tatsache, dass Inhalte verschwinden, ist f?r den Verwendungszwecks dieses Tools nat?rlich katastrophal.

Vielen Dank im Voraus.

Mit freundlichen Gr??en

Patrick Ge?ner


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: @Erin Jones maybe be able to help with this, she works with Praecipio.

comments: author: Erin Jones
body: Thanks for the feedback Patrick (and for the heads up, @Stephen Sifers)! You should be receiving a support response from our team shortly. :smile:


Tags: addon-com.prcpo.confluence.plugins.secure-cont

confluence-administration
Where is the help-paths.properties in Confluence 5.9.?
Asked by Daniel Frey:

*This question is in reference to Atlassian Documentation: [Configuring the What's New Dialog](https://confluence.atlassian.com/pages/viewpage.action?pageId=771892751)*

I cant find it, where it should be, following your guide!


Answers:
author: zack
body: See [this article](https://confluence.atlassian.com/conf54/getting-help-and-support/confluence-resources/local-confluence-documentation) about how to set the help-paths.properties file. Particularly the "Changing the Base URL for your Help Links" section. It's a little more complicated than it should be.


Tags: confluence-administration
Licenses Question
Asked by Tony Montana:

Hello, guys! Help me, pls

<https://www.atlassian.com/software/confluence/pricing/?tab=host-on-your-server>

Growing Team VS. Enterprice Team. What is? How to define what we a team? Whether it is possible to update products in case of a on-time payment?


Answers:
author: Lars Bachmann
body: Hej - couple of things...

just try to figure out if you will need to upgrade the number of user in the next 12 months. Could be smarter to buy for one level higher than you actually need by now. Anyway: have a look at the FAQ here [https://de.atlassian.com/licensing/purchase-licensing.](https://de.atlassian.com/licensing/purchase-licensing) Pick the product and compare price you have to pay now to the price you would have to pay for an upgrade.

And make sure you do renew your software maintenace every year to get all the updates. I would highly recommend this.

**Plus:** You might want to get help from an Atlassian Expert in your country (<https://www.atlassian.com/resources/experts>). They can explain all further details.


author: Nic Brough -Adaptavist-
body: The sizing there is just what Atlassian use for a general way to group up numbers of users. Enterprises are large organisations, small teams a handful of co-workers, and growing teams are for small, but hopefully growing teams.

The easy answer is to just look at the number of people who will be using it and select the right tier for you (for Confluence bear in mind that you can allow some access without counting as a user - common for documentation sites who let anyone read it and only licence the people who write the docs).

If you buy a low number now and your team grows, you can jump up to the next tier at any time by paying the difference.


Tags: confluence-administration
User sees outdated content on page
Asked by florian_schulz:

In our confluence we have one user that sees old content on a page.All other users can see the new content.

The page has some restrictions who may view it. I tried to clear content caches and log/logout. DIfferent browsers and different machines didn't help. Anybody experienced something like this already?


Answers:
author: Anne EQS
body: Are you using Comala Workflows?

comments: author: florian_schulz
body: Yes we do. Approving the page did help. Thanks for the hint.


Tags: confluence-administration
I got a problem that the que is not running at all. the message: "QUEUE IS CURRENTLY IDLE " appear. How can I fix this ?
Asked by Henrik Holte:

*This question is in reference to Atlassian Documentation: [Content Index Administration](https://confluence.atlassian.com/pages/viewpage.action?pageId=148844)*

Ask your question here...


Answers:
author: Nic Brough -Adaptavist-
body: Eh? There is nothing to "fix" here. "Queue is currently idle" means that it doesn't have anything to do. If you want to give it things to do, create/edit pages.

comments: author: Henrik Holte
body: well.. it is a list of documents to "flush queue manually" that admin must run to update the indexes... and dashboard page.


author: Nic Brough -Adaptavist-
body: I'm not sure what you're seeing or what the problem is here?

Do you actually mean that items are going into the indexing queue, but the queue never deals with them, so the list just gets longer and longer?


author: Henrik Holte
body: Yes, excactly  
Items in list is growing until a manul flush is neccesary.

today 1883 items is in queue..


author: Nic Brough -Adaptavist-
body: Ah, ok, it's not the "queue idle" that's the problem, it's stalled indexing.

Start by running through <https://confluence.atlassian.com/confkb/confluence-fails-to-process-index-queue-automatically-213524919.html> - there's quite a few things on there to check up on I'm afraid, but hopefully one of them is the problem


Tags: confluence-administration

documentation

index
Is it possible to extract Confluence date info to Outlook?
Asked by Mick Davidson:

I'm trying to extract dates from our product release schedule to Outlook.

Is this possible and if so how?

The purpose is to add the release dates to my calendar so I am automatically notified when a release is due so I can prepare some related documentation.

We're using 5.4.1 server but are going to upgrade to 5.9 shortly.

Cheers


Answers:
author: Danny Zuccaro
body: Hi - you can follow the instructions below to export to outlook (full link [here](https://confluence.atlassian.com/teamcal/export-team-calendars-content-to-other-calendars-240913738.html))

Outlook 2010 {#toc-hId-1652005876}
----------------------------------

1. Choose ![](https://confluence.atlassian.com/teamcal/files/686856690/ellipsis.png) to the right of the calendar and choose **Export to iCalendar**
2. Save the .ics file to your computer
3. Open Outlook 2010 and choose **File Tab** \> **Open** \>**Import**
4. Locate and select the .ics file you saved and choose **Import**

Alternatively you could subscribe to the calendar as well.

Hope this helps.

comments: author: Mick Davidson
body: Danny, thank you.

I haven't tried it yet, but will do asap.

Cheers.


Tags: calendar

date

export

ms-outlook

server
Can I open a Jira issue in Confluence?
Asked by Lorenzo Lucioni:

*This question is in reference to Atlassian Documentation: [Integrating JIRA and Confluence](https://confluence.atlassian.com/pages/viewpage.action?pageId=2825)*

You are in a Confluence Space: can you open a Jira issue through a Confluence Space Macro or Plugin?


Answers:
author: Doug Swartz
body: Here are a couple of plugins to look at:

* [Run Self-Service Reports for Confluence](https://bobswift.atlassian.net/wiki/display/RUN)
* [Confiforms](http://www.confiforms.com/cfweb/)

While, you can do what you're looking for with either, they work very differently.

There may be others.


author: Jose Rico
body: Yes, you have to highlight with the mouse a sentence you want and a small pop-up appears if you remain with the arrow of the mouse on it. It appears 2 options "add inline comment" or "create a JIRA issue"

comments: author: Lorenzo Lucioni
body: Hi Jose,

thank you for your quick response.

I see way you suggested but I'm looking for a more structured tool. Infact, I would restrict JIRA Project choice just to one of them, the same for Issue Type and, more, I would offer a few fields available (such as "component").

I know it is possible via javascript (JIRA let you generate a JS to include in your webpage), but Confluence (if I'm not mistaken) do not permit any custom JS on its pages, so I were hoping about an integration JIRA-in-Confluence through a Macro or similar.

Any more suggestion?

Thank you,

Lorenzo


Tags: confluence-administration

documentation

integration
Will confluence 5.8 work with JIRA 6.3.14
Asked by Joanne:

We have JiRA 6.3.14 installed and want to link it with Confluence 5.8 - are these versions compatible?


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Hello Joanne,

This may help: <https://confluence.atlassian.com/display/APPLINKS/Application+links+version+matrix>

From the support matrix, it doesn't look like JIRA 6.3.x will work (supported) with Confluence 5.8.

Your JIRA must be 6.4.1 to work with Confluence 5.8.

Hope that helps!


Tags: confluence-administration
Create Page Macro - Labels popup
Asked by Infrastructure_Administrator:

I'm not actually clear on where to log a potential bug issue for the 'Create Page' macro but here goes.

We've recently upgraded to 'Create Page' version 3.2.8 and we use Internet Explorer 11. Since the upgrade we've noticed that if you apply a Label within the macro when you click on the 'Create Page' link, it will create a new page but prompt the 'Labels' window before entering Edit mode on the page. The end user must click 'Close' to the Labels window to apply the label and view the newly created page within the label applied. I've noticed in Chrome that the Labels window only momentarily displays as the label is being applied, which is expected but IE11 generates a different result.

Can you please test and rectify this issue for IE11? It's seriously confusing our users when they click a 'Create Page' link anywhere on our Confluence 5.8.8 instance. We've also tested on a 5.9.6 instance with the same issue.

Thank you Tim


Answers:
author: Kay Brown
body: Hi Tim,

Create a ticket for Adaptavist here: <http://www.adaptavist.com/w/hosting/creating-support-tickets/>

Regards,

Kay


Tags: addon-com.adaptavist.confluence.createpage

label
Can basic users be restricted from creating pages?
Asked by Lauren Bunting:

*This question is in reference to Atlassian Documentation: [Manage users and groups](https://confluence.atlassian.com/pages/viewpage.action?pageId=744721623)*

I imagine that a group can be created for basic users, and permissions can be set so that these users cannot create pages? Essentially, I want to be sure that basic users have "view only" permissions to the entire space.


Answers:
author: Milo Test
body: Just go to Space permissions and make sure the group and/or ungrouped individuals do not have Pages -\> Add selected.


Tags: user-management
How to merge several Confluence Cloud spaces into one
Asked by Juliana MacAller:

I have several Confluence spaces that I need to merge into one space. I exported each space individually but am not sure how to go about importing them into one space.


Answers:
author: Bob Swift (personal)
body: Why not pick one space and then just move the other space's pages into it? Relatively easy from the UI especially if most pages are children of home.

comments: author: Jerry Ryan Ishmael
body: I tried this but I can't get it to work. If I have pages I need moved to an existing space do I need the parent and all children moved to new space? It appears that he links in moved paged don't link properly anymore.

Any ideas?


author: Bob Swift (personal)
body: Page links should be automatically updated by Confluence when you move pages. At least if the links are done using standard Confluence linking. If you hardcoded some other types of links, they could be broken.


author: Juliana MacAller
body: Thank you. That's what I ended up doing.


Tags: cloud

confluence-cloud
How Do You Make A Page or Space Unsearchable?
Asked by Dina Tsuda:

Is there a way I can create a page in our Confluence site where anonymous users can see it however it does not appear in the search results? Please advise.

Thank you!

Dina


Answers:
author: Nelson Carranza
body: Actually, there is this archiving space concept. <https://confluence.atlassian.com/doc/archive-a-space-284368719.html>

Regards

Nelson

comments: author: Dina Tsuda
body: Thank you Nelson! This is very helpful! We will try it on our site. Appreciate your help!

Dina


author: Nic Brough -Adaptavist-
body: No. That pretty much defeats the whole point of having the ability to search, and I can't imagine a case where this is useful.


Tags: confluence-administration
Is there a way to prevent some topics in Confluence from showing up in search results?
Asked by Phil Gochenour:

I have a set of topics at the root level of a space that I use as my "inclusions library." These topics are all preceded with an underscore in the topic name (like _integration note). I want to prevent these from showing up in the search results for that space. I can't restrict viewing on the pages because then they won't display in the topics where they're included. Is there a way to configure search within that space to ignore topics that are preceded by an underscore?


Answers:
author: Sandy Johnson
body: I had same problem and solved it by naming the pages with spaces in between every letter so "_integration note" would become "_i n t e g r a t i o n n o t e".

comments: author: Alex Yasurek
body: I have the same issue as Phil. How did including spaces solve the issue?


author: Phil Gochenour
body: If a user searches for "integration," then that wouldn't return i n t e g a t i o n because there weren't any spaces in the original search term. While I a clever work around, it would break my current includes when I changed the topic titles, and I would have to go back through and update every use of the include macro. I would prefer something more programmatic, like configuring the space tree to only search children of the home page topic, or to skip over topics that are preceded with an underscore.


author: Sandy Johnson
body: I did not think of this solution until I had the same issue where users were finding my inclusion pages in their search results. If you change a page name, Confluence will update all links to that page, but as you noted, it will not update any page names within a macro (although I think it should). I chose to use this naming convention going forward with new pages and keep to old ones as they were (there weren't that many). There were a couple that became problematic, so I had to find those include macros and update them manually.


Tags: confluence-administration

search
Has anyone gotten the media macro to work in Confluence?
Asked by Eric:

I'm trying to embed an mpg file on a Confluence page using the media macro. This does not work. I've tried Chrome, Firefox and IE. I have the right plugin and the file does play. It just won't work using the media macro. I can simply attach the file directly to the Confluence page and that will work, but just curious if anyone got the media macro itself to work.


Answers:
author: Don Donzal
body: Yes.

We took an ARF file from a recorded Webex session, converted it to MP4 and attached it to a page. We then used the Multimedia Macro to allow streaming. So far with our testing, it only works with Chrome \& MP4 files. We tested with other browsers and file formats (wmv, flash, etc.) it's either iffy or flat out won't work (even if you install the browser plugin requested in each case). The other issue we found is that even though we did not mark the box for autoplay, it autoplays anyway. Argh!!

At least it works... kind of. :wink:

Hope that helps,  
Don

comments: author: Don Donzal
body: Bump. Anyone at Atlassian know how to fix the issue of a file autoplaying when it it has been marked not to do so?

Don


Tags: cloud

confluence-cloud
How can I get the private key needed to create the .p12 file?
Asked by James Black:

*This question is in reference to Atlassian Documentation: [Running Confluence Over SSL or HTTPS](https://confluence.atlassian.com/pages/viewpage.action?pageId=161203)*

The keytool program does not generate a private or public key for me. different attempts of "-genkeypair" and "-genkey" did not product a public key or private key.

The private key is needed to create the .p12 file.

This is a large headache for me as I'm not that familiar with creating keystores or configuring ssl certificates.

Many sites repeat the same information stating that the "keytool -genken" command creates the keypair. When the file was inspected, there was no key to be found. Only the information related to the "self signed certificate" (MyDomain, MyCompany, etc).

If ten people tell me I'm crazy. I must be crazy, but "how" can I be crazy?


Answers:
author: James Black
body: The solution was to use the openssl command to create the key and csr at the same time.

openssl req -new -newkey rsa:2048 -nodes -out \<MyDomain.csr\> -keyout \<MyDomain.key\> -subj "/C=\<MyTwoLetterCountryCode\>/ST=\<MyState\>/L=\<MyCity\>/O=\<MyOrganization\>/OU=\<MyDepartment\>/CN=\<MyDomain\>"

Taken from this handy site:

<https://www.digicert.com/easy-csr/openssl.htm>

I don't understand why keytool doesn't create the key and openssl does create the key, but this does work for me.


Tags: confluence-administration

ssl