youngmon/atlassian-qna huggingface dataset:
Setting Permissions on a Single Attachment on a Page
Asked by Zuber Khursiwala:

Hi

Is there any way to set permissions on a single attachment on a Confluence page e.g. there might be 10 word documents attached, and I want to restrict access to just one of them.

If there's no built-in functionality, does anyone know of a plugin that can do this?

Thanks


Answers:
author: joanna ransome-wallis
body: Can you add the restriction to the document itself instead of via confluence? <https://support.office.com/en-gb/article/Password-protect-documents-workbooks-and-presentations-ef163677-3195-40ba-885a-d50fa2bb6b68>

comments: author: Zuber Khursiwala
body: Hi Joanna, thanks I hadn't thought of this. To be honest it's not really what I want to do, but I will suggest it to my user who wants this functionality as a possible workaround.

Cheers
Put page content in a block
Asked by JM:

Hello,

I'm looking to go over all the pages on my Confluence install. Add a content-block macro and put the existing content of every page inside this content-block.

There is any way to achieve this goal ?

Regards


Answers:
author: JM
body: Sorry for the delay Maggie

Finally I did a script to go over all the pages and put the body in the block-content macro using Python + SOAP.

Thanks for your help.

Cheers,

Jose


author: Maggie Modersohn
body: Hi @Jose M,

Are you referring to the content block macro that comes with [Theme Press](https://marketplace.atlassian.com/plugins/com.brikit.themepress)? If so, simply turn on the Theme Press Theme on your existing Confluence Default Themed Spaces and your content will be inside one content-block macro.

Cheers,

Maggie

comments: author: JM
body: Hi @Maggie Modersohn

Yes, I'm talking about the content-block-macro of Theme Press. I have a lot of content and I want to put it inside the block to apply my CSS styles.

<br />

I'm talking also about existing content, no new content. If I create a new page, is themed by default, but I want to put all the existing content (thousands of pages) inside this block. I tried with your suggestions but is not wokring.

<br />

Thanks!

Jose


author: Maggie Modersohn
body: Thanks Jos? for clarifying! I thought you wanted to put all the content of one page in one block. I am afraid there is no programmatic way to put all the content of your existing Confluence instance into one single Theme Press block.

Help me understand what you are really trying to achieve, because I think there is a much easier way. If you're simply looking to style your existing content, you can create a Theme using the Theme Press designer (without custom CSS) and apply that Theme on all or only select Spaces. This way, all your existing pages will get your styling at the click of one (or two) buttons.

I'm happy to jump on a screen share if that's easier.

Cheers,

Maggie


author: JM
body: Hi Maggie it's a bit difficult..

This is my scenario..

Confluence A - A new confluence with a custom theme

Confluence B - My old confluence..

<br />

I moved all the content of my old confluence to the confluence A, but the content have the styles of the old Confluence. The only way to apply the styles is putting the content of each page in a content-block-macro linked to my css style.

So, I'm looking for a way to put the content of each page, inside a content-block-macro.

<br />

Regards


author: Maggie Modersohn
body: Any chance we can have a screen share? If not, can you clarify whether the custom Theme you are referring to ("Confluence A") is a Theme Press Theme and which Theme "Confluence B" is using? I'm asking because there are other ways to applying styles to your new environment, but I would need to know which Theme it is using.

Thanks!


Tags: confluence-administration
Is there a way to remove old likes but not disable the feature?
Asked by Helen Gosper:

On Confluence server (5.9) I have page likes from a large number of 'undefined' users due to importing content from a different instance, which continued different users.

I would like to remove the page likes but keep the functionality for future users. Is there away to do this?

thanks


Answers:
author: Steve Gerstner [bridgingIT]
body: Hi Helen,

you can do so, but you need to edit your database directly.

Do the following steps first on a testenvironment:

1. shutdown confluence
2. make a backup of your db
3. remove the likes from the database. You'll find them in the table LIKES and you need to get list of all bad usernames there
4. start confluence again

If all is fine, do it on your production as well. If somethin bad happens, use your backup.

Regards

Steve


Tags: confluence-administration
How do I disable dragging and dropping when viewing page content?
Asked by Josh Ginter:

*This question is in reference to Atlassian Documentation: [Using Drag-and-Drop in Confluence](https://confluence.atlassian.com/pages/viewpage.action?pageId=658737032)*

Right now it's very easy to accidentally attach files to confluence. (Someone accidentally drags to the wrong window.). I love being able to drag-and-drop when I'm editing a page, but when I'm viewing content drag-and-drop shouldn't attach the file (at least not without some kind of confirmation). I only want to be able to drag and drop if I'm on the attachment page or in the editor NOT when I'm simply viewing a page.


Answers:
author: 105349
body: Hey Josh!

Sadly, the Drag and Drop plugin is either enabled completely, or disabled completely. There's no way, as far as I know, to disable it selectively. ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")
put a button in confluence page to file a jira ticket
Asked by Steve Thomas:

How can I put a button in a confluence page to file a JIRA ticket?


Answers:
author: Alex Medved _ConfiForms_
body: You can take a look at ConfiForms add-on for Confluence, <https://wiki.vertuna.com/display/CONFIFORMS/Creating+JIRA+issue+with+ConfiForms>

It allows you to build up custom data entry forms and create nice integrations with JIRA


author: Boris Georgiev [Appfire]
body: Check this KB article <https://confluence.atlassian.com/jirakb/creating-issues-via-direct-html-links-159474.html>

The same problem is also dicussed here <https://answers.atlassian.com/questions/69668>
Confluence using AD for users and we have some missing
Asked by Jennifer Hall:

We are using Active Directory for authentication. If I log in as a normal user and search for about 5 people they are missing. If I log in as admin I can find them just fine from within the tool. As far as I'm aware they are brand new users to Confluence. I tried a full synchronization of AD and that did not fix my "view" for lack of a better word as a normal user when searching for them. Any ideas?


Answers:
author: 105349
body: Hey Jennifer!

Just out of curiosity, which DB and which DB version are you running Confluence on?

Thanks!


author: Jennifer Hall
body: PostgreSQL 9.0.3 We had to rebuild the index and now it's working.

comments: author: 105349
body: Awesome, good to hear!


Tags: confluence-administration
find all pages that have all content within html macro via SQL
Asked by ddeuber:

I found this useful link to find which pages are using the html macro.

<https://confluence.atlassian.com/confkb/how-to-find-all-pages-and-spaces-that-use-a-specific-macro-via-sql-747837116.html>

However, I'd like to know which pages have all of their content within the html macro (pure html). I can't seem to find way to automate this. Any ideas?

Also, I'd like to know which pages use the CSS macro. After creating a CSS macro, I see in the source code it's actually called "style", but when I modify my find html macro search (see link) from '%ac:name="html"%' to '%ac:name="style"%' my search results show many pages pages that have no CSS macro.

Thanks!

David


Answers:
author: SiriusXM Atlassian Administrator
body: Using SQL, I can find if a page is using the HTML macro. But I'd also like to know if the page has content outside of the macro, see source code example below. Any ideas?

\<p\>This text is NOT in macro\</p\>  
\<ac:structured-macro ac:macro-id="185a8ccb-162f-4846-9ab1-6a6fc252b4da" ac:name="html" ac:schema-version="1"\>  
\<ac:plain-text-body\>\<!\[CDATA\[this content is inside HTML macro\]\]\>\</ac:plain-text-body\>  
\</ac:structured-macro\>


author: Alex Medved _ConfiForms_
body: When you say the whole page is in HTML format, then it is still a Confluence page with the HTML macro for the whole content.

There are couple of alternatives to Atlassian HTML macro, might be you are using those...

You can check the storage format for a particular page to see what macro used to wrap the rest of the content and then move on from that...


Tags: confluence-administration
Paragraph is shown brown and underlined
Asked by Joe Mabel:

Any idea why a paragraph would become brown and underlined when I did not make it that way on purpose? No indication of such formatting when I'm in "Edit" mode.


Answers:
author: 105349
body: Hey Joe!

Give this a try first. Edit the page where you're seeing the weird formatting, highlight that portion, click on the icon on the toolbar that , and click **Clear Formatting**. Save the page and see what it looks like then.

Thanks!  
[](https://community.atlassian.com/t5/Confluence-questions/Paragraph-is-shown-brown-and-underlined/qaq-p/318473?attachment-id=11921){#link_11909494bef909}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/53795/1/Screen%20Shot%202016-05-26%20at%201.34.09%20PM.jpg){#display_11909494bef909_0}


author: Joe Mabel
body: Sure enough. I didn't think to "clear" formatting that was no visible in the WYSWYG editor.

comments: author: 105349
body: Hooray! Glad that it was that easy. :smile:

Please mark this as Answered if you're satisfied!


Tags: cloud

confluence-cloud
draw.io objects do not show when place inside Expand macro
Asked by DrewO:

When I place a draw.io drawing in side an expand macro, nothing shows up when i expand.


Answers:
author: David Benson _draw_io_
body: We've fixed this issue in today's release (5.5.1.1).


author: Avner Shahal
body: Seems to be in trouble back:

test-licence of draw.io, v7.1.1, in confluence v6.2.4

shoes the diagram in the edit-mode

does not show the diagram in the read-only-mode

the diagram is allocated inside of an UI-Expand-Makro, part of Refined Toolkit for Confluence

comments: author: Avner Shahal
body: Ok, looks solved in v7.1.2


author: David Benson _draw_io_
body: OK, glad to hear it. It should work fine in any 7.x version, I wonder if there was some caching problem on the first install.


author: DrewO
body: You guys are fantastic.

Thanks,  
Drew


author: David Benson _draw_io_
body: We can't show anything currently. The problem is we need text measurements to be correct. Inside an expand macro all text width is 0 when collapsed and we can't receive an event to be informed of an expand. We will look into it.


author: DrewO
body: Thanks David. It would be even nicer if there was a way to show a mini pre-view and then click to zoom... :smile:


author: David Benson _draw_io_
body: It's a known issue currently. We've investigated and didn't find a solution, but we will come back round to it and have another go.


Tags: cloud

confluence-cloud

draw.io

expand
Is it problematic to *move* the db from pg 9.0 to pg 9.3?
Asked by Trace Magill:

We are upgrading from 4.2 to 5.9. Our confluence db is hosted on a pg 9.0 server with other product dbs.

We want to migrate the db to another pg server that will be running 9.3. Is this problematic?


Answers:
author: J. Caldwell
body: It shouldn't be if your dba's know what you are doing. My recommendation would be to stand up your new instance and then use the XML import to make sure everything is done happily.

comments: author: Trace Magill
body: Thanks for the quick response! We will give it a shot.


author: J. Caldwell
body: It should go with out saying, but I will anyway.

Do it in test first.


author: Trace Magill
body: Always!


Tags: confluence-administration
Unreliability of URL structure in forums
Asked by Laura Morris:

Hi,

We have a forum where the URLs are being automated in two different ways and we're not sure why.

Some of them are appearing with this structure: /pages/viewpage.action?pageId=12345

While others are using this structure: /display/category/example-title-automated

As this is a confidential forum, we need all of the URLs to display in the first structure. At the moment they are about 50:50 between the two, but we can't see any difference in the way they're set up which would impact their URLs. It isn't an issue with URL reserved characters as this is inconsistent with the results we're seeing.

Thanks!

Laura


Answers:
author: Nic Brough -Adaptavist-
body: It's almost always down to odd characters in the name of the page (it's not url reserved characters, it's almost all punctuation!). Could you give us some examples of page names for ones that work and ones that don't?
Confluence 5.9 "Create" Button: Can it reference a template instead of blank page?
Asked by Paul LaBarbera Jr.:

image2016-5-26 9:30:9.png

Hi there,

Can I force this "Create" button to create based off of a global template, instead of creating a blank page?

In 5.8 I had promoted a page template in each space, so when users clicked Create, they were likely to choose that template. I lose that ability with the new Create function.  
[](https://community.atlassian.com/t5/Confluence-questions/Confluence-5-9-quot-Create-quot-Button-Can-it-reference-a/qaq-p/208063?attachment-id=8394){#link_1190958ad244b2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/35084/1/image2016-5-26%209%3A30%3A9.png){#display_1190958ad244b2_0}


Answers:
author: Damien Braz
body: Hi Paul,

We love our Confluence templates, and think they're really handy, but we also know that many pages start out blank. To save you time when creating blank pages, we're taking the process from 3 steps down to 1 with our new 'quick create' option. Instead of a single create button in the header, you'll now see two options: **Create (blank page)** and **Create from template**.

![](https://confluence.atlassian.com/doc/files/785333580/785333573/2/1449535034075/Split+create_Annotated.png)

Page templates and other content types are still easy to get to -- just choose the **Create from template** ![](https://confluence.atlassian.com/doc/files/785333580/785333574/2/1449535033974/Create+from+template.png) option in the header.

[Click here to see the complete Confluence 5.9 Release Notes.](https://confluence.atlassian.com/doc/confluence-5-9-release-notes-785333580.html#Confluence5.9ReleaseNotes-One-clickcreateforblankpages)

Best Regards, Damien.

comments: author: Paul LaBarbera Jr.
body: Yes, but can I change the default behavior of that "Create" button to create a page based off of a template?


author: Damien Braz
body: I don't really know... Probably looking at system options.. Can't help you more, I'm sorry :smile:


Tags: confluence-administration
Contact List and CRM plugg-in issue
Asked by Fabrice Galant:

Hello,

I'm testing the "Contact List and CRM" plugg-in on our QA system and I'm not able to see the Wiki pages where the contact is listed (using #contact) in the "Pages Mentioned On" field.

Any advice on how to debug?

Thanks in advance \& Regards,

Fabrice  
[](https://community.atlassian.com/t5/Confluence-questions/Contact-List-and-CRM-plugg-in-issue/qaq-p/430870?attachment-id=10930){#link_1186d9a30f8973}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/72986/1/image2016-5-26%2015%3A30%3A55.png){#display_1186d9a30f8973_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Contact-List-and-CRM-plugg-in-issue/qaq-p/430870?attachment-id=10931){#link_1186d9a30f8973_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/72986/2/image2016-5-26%2015%3A30%3A30.png){#display_1186d9a30f8973_2}


Answers:
author: Muhammad Rizwan
body: Post functions are only working in Classical projects, but in future gene projects you can manually trigger other actions with the problem eye. If you want to watch a demo, feel free to DM me.

Jira software seems to suit your projects in a more natural way, Jira core is typically used in more unused cases, e.g. for HR, management, [Zoho CRM consulting](https://www.techloyce.com/zoho-consultants/) of facilities, CRM.


author: Fabrice Galant
body: @Vadim Rutkevich \[StiltSoft\], Yes, I'm able to see the page and click on contact details from the page

image2016-5-26 15:30:30.png

image2016-5-26 15:30:55.png

Commenting here as I cannot add a new answer or comment!

Add-on V1.2.0

Server based: <https://confluence.lifevibesqa.nxp.com>

Confluence 5.7

Hercules didn't find any known problems in the following log file:

comments: author: Vadim Rutkevich
body: What Confluence and add-on version are you using? Please also take a look at Confluence logs (atlassian-confluence.log) and check it for any errors over the recent time.


author: Fabrice Galant
body: @Vadim Rutkevich \[StiltSoft\],

Updated the details in above post, any feedback?


author: Vadim Rutkevich
body: Fabrice,

I have tried this add-on and has not noticed any issues with the pages listed in the index. Try to contact the vendor, in my instance it works. I guess that you have some environmental problems, but without Confluence logs it is quite difficult to diagnose this issue.

Check that all modules of the add-on operate.


author: Vadim Rutkevich
body: Fabrice,

do you have access to these pages? Are contacts placed within some macro on these pages? Can you see any pages where the specific contact was mentioned?


Tags: addon-com.eckelmann.confluence.crmcontactlist
Apply blueprint to existing space
Asked by JM:

Hello,

There is any way to apply a blueprint to an existing space? I'm importing several spaces from a different Confluence Server and I want to apply the styles that I defined for this new instance..

Edit.. @Nic Brough \[Adaptavist\]

Hi Nic.

My scenario.

Confluence Server A - Spaces created with custom blueprint and styles.. The spaces don't have any content yet

Confluence Server B - A basic Confluence with the same spaces that Server A but full of content.

<br />

I would like to move the content from Server B to Server A but keeping the style applied by the blueprint.

<br />

I tried to copyPage with CLI but the pages keep the style from the Server B.. I would like to copy the content with the new styles defined in the server A.

<br />

Regards


Answers:
author: Nic Brough -Adaptavist-
body: No. Blueprints and templates are a way to pre-fill something a user then expands on. They're not guides for updating existing pages or spaces, they're used on creation and that's it.

comments: author: JM
body: Thanks for your quick response @Nic Brough \[Adaptavist\]

So, the only way is edit the entities.xml and edit the blueprints before the import ?


author: Nic Brough -Adaptavist-
body: Sorry, I don't understand what you're doing. A blueprint is used to create a space or set of pages, and a template to create a page. That has nothing to do with importing spaces from other systems - an import imports content from elsewhere. I don't know what you're doing with entities.xml at all.


Tags: confluence-administration
Error saving document in Confluence
Asked by Martin Hansen:

A colleague tried to save a document in Confluence, and got a system error stating the following:

org.springframework.orm.hibernate.HibernateSystemException: could not delete: \[com.atlassian.confluence.pages.Draft#15467641\]; nested exception is net.sf.hibernate.HibernateException: could not delete: \[com.atlassian.confluence.pages.Draft#15467641\]  
at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597)

caused by: net.sf.hibernate.HibernateException: could not delete: \[com.atlassian.confluence.pages.Draft#15467641\]  
at net.sf.hibernate.persister.EntityPersister.delete(EntityPersister.java:607)

caused by: net.sf.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for com.atlassian.confluence.pages.Draft instance with identifier: 15467641  
at net.sf.hibernate.persister.AbstractEntityPersister.check(AbstractEntityPersister.java:513)

<br />

Any clues to what the issue might be?


Answers:
author: Guilherme V.
body: From the stack trace it appears that two users were editing the same page at the same time. Is it possible to refresh the browser and try to edit it one more time?

comments: author: Martin Hansen
body: Thanks for your response, Guilherme.

You're most likely correct, he was able to edit the document after receiving the error. I should have drawn the same conclusion from the error as well. Too busy googling the error rather than just reading it carefully first.
space activity
Asked by Smadar Shnieder:

Hi all,

We are using Confluence on Cloud and recently added the space activity tab to have statistics such as pages that were viewed, searched, commented, liked, etc.

This tab enables that statistics, but limited. We would also like to have the ability to see who viewed each page, when and for how long. Unfortunately, the relevant add-ons regarding this matter are not available to Cloud version.

Is there another solution for that?

Thanks in advance,

Smadar


Answers:
author: Milo Test
body: I believe there is a way to integrate Google Analytics using the CYO Create-Your-Own macro, but be advised that you'd have to put the macro on each and every page for which you'd want statistics.

comments: author: Smadar Shnieder
body: Thank you, Milo, for you advise. We will look into it.


Tags: cloud

confluence-cloud
Dropdown at "Spaces" in Confluence dosen't work
Asked by Ina M?ller Vilstrup:

There is no dropdown menu when chosing "Spaces" in the top menu.

Yesterday I imported several Spaces from another cloud solution via Webdav.  
I cannot see whether they have been indexed.  

Can that be the reason?


Answers:
author: Ina M?ller Vilstrup
body: Hi I have checked the permissions and I have permissions to see the Spaces.  

The dropdown is not working at all, even if I didn't have permission to see the Spaces I should be able to see "Space directory" and "Create Spaces"

I cannot index manually in Confluence the possibility to do that is not vissible under "General configuration" and "Administration"

comments: author: Nic Brough -Adaptavist-
body: Ah, sorry, I didn't see the "cloud" part.

If there's nothing under spaces, then that suggests either permissions or a browser fault.

I doubt it's permissions, as the only time I can get a blank spaces menu is when I've been using Confluence and let it time-out so I'm effectively logged out. As you've looked at the admin screens, it's almost certainly not that, but I wanted to say that it's a symptom.

The other one is easy to check - can you log in with a different browser? Only temporarily to confirm that the fault is the same in a different one. If you get the menu in the new browser, then try clearing cookies and cache in the old one and restarting it. If you don't, then it's Confluence.  

A further diagnostic that's worth a try - find a distinct word in the stuff you imported and try searching for it - do you get any pages returned at all?


author: Nic Brough -Adaptavist-
body: Possibly. There are two things to check immediately

1. Do you have the rights to see the spaces? As an admin, you can administer them, but not necessarily see them automatically (admin rights are for admin, not general view). Go to the admin section and list the spaces in there - pick one and check that your account has "can use", either explicitly, or by being a member of a group
2. As you suspect, a space that has no index data won't appear. Try building the index after checking your access

comments: author: brbojorque
body: Cheers for the suggestion mate.


Tags: cloud

confluence-cloud