youngmon/atlassian-qna huggingface dataset:
Suggestion/Question about breakdown in terse version comparisons
Asked by Pete Jaffe:

We heavily use macro "containers" like the Numbered Headings plugin within our pages, and I have noticed that it seems the page version comparison doesn't seem to present the same "terse" delta of changes within a "container" that it does with content outside of a container.

As a result, if I create a decently large page, when targeted changes are made to it, the version comparisons that I receive by email or else pull up in the Confluence web site end up succinctly calling out the change without me having to scroll through the entire body of the page.

However, as soon as I wrap the majority of that page in a NumberedHeadings macro (or an "Info" macro, which admittedly is not common, but seems to highlight that this isn't a behavior isolated to the NumberedHeadings macro), a version comparison report includes the entire contents of that container with the changes highlighted. As a result, I end up with effectively a complete copy of the page, and it is error prone and tedious to scroll through the whole page to find the differences.

If memory serves, an older version of Confluence might have had a "jump to next difference" set of anchor links, so re-introducing something like that could help, but I would also think that maybe it is reasonable to just show the snippet within the container that changed.

I tried to upload a file "DiffSamplePageSource.html" that is a "save" of the "Source View", and I would just change the word "fox" to "dog" and back in the 3 places that word appears. I'm not sure if this actually attached successfully, or if this is an effective way to sharing a page outside of Confluence. With the previous wiki markup, that process was much clearer to me...

Please let me know if I should have directly submitted this into the Issue tracking system for Confluence as a feature request, versus starting off in this Answers forum.

Thanks,

Pete


Answers:
author: GuilhermeA
body: I believe that you are more than free to send this as a feature/bug/improvement to [jira.atlassian.com](http://jira.atlassian.com)

If you can easily reproduce this, would be great to the devs to have a step by step. And when done you can share it here with us :)

Cheers,

comments: author: Pete Jaffe
body: I went ahead and put this into the JIRA project for Confluence. For those interested in this improvement, please vote for it at <https://jira.atlassian.com/browse/CONF-28720>.


Tags: compare

version
How do I access Confluence macro parameters within a custom migrator (used to migrate to an xhtml macro)?
Asked by John Wright:

I have a 3.x macro that requires (un-named arguments) that is to be migrated to a 4.x xhtml-macro.

The migration works but the parameters in the xhtml-macro are not populated.

Old macro example:

{myMacro:arg1\|arg2}

I try to get "arg1" and "arg2" above using this:

(String) macroParams.get("0") and (String) macroParams.get("1")

It doesn't appear to work. Ideas? :-)


Answers:
author: John Wright
body: Within the migrator:

**final** Map\<String, String\> macroParams = macroDefinition.getParameters();

**final** String defaultValue = macroDefinition.getDefaultParameterValue();

defaultValue = the first argument (arg1) in {myMacro:arg1\|arg2}

macroParams.get("1") = the second argument (arg2) in {myMacro:arg1\|arg2}

I believe this is the correct answer. If someone knows better, please respond! Thanks.


author: John Wright
body: Macros have a "Default" parameter, i.e. one whose key is an empty string (getParam("")) while, it appears, xhtml- macros use "0" (getParam("0")). Macro params following the default one start at "1" (getParam("1")). I believe this is the correct answer. If someone knows better, please respond! Thanks.


Tags: confluence-app

migration
Why would the Confluence JIRA Issue Macro not display issues, but the macro editor displays correctly?
Asked by Robert Quinn:

This is ondemand conf to ondemand jira. It's a "project".

I inserted the macro and configured it, I copied the XML link correctly. The filter is saved and shared to everyone.

Macro renders no row (see screenshot)... insult to injury :) the Macro editor shows the correct data (see sreenshot) so I can't even debug it.

JIRA is setup to trust confluence and JIRA is setup as an Application on the confluence side.

All help appreciated...

Thanks,

Robert

![](../../upfiles/JIRA_ISSUES_MACRO_DISPLY.png) ![](../../upfiles/JIRA_ISSUES_MACRO_EDITOR.png)


Answers:
author: Robert Quinn
body: some upgrade finally resolved this. it's working now.


author: Robert Quinn
body: Thanks Daniel, I'll do that, with 30 views no answers, I guess it's not something obvious.


author: dleng
body: Strange issue. Recommended raising a ticket with Atlassian Support.


Tags: cloud

confluence-cloud
Automatic Session log out control
Asked by Drew:

My sessions will not log out from being idle. This is a security issue and I need to get the software to logout out. Are there setting anywhere to remdy this?


Answers:
author: Gary
body: Hi Drew,

Sessions persist until the browser is closed for the OnDemand platform. For information concerning login tokens, and cookies, please see:

<https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Cookies>

Cheers,

Gary


Tags: cloud

confluence-cloud
table-plus macro in on-demand 5.0-OD-31
Asked by Robert Quinn:

Can anyone show me how to use the table-plus macro in On-demand.

Admin shows the plugin as enabled. However it doesn't show in the macro browser and selecting a table doesn't provide an edit button.

I have sorting and the other "standard" type functionality of the tables in 5.0... is that all there is? I'd like the data type support for auto justification and other data type specific formatting

Should be easy, what am I missing?

Thanks

Robert


Answers:
author: Jeison
body: Hi Robert,

Most of the table-plus macro functionalities can be used by adding tables through wiki-markup. You have a bunch of parameters available to work with your tables, as shown at <https://bobswift.atlassian.net/wiki/display/TBL/Table-plus+macro>

Have a look through that documentation to understand how it works and see some examples.

Hope it helps!

comments: author: Bob Swift (personal)
body: The table plugin included with OnDemand is very old, so only wiki support is available. Atlassian is planning to upgrade it to the more recent 5.4.0 version at some point, hopefully soon.


author: Robert Quinn
body: Jeison... Thanks, I had forgotten Insert Markup was there.

Bob, I hope so, lots of great features are currently missing.


Tags: confluence-cloud

cloud
Can the icons returned when using the {Content by Label} macro be supressed?
Asked by Ken Trough:

![](../../upfiles/extra_graphics.jpg)


Answers:
author: Laurent Corbi?re
body: Hi,

For the page icon, try this at the top of your page:

```
{style}span.icon.icon-page{display: none;}{style}
```

Regards


author: GuilhermeA
body: I believe it might have to do with the identation and div for each browser. Maybe the size has something to do with it as well.

I could not fully reproduce this from scratch, could you share some steps on how to reproduce this?

Cheers!


author: Ken Trough
body: Upon further review, I note that the right up/down arrow pairs that are displaying for each item returned are only displaying in the IE9 browser. In Chrome they do not display at all. FWIW


Tags: format
how to remove the 'Get Started' block from Confluence 5 dashboard ?
Asked by Andre van der Elst:

The Get Started block is way to big and takes over almost half of the left-side of the browser page. Is there a way to disable showing the 'Get Started' block on the dashboard ?


Answers:
author: Zul NS _Atlassian_
body: Is this what you're looking for?

<https://confluence.atlassian.com/display/DOC/Customising+the+Getting+Started+Guide+on+the+Dashboard>

comments: author: Andre van der Elst
body: thats it, thank you.


author: Ken Trough
body: Interestingly, I could not follow these directions. The instructions say:

1. Choose the**cog icon** ![](https://confluence.atlassian.com/download/attachments/157679812/Cog.png?version=1&modificationDate=1361250253653&api=v2)at top right of the screen, then choose**Confluence Admin**.
2. Select**Layouts** under**Look and Feel** in the left-hand navigation panel.  
   * Click**View Default** to view the `.vmd`file.
   * Click**Create Custom** to edit the default `.vmd`file. This will open the `.vmd`file in edit mode.

But I don't have a "view default" or a "create custom" option. I just see this:  

Edit Site Layouts {#toc-hId-1845003171}
=======================================

You can not customise the site look and feel while a theme is active. You must first disable the currently configured theme.

How can I continue? No matter which theme I select, I still have no options to edit layout...


author: Naama Lev
body: Hello Ken, Did you find the solution for that?ThanksNaama


author: Ken Trough
body: Or alternately, you could create a different dashboard and set the default login page to point there instead of the stock splash page. This was easier to start with than diving in on the dashboard page code.


Tags: dashboard
Linking to folders/files on our shared drives from Confluence in Windows and Ubuntu Linux
Asked by Anthony Lucente:

Hello,

We are trying to access our shared drive folders/files from Confluence in Windows and Ubuntu Linux. This is what we have found so far:

Ubuntu will open the local file link: file:///server/folderName when we mount a shared drive to the path"/server/folderName/"

and windows will work with the file link: file://server/folderName/ (as mentioned on your documentation) for a shared drive at "\\\\server\\folderName"

We have the Wiki package MoinMoin up and running and have found that the following works with opening folders from both Windows and Ubuntu: file:///\\\\server\\folderName

The problem is Confluence tries to be to smart and this link (file:///\\\\server\\folderName) does not work. It does not allow you to set it this way. We also tried to use the various Confluence wiki-markup text with no luck: <https://confluence.atlassian.com/display/DOC/Confluence+Wiki+Markup#ConfluenceWikiMarkup-Links>

Is there a work around for this?

Is there a way to make an exception for the links in Confluence, so that it will allow the link file:///\\\\server\\folderName?

Thank you,

We are trying to use Firefox and/or Chrome to get this working and use the LocalLinks extension to enable the browsers to follow the file:// links.

P.S. I also understand the browser problems found here: <https://answers.atlassian.com/questions/21205/confluence-how-to-place-a-link-to-a-file-on-a-server-share-in-a-confluence-page>


Answers:
author: RianA
body: It might not be able to put the link to file server with "\\" character due to these:  
\* <https://jira.atlassian.com/browse/CONF-3383>\* <https://jira.atlassian.com/browse/CONF-26166>


Tags: browser

chrome

firefox

linux

ubuntu

windows
Confluence mentions with all JIRA users
Asked by Rodrigo Arruda:

I have Confluence configured with JIRA User Directory, but only 1 JIRA group has permission to log in to Confluence.

When I use Mentions in Confluence, all users from JIRA appears. It's terrible find the correct user.

Does someone knows why it happens? It's possible to show only "Confluence users"(only the group with permission)?

Thanks in advance!


Answers:
author: Ryan Goodwin
body: Hi Rodrigo!

I tested this locally. It is a bit confusing but the behavior you are seeing is intended behavior. Once you add the JIRA user server to Confluence, confluence essentially has a 'hard line' to JIRA for user management. That's the whole goal, expose JIRA's users to Confluence.

Now the mention works for all users in JIRA, Confluence can 'see' those users because it is passing authentication to JIRA via the user server. Those @ mention users even get a profile page in Confluence. Here's the confusing part - if you try to login with a jira-user member to Confluence, but the jira-user group has not been added to confluence specifically to allow can use permission, the user can successfully authenticate but confluence thows up a not permitted screen. These users do NOT count against the Confluence license, unless they are given can use permissions.

It's not possible to restrict the @ mentions to only see the confluence users as the jira-administrators/users/developers groups are all added to confluence and are not removeable.

Hope that helps!

comments: author: Rodrigo Arruda
body: This is sad, but thanks for answer! ;)


Tags: external

mention

user-directory

user-management
upgrade confluence complains about directory already exists
Asked by Rob Kooper:

I am trying to upgrade confluence to the latest version but I can't get it to work. I had the same problem with the latest version 4.x version

The problem is that I have confluence installed in /home/opensource/confluence, following is the output from running the command on a Ubuntu machine.

Strange thing is that it ask if it is clean or upgrade and offers number 3 as default (which does not exist).

When I pick the existing folder it tells me it can't install it there because it already exists.

Any suggestions?  
------------------------------------------------------------------------------------------------------------------  

```
bash ./atlassian-confluence-5.0.3-x64.bin Unpacking JRE ...Starting Installer ...This will install Confluence 5.0.3 on your computer.OK [o, Enter], Cancel [c]Choose the appropriate installation or upgrade option.Please choose one of the following:Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing Confluence installation [3]Where should Confluence 5.0.3 be installed?[/opt/atlassian/confluence]/home/opensource/confluenceIt appears that Confluence is already installed in the directory you selected.  Please choose a different directory.Where should Confluence 5.0.3 be installed?[/home/opensource/confluence]^Croot@rizzo:/home/opensource# bash ./atlassian-confluence-5.0.3-x64.bin Unpacking JRE ...Starting Installer ...This will install Confluence 5.0.3 on your computer.OK [o, Enter], Cancel [c]Choose the appropriate installation or upgrade option.Please choose one of the following:Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing Confluence installation [3]2Where should Confluence 5.0.3 be installed?[/opt/atlassian/confluence]/home/opensource/confluenceIt appears that Confluence is already installed in the directory you selected.  Please choose a different directory.Where should Confluence 5.0.3 be installed?[/home/opensource/confluence]
```


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: 3 is the option to upgrade. I don't see you giving that. If you try new install, you will have o choose another directory.

comments: author: Rob Kooper
body: Thanks, now I feel even more stupid since I thought that 3 was the default value.
How do I fix the grey link when linking from an anonymous view page to a page requiring authentication?
Asked by Eddie Connatser:

Hey everyone, our company is using Confluence 4.3.2, and we have the following situation:

1. A space which has content that is anonymously viewable
2. A space which has content that requires authentication
3. A link from a page in the anonymously viewable space to a page in the restricted space.

What is happening?

1. Users who are logged in can see and access the link on the anonymously viewable page as intended.
2. Users who are not logged in can see the link to the restricted page in the other space, but when clicking on the link, it just resets them to the top of the page. The html that is rendered looks like this:  

   ```
   &lt;a class="unresolved" href="#"&gt;Link text here&lt;/a&gt;
   ```

Does anyone know a work around for this other than having to use a web link instead of the built in wiki linking? The only other question I have found in relation to this question is: [https://answers.atlassian.com/questions/149004/how-can-i-repair-unresolved-not-accessible-links](/questions/149004/how-can-i-repair-unresolved-not-accessible-links)

Thanks in advance,

Eddie


Answers:
author: moxin
body: This is the issue [CONF-23393](https://jira.atlassian.com/browse/CONF-23393), it is still unresolved.
Template Default Choice?
Asked by hans-peter.geier:

I have a question related to page templates.  

<br />

<br />

If a space has only one template, and the user enters via "Add" -\> Page from template", I would like this template to be selected automatically. Currently the user has to select it although there is only one.

Has anyone spent a thought about this unnecessary click? Did anyone come up with a solution, e.g. a few lines of Javascript to set this button automatically?


Answers:
author: Rodrigo Girardi Adami
body: Hi Hans,

It seems that we have a improvement open for this already: <https://jira.atlassian.com/browse/CONF-3697>

It still not implemented unfortunately. I suggest to vote and watch to increase the chances.

I hope this helps you.

Regards,

Rodrigo

comments: author: hans-peter.geier
body: Thanks for the link to the jira issue.

I realise this request is almost 5 years old now, while several major release have happened since then. Although 63 people have voted for it meanwhile (probably representing hundreds if not thousands of users), it's still not considered. Sad.

I did vote for it as you advised, but I feel it does not really increase the probability that it will be done eventually.


Tags: template
How to preset a variable input field when creating a page from a template
Asked by hans-peter.geier:

Some of our page templates have input fields (variables) for a page-owner's name and a date. I like to preset these fields automatically with the name of the current user or the current date when the first screen of the template wizzard is loaded, prompting for these variables. I do imagine this is possible with a piece of Javascript. Possibly someone has already done this?  

<br />


Answers:
author: Daniel Borcherding
body: Hello,

We have following feature request for just this behavior.

<https://jira.atlassian.com/browse/CONF-1623>

Please feel free to visit the issue and add you own specific requirments. I will be adding this post to the ticket to furhter increase it's visibility to our developers.

comments: author: hans-peter.geier
body: gee, this issue is from 2004 ... Not much chance to get this done, huh?

Can you help to add some more affected versions? (3.x, 4.x, 5.x)

The current value of 1.1 will never attract anyone's eyes among developpers and project managers.


author: Daniel Borcherding
body: I've edited the issue to include your suggested affected version.


Tags: template

variable
Executing Confluence Cli-plugin ?
Asked by Nageswarara Rao:

Hi

I m trying to Run the **atlassian-cli-3.2.0**plugin using Command prompt

Trying to execute an Example Command for addspace , but it requires the followings parameters. Where should i specify these parameters

**D:\\Confluence-downloads\\atlassian-cli-3.2.0\>confluence --action addSpace --name**

**"samplespace" --home "My home" --userId "admin" --description "Space description**

**YYY"**

**Error: Parameter 'server' is required.**

**Error: Parameter 'password' is required.**


Answers:
author: Nic Brough -Adaptavist-
body: Same as the other parameters - add something like the below (obviously, replace my random strings with your server url and your admin password)

--server "https://yourconfluence.somethingrandom.com" --password "RandomPenguin"

comments: author: Nageswarara Rao
body: i tries it but again i got the following error

**Unable to log in to server: <http://localhost:8090/rpc/soap-axis/confluenceservice-v1> with user:admin.**

**cause:(403)Forbidden**


author: Bob Swift (personal)
body: You need to have the Remote API service enabled in administration -\> **General Configuration**


Tags: jira
Disable possibility of moving page to the space root
Asked by Sergey Shmarkatyuk:

In confluence it is possible to move page to the space root, which make moved page invisible for users. It happens when user does not specify 'New parent page' option on the 'Move page' dialog:

![](../../upfiles/move_page_dialog.PNG)

Any ideas about how could I disable possibility of moving page to the space root?


Answers:
author: Rodrigo Girardi Adami
body: Hi Sergey,

I've created this improvement request for you: <https://jira.atlassian.com/browse/CONF-28623>

Unfortunately I don't have a workaround yet, but we might create one in the future. I suggest to vote and watch the improvement request for details on that.

Regards,

Rodrigo

comments: author: Sergey Shmarkatyuk
body: Rodrigo, thanks for the prompt response.
Mail notification in Confluence 4.3.6 will not show page content
Asked by Lars Bjerges:

In previous versions of Confluence (pre 4.x) when watching a page with mail notification you would get the page content included in the mail.

Not anymore I m sad to say. The documentation, to my knowledge, does not mention this and I rasied an issue with Confluence Support regarding this (CSP-98280).

Has anybody seen this change in behaviour and/or does anybody have a solution to be able to have the old behaviour back?

Regards Lars


Answers:
author: AndrewA
body: For the original fucntionality, the following request was brought up with development and subsequently denied.

[Bring back option to show full context in notification emails](https://jira.atlassian.com/browse/CONF-28503)

However, there is a work around where we can alter the veloccity template to bring the fucntionality back to a certain extent. If we expand the \<conlfuence install direcotry\>/confluence/WEB-INF/lib/confluence-X.X.X.jar file we can then edit the templates/email/html/page-edited-notification.vm file so that the default watch functionality includes the entire page. To do so, change the showdiffs block from this...(may change depending on version)

```
#if ($showDiffs)        &lt;div class="email-diff"&gt;        #if ($diffHtml)             #parse ("/template/includes/page-diffs.vm")        #else            &lt;p class="aui-message error"&gt;                $i18n.getText('diff.pages.error.diffing')            &lt;/p&gt;        #end        &lt;/div&gt;    #end
```

To this ...

```
#if ($showDiffs)        &lt;div class="email-diff"&gt;        #if ($diffHtml)             #parse ("/template/includes/page-diffs.vm")        #else            &lt;p class="aui-message error"&gt;                $i18n.getText('diff.pages.error.diffing')            &lt;/p&gt;        #end        &lt;/div&gt;	 #else	&lt;div class="email-page"&gt;        	$viewRenderer.render($content.bodyAsString, $conversionContext)    	&lt;/div&gt;    #end
```

This is of course a customization and would need to be updated when Confluence is upgraded. Once the change is mad, re-make the jar with the altered velocity file and restart Confluence to see the affects. I hope this helps provide a viable option for you.

Cheers,  
Andrew Campbell


author: Joe Clark
body: Hi Lars,

Newer versions of Confluence should still contain a partial inclusion of the relevant page content in the notification mail. Are you seeing any page content in the mail at all?

If the page is particularly long, the email may prevent the full content of the page from displaying, but you should still see a snippet of the content.

comments: author: Lars Bjerges
body: Unfortunately I don t get any content att all except when I request changes in which case I get the actual comparison output.

The only thing I get is a set of links that can take me e.g. to the actual page. This however is not "good enough" since I have to be logged on to our network to get at the server which I am not if I recieve the mail e.g. on a smart phone.