youngmon/atlassian-qna huggingface dataset:
Templates and table-formatting
Asked by Archer:

Correct me if I'm wrong, but it seems that, to create a template, one must use the Confluence WikiMarkup only.

HTML doesn't work, and some macros don't seem to work either.

What I'm wondering is if there is any additional formatting that can be used with tables to merge or format them.  
The Confluence documentation only lists the most basic markups;

```
||Header 1||Header 2|||Cell 1|Cell 2|
```

In most Wiki engines, you can use additional formatting, such as "\|\>\|" in TiddlyWiki, or basic HTML in MediaWiki.  
Does Confluence have something similar?

I'd love to be able to format tables I insert into templates, instead of having to alter them everytime, as it sort of beats the purpose; its faster and easier to copy the template off another, already formatted page.

Thanks for your time and help!


Answers:
author: Archer
body: Turns out <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros> did exactly what I needed.

Using the {table} macro, I was able to create the tables I wanted in my templates.


author: Enric Martinez
body: So, basically: We are either stuck with horrible formatting and not being able to decide on text alignment or merging cells (something pretty straightforward in any Wiki or Markup dialect) OR we can pay to install a plugin... Good if you have Jira installed on your laptop at home but not specially handy if you are working for a company and have to wait for a budget to be accepted to pay for the plug in and install it.

Or just forget about using tables. Also a good option, innit ;)


author: Bob Swift (personal)
body: You can use the csv macro from the table plugin <https://bobswift.atlassian.net/wiki/display/TBL>


author: softcrts
body: Hi,

You can use the plugin 'Easy Tables For Confluence', import data from csv and add formatting via a simple wizard.

[Here the documentation](https://softcrts.com/easytables/index.php)

And the app in the marketplace

[https://marketplace.atlassian.com/apps/1220484/easy-tables-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1220484/easy-tables-for-confluence?hosting=server&tab=overview "Here The plugin")


author: Mick Davidson
body: Gen,

You're right about that, tables are very limited and you have to use markup to create them. So if you want to create something basic, you can, but that's it.

What Confluence version are you using? We're using 4.2.5 and you can merge cells and do some other things in Edit mode, but it is fairly limited.

I believe that 4.3 has a lot more functionality for tables in Edit mode (from what I've seen I think you'll be able to do what you seem to want) and that you can use WYSIWYG edting on tables in templates. I think 4.3 comes out in September.

Cheers.


Tags: cloud

confluence-cloud
How can I add a floating header and footer to a wiki page
Asked by Skip Huffman:

I would like to add certain semi -fixed content to pages that will appear as a floating header and footer so that as the user scrolls through the page this content is always visible at the top and bottom of the page.

How can I do this?


Answers:
author: Nic Brough -Adaptavist-
body: [https://answers.atlassian.com/questions/56640/how-do-i-add-a-floating-header-and-footer-to-a-wiki-page](/questions/56640/how-do-i-add-a-floating-header-and-footer-to-a-wiki-page)
How can I display the contents of another page in a pop up window (or similar)
Asked by Mick Davidson:

Hello,

I'd like to display the contents of another page from the current page without embedding it.

So I don't want to use Include Page Excerpt as I don't want the content permanently displayed.

What I'd like to do is have a sentence that says something like:

*To see info on how to do this, click here.*

So when you click on the word 'here' a pop up window opens with the other page's contents displayed - this might be all of the page's content or part of it.

To close it I'm presuming you'd just click on the main page or a close button.

Any ideas?

Thanks in advance.


Answers:
author: Thomas Schlegel
body: Hi Mick,

with the Linking-Plugin (Makro link-window), you can open a link in a new Browser-Window: <http://wiki.customware.net/repository/display/AtlassianPlugins/Linking+Plugin>

Best regards

Thomas

comments: author: Mick Davidson
body: Thomas,

Thanks, without seeing it, it's a bit difficult to know if that's the solution, but it sounds like the right idea.

We're about to upgrade to 4.2, so once that's done I'll ee if I can get your plugin downloaded and see if it's the solution.

Thanks.


Tags: display

pop-up
Default space permissions for the creating user
Asked by Nicklas Kittelmann:

When a person creates a space in Confluence (in our OnDemand site), the default permissions set on the space is:

* The permissions set on /wiki/admin/defaultspacepermission/viewdefaultspacepermissions.action , and
* The user creating the space gets full access.

How do I prevent the indivisual user from getting full access to the space? (He will still have access through group membership, and that is ok)

What I really want is that no individual users get access to spaces, but instead that groups have access to spaces. That way, if a user no longer should be a Confluence administrator, then all I have to do is remove him from a group, instead of trying to check permissions for all spaces (which is about to become a really large amount of spaces).


Answers:
author: Nicklas Kittelmann
body: As Bruno said, this is not possible to accomplish today. I consider it to be a bug in Confluence.


author: Nicklas Kittelmann
body: Thanks for your answer.

Oh, the problem isn't to make sure that admin has full rights. That is set via the default space permissions.

The problem is that: What if the user that created the space is removed from the admin group? How do we find all spaces that the user created so that we can remove his individual permissions?

The point is that using permissions based on users are bad, and permissions based on groups are good. That way it's possible to just move a users in and out of groups to make sure they can do what they should be able to do.

And how do I find all spaces created in the last month or so, just so I can review the permissions set? Or do I have to go over ALL spaces every X time just to verify correct permissions?


author: Bruno Rosa
body: Hi Nicklas,

I'm afraid this is not possible to achieve. Whenever an user create a space in Confluence, the expected behaviour is that the user will be granted with full access to that space (since he is the one who created it). The only way I can see to 'prevent' this is to ask for the users to grant full access to the 'admin' user of the environment whenever they create a space. Then, you will be able to manage the permissions of the space and retrieve the full access of the user who created it. Thus, the user will be able to access the space just by being in some group that has permission to view the space (or any other permissions you have granted to that group inside this space).

<br />

Hope it helps.

Cheers,

Bruno Rosa


Tags: cloud

confluence-cloud

permission

space
Problem with confluence plugin page
Asked by Breed Jaram:

I have a problem with confluence plugin page. This page is shown but I see alert ,,Unauthorized. Reloading page,, and page is still reloaded. see attachment.

What can I do with this?

Thank you


Answers:
author: Frantisek Buhn
body: Cool, deleting the Cookies works! Thx.


author: Stephane Winnepenninckx
body: OK, found how to get out of the problem: deleting the cookies.

I was on MacOSX Firefox opened the Confluence site on my server then cleaned the path Cookies.


author: Stephane Winnepenninckx
body: I have the same problem, I even changed browser and got the same problems after visiting the "Plugins" section in the Confluence Admin. The latest thing I did was trying to install "Timesheets plugin for JIRA" in JIRA, on the same server but not linked. If my memory is OK :(


author: Joerg Bencke
body: That happens when you "lost" your admin-session information, e.g. due to a timeout. Try signing into the admin-section in a second tab and reload the page in question.   

If you can work other "admin" pages but not the plugin manager section, that would be a bug, I guess. Try downloading the manager manually and installing it via directory-placement and place a bug in confluence-jira.

Oh, and post the solution here :)

Good luck hunting
Page is not displayed after install the Confluence Archiving Plugin 1.2
Asked by Oliver Deng:

I install the Confluence Archiving Plugin 1.2 for cnfluence 3.5.13,when i open a space and want to use the Archving by the tab,there is nothing on this page,IE8 and firefox i have tried.  
Could you do some investigation for this?


Answers:
author: Midori
body: please **open a support ticket at Midori** 's support tracker: <https://midori.zendesk.com/home>

we are there to help with technical and non-technical question.


author: Midori
body: Please upload your Confluence log.


Tags: addon-com.midori.confluence.plugin.archiving
How do I delete many (or all) Comments on a Confluence Page?
Asked by Andreas Haaken:

We have several very long discussions on a Confluence Page, that we want to have deleted, after the things are finailzed. Is tehre a comfortable way to do this?


Answers:
author: Alexey Matveev
body: Hello,

You could use the Power Scripts for Confluence add-on:

[https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview)

I've found Power Scripts for Confluence really handy for Confluence admins who want to automate their work and apply bulk actions to Confluence. And it is a free add-on:

You could get all comments for a page and then delete them. Your script would look like this:

    number pageId = 123456;
    CComment[] comments = getComments(pageId);
    for (CComment comment in comments) {
        deleteComment(comment.id);
    }?


author: Steffen Stamprath
body: With this plugin it is easy: <https://marketplace.atlassian.com/plugins/aptis.plugins.deleteAllComments>


author: Priyanka Lavania
body: Hi Andreas,

You can do it using built in scripts from script runner to bulk delete comments from one or more pages, you can also specify comment age or delete all. Hope this helps.

See this for more details: - <https://scriptrunner.adaptavist.com/5.0.5/confluence/builtin-scripts.html>

Regards,

Priyanka Lavania


author: Matthew J. Horn
body: How about create a page that uses the SQL plugin. That would give you access to the comments.


author: Andrew Frayling
body: Hi Andreas,

You could do this with the Confluence Command Line Interface plugin - <https://marketplace.atlassian.com/plugins/org.swift.confluence.cli> - which has a removeComments (<https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-removeComments>) command.

Would that work for you?

Andrew.

comments: author: Andreas Haaken
body: Thank you, but that will not be comfortable enough for our authors, as they need a web based way to do this..


author: Andrew Frayling
body: Ah, ok. There are couple of open feature requests (<https://jira.atlassian.com/browse/CONF-3902> and <https://jira.atlassian.com/browse/CONF-5023>) relating to bulk deleting comments via the web interface, but they haven't been implemented yet. Alternatively, anyone with the remove comment permission on a space can delete the comments one by one.

Andrew.
Two Way Syncing of Team Calendars
Asked by Jim Randell:

I want to have a Team Calendar that I can read and write to from inside Confluence, as well as a desktop calendar app (Thunderbird/Lightning, iCal, or some other desktop client which integrates with my email for events/invite).

I have tried a CalDAV server, where both Team Calendars and Desktop Calendar App sync to a common calendar, but it breaks when I start sending invites from email.

I have tried Google Calendar, where both Team Calendars and Desktop Calendar App sync to a common calendar, but Google Calendars don't update Team Calendars (I understand if you wait 12-24 hours, it would, but that is a completely un-usable solution).

Has anyone out there gotten this to work?


Answers:
author: Jean-Marc Lehwald
body: Can anyone give an answer to this? Support is also not answering.

how can you develope a calendar without caldav integration? that makes the thing completely useless for not a small amout of companys only. Is there any solution for this?


author: Jenny
body: We're excited to announce that we've now shipped two-way syncing (CalDAV) between the Confluence Server version of Team Calendars and your preferred calendar app.

Check out the [6.0 release notes](https://confluence.atlassian.com/teamcal/team-calendars-6-0-release-notes-947182030.html), or our [subscription documentation](https://confluence.atlassian.com/teamcal/subscribe-to-and-from-team-calendars-273285883.html) for more details.


Tags: calendar

google-apps

team-calendars-for-confluence
Find inactive Confluence users when using Crowd and PKI authentication
Asked by William Wells:

We're using a suite of Atlassian tools integrated with Crowd and PKI to login. Some of our users do not ever update any information in Confluence, but use it to just search information. We are about to reach our max user limit for Confluence and need to find a way to identify how many inactive Confluence users we have without deleting users who are just doing a search. Is there any way to identify this information?


Answers:
author: Andrew Frayling
body: Hi,

You can do a check for when a user last logged in. I wrote a user macro to do that a while back, details at <http://blog.networkedcollaboration.com/2012/02/11/confluence-last-login-user-macro/>

Would that work for what you want to do here?

Andrew.


author: Andrew Frayling
body: Hi,

You can do a check for when a user last logged in. I wrote a user macro to do that a while back, details at <http://blog.networkedcollaboration.com/2012/02/11/confluence-last-login-user-macro/>

Would that work for what you want to do here?

Andrew.
AD Group Members not being recognized on Confluence 3.5.13
Asked by Bob Bob:

Hi:

We just upgraded to Confluence 3.5.13. We have a problem.

We had a page that was restricted to viewing for one group only, from our Active Directory. Before the upgrade any member of the group had view access to that page and its children. After the upgrade none of the Group's members could view the page. When we removed the restriction, the page was viewable.

When we set the restriction back to that group two things happen.

First, none of the members of the AD Group could view the page in question

Second, I, the administrator, was given view rights as a distinct person, without ever electing to do so. Assigning me view rights seemed to be automatic.

.Thanks in advance for any help and direction anybody can provide to solve this problem of AD Group members accessing a restricted page.

Bob


Answers:
author: Bruna Griebeler
body: Hi Bob,

It's important to check Confluence Admin\> Global Permissions and be sure that this AD group has the proper rights to access Confluence. Also, make sure that the users inside this group are also inside confluence-users group.

Hope it helps!


Tags: active-directory

group
[graph-from-table] display generated DOT code
Asked by Sascha Herfort:

Hey guys!  

I'm currently working with the graph-from-table macro, to quickly iterate on a DOT graph with our department.  
Once we're done, we'd like to export the graph, to further refine it in an external software and put it back onto the page as an image.  

To do that, I need access to the DOT code that the graph-from-table plugin generated from my table.  
Is there a way to extract this information?  

<br />

Thanks!  
-Sascha


Answers:
author: Bob Swift (personal)
body: Updated: Yes, use **showWiki=true.** This parameter was not documented properly on the [Graph-from-table Macro](https://bobswift.atlassian.net/wiki/display/GVIZ/Graph-from-table+Macro) page. That has been corrected.


Tags: addon-com.atlassian.confluence.extra.graphviz

atlassian-marketplace
No more special characters in space keys?!?
Asked by Lukas Karrer:

Hi all

I do not know if this is a fetaure or a bug. Since we upgraded from 3.x to 4.x, confluence does not allow us to use any characters other than A-Za-z0-9 in space keys.

Unfortunately, I can not find any documentation about this behavior. Is this intended?

It is a pitty that upon allowing alls characters in page names, space keys move one step backwards :-(

Thanks for any clarification

Lukas


Answers:
author: Martin Mitry
body: Hi Lukas,

A-Z, a-z, 0-9 were always the only characters allowed for spacekeys. This has not changed in 4.x.  

Here is the relating documentation:

**Space key:** A simple key to identify your space (A-Z, a-z, 0-9). This key is a shorthand name for the space, used when linking content between spaces, for web URLs and for reports. For example, a 'Development Space' might have a space key of 'DEV'. The space key must be unique within the entire Confluence site

for 4.2:<http://confluence.atlassian.com/display/DOC/Setting+up+a+New+Global+Space>

for 3.4:<http://confluence.atlassian.com/display/CONF34/Setting+up+a+New+Global+Space>

for 3.5:<http://confluence.atlassian.com/display/CONF35/Setting+up+a+New+Global+Space>

Do you have spaces with a spacekey with other then the allowed characters?

Cheers  
Martin
Reference guide for Confluence
Asked by Rumceisz:

Hi All,

I start to write confluence user macros. Where can I find the reference?

Thanks,  
Rumi


Answers:
author: Andrew Frayling
body: Hi Rumi,

What do you mean by reference? As far as I'm aware there isn't a single reference, you have to piece things together from different sets of documentation.

In addition to the links Thomas has provided I would look at <https://developer.atlassian.com/display/CONFDEV/Confluence+Objects+Accessible+From+Velocity> and the API at <http://docs.atlassian.com/atlassian-confluence/latest/> to see what objects and methods are available for you to use in your user macros.

Andrew.

comments: author: Rumceisz
body: Hi Andrew,

thanks for the suggestion!

I mean reference for instance regarding the space permission types: VIEWSPACE, COMMENT, etc.

Rumi


author: Thomas Schlegel
body: Hi Rumi,

look here:

<https://developer.atlassian.com/display/CONFDEV/Confluence%20Plugin%20Guide>

<http://confluence.atlassian.com/display/DOC/Writing+User+Macros>

Best regards

Thomas

comments: author: Rumceisz
body: Hi Thomas,

I know these sites but it these don't have reference guide.


Tags: macro
How can i change the color of browse and user option when hilighted?
Asked by poonam chaudhari:

I want to change the text color of browse when i hover over it.bydefalut it is white.I am trying to change the color of menu item selected text through customising color schemes but not able to change the color of text.


Answers:
author: Martin Mitry
body: * You can change this by navigating to: Dashboard \> Administration \> Look and Feel \> Colour Scheme (\<server\>/admin/lookandfeel.action)

<!-- -->

* If this is not allowed on the onDemand Service you can try changing the styesheets: Dashboard \> Administration \> Look and Feel \> Global Stylesheet:  

  ```
  /* hover effect */#header .ajs-menu-bar li.ajs-menu-item a:hover {    color: #FF00FF;}
  ```

Documentation:  
<http://confluence.atlassian.com/display/DOC/Customising+Look+and+feel+overview>


Tags: cloud

confluence-cloud
Attachment workflow query
Asked by Ishtiaque Omar:

Hi,

We use Confluence as the software for our intranet. We're trying to set up a section as the Knowledge Bank. It's expected to capture mainly Word and PDF files. For our many non-techy users, we were hoping to set up a workflow that allows them to create a page, specify details of the doc they're updating and upload the doc. We are finding that last step difficult to fit into a structured workflow.

We have set up a template with a prompt for the page name, and fields that the user can fill in for document details, but when it gets to uploading the document we are relying on placeholder text that directs the user to use the Add \> Attachment functionality. What I'd like to do is to have the {attachments} macro show up after the user has saved her page (which itself contains a prompt to attach files), or have a link to attach a document in the fill in fields stage (though I understand that isn't possible until the page has been saved - creating a page ID).

I attach some screenshots of how we have the functionality set up at the moment.

Any ideas are much appreciated.

Cheers, Ish

![](../../../upfiles/workflow1_1.png)

![](../../../upfiles/workflow2.png)

![](../../../upfiles/workflow3.png)


Answers:
author: Ishtiaque Omar
body: Whoops, looks like I can't attach screenshots. n/m.
How import data from Confluence database dump into Atlassian OnDemand
Asked by Nico De Vos:

Hello,

I have a database dump of the data from on older version of Confluence standalone version that was running on one of our servers.

Can I migrate the data from that database dump into the Atlassian OnDemand Confluence?

Kind regards

Nico De Vos

Foundation.be


Answers:
author: Thomas Schlegel
body: Hi Nico,

this should work under special circumstances. Look here: <http://confluence.atlassian.com/display/AOD/Importing+wiki+data>

But it will not work with a database dump. You have to setup a local confluence instance with this database, update it to the same major version as the On-Demand-Instance and then export your spaces and import them to the on-demand-instance space by space.

Best regards

Thomas

comments: author: Nico De Vos
body: Hallo Thomas,

Thanks for your answer, but the answer to my problem is not in the refferd link.

I will explain my problem in more detail:

I've got only a backup.sql file from an older Confluence standalone version that was running on one of our servers. So what I want to do is to restore the data on a On-Demand-Instance. The confluence on the server isn't running anymore, so I've got only the sql-file to work with.

Kind regards,

Nico


author: Nic Brough -Adaptavist-
body: I don't think they support import from a database dump. You can, of course, ask Atlassian support, but I really think Thomas is right - they'll want your XML.

Again, as Thomas says, there's an easy fix - create a new confluence, run your SQL into it, then export the XML.


Tags: confluence-cloud

data-source

database

migration
Upgrading Confluence 3.5.1 to 4.2.2 fails while dropping 'contentlock' table
Asked by Neeraj Sharma:

Hi,

I am trynig to upgrade confluence 3.5.1 to Confluence 4.2.2

While running the upgrade, it fails while dropping the 'contentlock' table.

Error indicates that table 'contentlock' doesn't exist and hence upgrade fails while dropping the table.

Has anyone else faced this issue? Is there any known bug for the same?

Thanks,

Neeraj


Answers:
author: JamieA
body: I had the same problem when upgrading from 3.4.9 to 4.2.2, on oracle. I worked around this by just creating an empty contentlock table. I don't know the purpose of this table but the upgrade proceeded OK after doing that.