youngmon/atlassian-qna huggingface dataset:
confluence attachments
Asked by James Lim-It:

Hi,

is there another way to know the file names of the attachment files found in the actual attachment folder in confluence? the folder contains bunch of folders with numbers as foldername, and inside are files without file extension. now, i am guessing that this is where all the attachment goes because I found the path in confluence admin \> configuration \> attachment storage.

I also have access to the database and I can do some SQL queries if need be.

What I have done so far:

\> do a query in the backend  
- select attachmentid from attachments where title = 'filename.jpg'

\> search the attachmentid in the physical folder.   

But I am still not able to find that file. I am now thinking that I may have permanently deleted the file or my method in doing this is incorrect.

Any input is greatly appreciated.

Thank you,  
James


Answers:
author: Amalia
body: Hi James, you can refer to the following documentation which explains how to find this file: <https://confluence.atlassian.com/display/DOC/Hierarchical+File+System+Attachment+Storage>


author: Michael Rieger (Scandio)
body: And you can use the following SQL to query for all attachment paths for a given spacekey:

```
select '/ver003/'       || cast(substring(cast(spaceid as VARCHAR), length(cast(spaceid as VARCHAR)) - 2, 3) as INT) % 250       || '/'       || cast(substring(cast(spaceid as VARCHAR), length(cast(spaceid as VARCHAR)) - 5, 3) as INT) % 250       || '/'       || cast(spaceid as VARCHAR)       || '/'       || cast(substring(cast(pageid as VARCHAR), length(cast(pageid as VARCHAR)) - 2, 3) as INT) % 250       || '/'       || cast(substring(cast(pageid as VARCHAR), length(cast(pageid as VARCHAR)) - 5, 3) as INT) % 250       || '/'       || cast(pageid as VARCHAR)       || '/'       || contentid       || '/'       || version  as path, spaceid, contentid, title, pageid, versionfrom contentwhere contenttype = 'ATTACHMENT'      and spaceid = (select spaceid from spaces where spacekey = '&lt;SPACE_KEY&gt;');
```
Problem with ampersand in 5.1.5
Asked by Luk Truyen:

Hello

Every link with a "\&" in the link gives an error message: "[Error: The XML content could not be parsed. There is a problem at line 1, column 713. Parser message: Unexpected character ' ' (code 32) (missing name?) at \[row,col {unknown-source}\]: \[1,713\]](http://phevos.win.local/pages/createpage-name.action?templateId=75038733&parentPageString=App_AX&name=App_AX_PresentatiesFlyers&spaceKey=applicaties&fromPageId=63439035&live=false&templateName=TMPL_APP_05_FLYERS "Create Page: App_AX_PresentatiesFlyers")" What can we do in this case to solve the problem? Replace every "\&" by another character manueally is not an option.

I already posted this issue before for version 5.2. There I got the reaction that this version currently is not supported yet. But now I also have this version in the "supported" 5.1.5 version of Confluence.

Regards

Luk Truyen


Answers:
author: hsuhailah
body: Hi Luk,

The error code 32 missing name is similar to the problem documented here: <https://confluence.atlassian.com/display/CONFKB/Error+after+upgrade++-+The+XML+content+could+not+be+parsed>

I think it's related to your issue. Check out the diagnosis section as it will help to determine if you're indeed hitting the same problem and if that is the case, you can apply the suggested resolution.

All the best!


author: LucasA
body: Hi Luk,

I believe that this issue needs a more detailed investigation. Please raise a support ticket at <https://support.atlassian.com> .

Cheers,

Lucas Lima


Tags: content
Improving pages in a knowledgebase
Asked by David Stokes:

Hi

I've got a knowledgebase set up in Confluence that helpdesk staff can use to find answers to questions from users calling the helpdesk. We want some way to identify pages in the knowledgebase that need further work to improve the information so that it's more likely that the helpdesk staff will be able to find the information they require.

What we are wanting to know is for each of the calls that the helpdesk staff member takes whether the page in the knowledgebase does or doesn't answer the question.

As an example, we've got a page that includes information about parking facilities. So if the helpdesk person gets a call regarding parking, they'll go to that page to find the answer to the question. In some instances, it may have the information being requested, but in other instance, the information may not be there.

I've tried the functionality that allows end users to vote on specific pages or using the Content Survey and Reporting add-on to get feedback from the individual users. However, this functionality is based on the assumption that end users are accessing the knowledgebase and voting on pages. The key point is that they only allow a user to vote once on a page - once they have voted, they can't vote again. But in the situation I've got where it's not individual users but a number of helpdesk staff. We would need to allow the helpdesk staff to vote multiple times on the same pages.

I'd appreciate any thought's from the Atlassian community.

Thanks in advance!

Cheers  
David


Answers:
author: David Stokes
body: OK - this is where I've got to:

* I tried out Adaptavist's Survey plugin and it seems it would do the job. But each page in the knowledgebase would have to have it's own survey associated with it, ie: lots of surveys.
* Then I stumbled accross the JIRA Issue Collector (the reason why I didn't know much about it is that it's not possible to to use it with Confluence OnDemand which is what I normally use.) For those of you who haven't used it, it allows you to have a button in JIRA or on a Confluence page that allows you to create a JIRA issue to collect information, in this case, getting feedback from the user.

Dear Atlassian

It would be very much appreciated if you could have someway to have an Issue Collector appear on a Confuence page in Confluence OnDemand. I know that it's due to some security issues, but given they are both your products, it would be good if you had some way to achieve this.

Thanks

David


author: Jason Plumhoff
body: We had a similar problem with our documentation hosted in Confluence. We don't let our customers modify our docs. Instead, when someone reports an issue where the information they are looking for is missing or incorrect, we just add it as a comment. Our tech writer is a watcher on all pages, so he sees the comments and makes the appropriate fixes. Note that in our system, comments aren't visible to non-company users. We originally thought about adding a label like 'needs-fix' to make it easier to search for pages, but the watch feature turned out to be sufficient.
How to restore an exported XML confluence space to a new location?
Asked by Eric Blair:

Hi,

I have exported a partial space ( a page with a page hierarchy beneath it) and its content, through the Confluence Export to XML function.

Now I'd like to restore that to be a child of a different page.

Is that possible and can I do it without access to the confluence server machine, ie, I have the xml export file locally.

Thanks!


Answers:
author: Jositz, Michael (Allianz SE)
body: I have the same question in a slightly different aspect:Is there a way to selectively import pages from an xml exported file?Anybody who has an idea how to handle that?


author: Eric Blair
body: By the way, I'm looking for any other way to do this. Doesn't have to be with XML export/import.


Tags: export

import

xml
Deleting a page
Asked by soniya Patel:

I cant delete the pages i created on Confluence. Can you please check my permissions? Thanks.


Answers:
author: soniya Patel
body: Thanks Nic.


author: Nic Brough -Adaptavist-
body: We can't really help you. It is your wiki with your settings and we have less access than you do. We are a community of end users, not tech support.We can do advice though. You need to talk to someone who has admin rights on your space - they will be able to grant delete permissions to your account


author: HosseinA
body: Hi,

Are you hitting into any errors while trying to delete pages?

Regards,

Hossein
Spaces within a space?
Asked by Michael Monette:

We have 2 confluence instances. We are trying to merge them together. So far in testing we have upgraded the old confluence to the same major version and managed to import some spaces to the new, which is great.

But the thing is, we do not want to just pollute the new Confluence instance with old and outdated data.

Is there any way we can move all the spaces from the old confluence into one central space in the new confluence?

For example this is the space structure of the old instance:

Reports\\Pages

Accounting\\Pages

Human Resources\\Pages

We would like to have it show up like this in the new instance:

ARCHIVED\\Reports\\Pages

ARCHIVED\\Accounting\\Pages

ARCHIVED\\Human Resources\\Pages

So if we need to get some information that was on the old wiki, we would go into the ARCHIVED space, then within that space we would see even more spaces, which then contain the pages/data.

Is anything like this possible? Layering spaces? Thanks for any help or suggestions.


Answers:
author: Amalia
body: I think this plugin would do just that: <https://marketplace.atlassian.com/plugins/de.communardo.confluence.plugins.subspace>


Tags: merge

space
Configure atlassian plugin's with my ecplise?
Asked by tousifs:

Hi all,

How to configure atlassian development enviornment in my ecplise

please let me know.

regards,

tousif shaikh.


Answers:
author: Nic Brough -Adaptavist-
body: Start with <https://developer.atlassian.com/display/DOCS/Set+up+the+Atlassian+Plugin+SDK+and+Build+a+Project> - there are some general guidelines, and then some sections specific to setting it up with Eclipse.

comments: author: tousifs
body: thank's but i am looking to configure atlassian development enviornment with "myecplise".


author: Nic Brough -Adaptavist-
body: Those documents are valid for your Eclipse. Unless you mean something other than Eclipse? (In which case, they're still pretty much valid - they work fine for Kdevelop and Geany here)
Three notifications are getting triggered for single page update when descendent plugin is enabled
Asked by l:

We have Descendent Notification Plugin version : 1.3.6 installed in our Confluence 4.3.7server.

For some page updates, three emails are getting trigerred for each page updates for all watchers.

If plugin is disabled, the behaviour is normal and only one email is getting triggered.

Plaese suggest any solution


Answers:
author: MB
body: Judging from [this page](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.descendentNotification) you can [contact the developers of that plugin](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.descendentNotification/version/302/support) which might give you a faster response.
Wrong styles used in the TOC
Asked by Mauro Molinari:

Is there a reason or am I making any mistake for which I see my TOC with wrong styles for some of the paragraph titles? See, for instance, 2.2.1, 2.3 or 3..

I carefully checked my document but I couldn't find any special for those headers: they are normal lines with one of the Header style applied, like all the other paragraph titles...

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


Answers:
author: Mauro Molinari
body: I found a workaround. Elaborating on Mick's suggestion, I did some more tests on the formatting of those headings. The first thing that I discovered was that if I removed the Heading 1 style from paragraph 3. title ("Requisiti dettagliati"), that line, alghough becoming a Paragraph line, still displayed with a huge font size (compared to the standard Paragraph font size). I don't know how that was even possible, since I'm using the plain Confluence editor (so, neither HTML nor wiki markup written directly) and I don't even find a way to augment the font size with this editor...

Than, I found out the "Clear formatting" option in the "More" decoration button and applied it on my heading and... voil?! Now the TOC is rendered correctly!

Thanks for your help!

comments: author: Mick Davidson
body: Mauro, excellent, well done!


author: Mick Davidson
body: Mauro,

Can you access the HTML in Edit mode? If so, have a look at that too. I've found that sometimes the HTML goes wrong and if you edit it, everything looks as you want it too. This might be a bit of a long shot though. You can access it using the \<\> button in the tpo right corner of a page.

Cheers.

comments: author: Mauro Molinari
body: Hi Mick,

I actually tried to have a look at the HTML code some days ago, but I must confess I didn't go into it thoroughly, because I found it very verbose and nothing evident drew my attention.

If it happens again, I may try to look at it more carefully, so that I might understand how to reproduce this issue.

Thanks again!


author: Amalia
body: Have you tried [clearing customization](https://confluence.atlassian.com/pages/viewpage.action?pageId=314447086)? I'd recommend doing this in a test instance though, or perform a database backup before proceeding.


author: Mick Davidson
body: Mauro,

I've had this too, the problem was being caused by the formatting applied to the heading. IE, in my case, someone had added BOLD to a heading. The TOC macro picked this up and rendered the bold as well as the standard formatting and this was all displayed in the TOC.

I'd check that before getting too involved in more complex ideas.

Cheers.

comments: author: Mauro Molinari
body: Thanks Mick! I also thought about having bold applied, but this is not the case. I double checked right now and I confirm bold is not there. I also have tried to "reset" the heading by adding + removing bold, or by removing + readding the Heading style, with no luck...
Auto update or clone page in confluence.
Asked by Henric Johansson:

Hello.

In Confluence we have gathered all our documentation in one space, but now we want to give a select customer access to a specific page, for the API they want to use. Now, I dont want to give them access to the whole space since they will ayomatically get access to all new nodes on that even if I close all the other pages and their children.

I could create a new space and have this documentation there, but then it will be separate from the other documentation. I tried the "include" macro, but the content was restricted, of course.

Right now I have just copied the page to a new space, but that is not the long term solution I am looking for. Does anyone have a solid solution for this? Maybe an add-on that updates clones of pages automatically or something?


Answers:
author: Henric Johansson
body: There seems to be no good solution to this so I have resolved to move the pages to a separate space, and include them in the restricted space.


author: CharlesH
body: The Adhoc workflows plugin from Comalatech would be one approach here. You could tag the pages you want to share, then the workflow would recognize these and you would have control as to what is shared with your customer, and when. You could proceed in 2 ways:

1) "Publish" such pages to share them with the customer, while anything in "draft" would remain hidden to them (a particular workflow setting controls whether drafts can be seen by everyone or not).

2) "Remote publish" the pages, either to a 2nd Confluence instance, or to another space in your current instance which has the appropriate space permissions to give access to your customer. This would allow you to keep your current space private to internal users only.

More info here:

<https://wiki.comalatech.com/display/AWP/Space+Configuration>

<https://wiki.comalatech.com/display/AWP/remotepublish-page>

comments: author: Henric Johansson
body: Thank you for your feedback. Yes, that would seem to do the trick, although it is a bit too pricey for just the small feature I am after.


author: Michele Lim [Cprime]
body: Hello [@Henric Johansson](/t5/user/viewprofilepage/user-id/671154)!

We have recently made a free plug [Power Scripts for Confluence](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview) which you can download from the Marketplace to help automate Confluence administration, one of the features is cloning spaces/pages. Here's a short video on how to do it <https://youtu.be/9xhEWALyvro>

Hope this helps!

Michele

comments: author: Benjamin Feagin Jr
body: Power Scripts requires access to the Admin Console on Confluence, so it is not a solution intended for general users, unfortunately.


Tags: confluence-administration
How to delete a page
Asked by Patrick van Vugt:

We have several pages in our space that need to be deleted, but I cannot figure out how to delete a page. I don't see any option for that.

Where can I find this?


Answers:
author: Abdoulaye Kindy Diallo
body: Further info on this:

* <https://confluence.atlassian.com/display/AOD/Deleting+a+Page>
* <https://confluence.atlassian.com/display/AOD/Deleting+a+Space>

comments: author: ?yvind ?deg?rd
body: Link is broken.


author: St?phane Veraart (Devoteam)
body: For now this is the correct link: <https://confluence.atlassian.com/confcloud/delete-restore-or-purge-a-page-724764873.html>


author: Sharon Tan
body: Here's the equivalent documentation for self-hosted for those interested: <https://confluence.atlassian.com/doc/delete-or-restore-a-page-139429.html>


author: RambanamP
body: check the 'Delete Pages' permission on [Space permissions](https://confluence.atlassian.com/display/AOD/Space+Permissions+Overview).

check this document for more information

<https://confluence.atlassian.com/display/AOD/Deleting+a+Page>


author: Mick Davidson
body: Patrick,

Go to Tools/Remove. This puts it in the bin, but doesn't delete it. it no longer appears in the tree.

To delete it you have to go into the Space Admin area, find the Trash page and delete it from there.

Note that when you Remove a page you should remove it's labels too as these will still be picked up by some macros and appear/be used on the pages that have the macro.

Cheers.


Tags: cloud

confluence-cloud
User comments in a page
Asked by Nik Bishop:

Hi,

I want to better utilize Confluence for meeting reports and minutes.

If I create a page for a business report, then users can only comment in the footer of the page. This is not convenient since the report covers many different sections or paragraphs (but it is not convenient or practical to split the report into different confluence pages.

Is there a way to have user comments anywhere on the page? For example if I create a two column table, I could put the report in the left hand cells and then this would allow users to comment on these items in the right hand cells.

I have tried and failed with various suggested plugins to no avail - any ideas welcome!


Answers:
author: Nik Bishop
body: Thanks for the feedback.

Editing inline wouldn't be so attractive as comment boxes (my audience aren't necessarily tech savvy so I could change permissions to allow them to comment only - otherwise they may delete or edit the entries which I am not so keen on...

Yes, tried the Talk plugin, but it wasn't really working right for us either....


author: CharlesH
body: Hi Nik

There is an open feature request to support inline commenting (like many other authoring tools offer). Please vote on it if this feature is important to you. Hopefully we can get it on the Confluence development roadmap if Atlassian are aware what a great improvement this will deliver to users. I'm sure there are way more people interested in this than the current 81 votes suggests.

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

Did you try the Talk plugin? We did, and found it unsuitable for our needs, but it seems the next best thing to proper inline comments.

Thanks,

Charles


author: Henric Johansson
body: Can they not edit inline? Using a different color for visibility, although you would see the changes in history?

There might be a plugin to inject comments.


Tags: confluence-administration

inline-comment
WorkFlow Plugin for Confluence 4x.
Asked by tousifs:

Hi All,

I am using WorkFlow Plugin for Confluence 4x.

as a query i would like to know.

I have associated workflow's for all space's. while copying space does work flow also get's copy?

while publishing same space it throw's lot of exception in log.

please help me.

refer below log.

**"\[comalatech.confluence.workflowcontainer.DefaultWorkflowContainerManager\]**   
**loadProdWorkflows error loading workflow**   
**testo95:Single-space publishing: Error in workflow markup:\<br/\>\<div class="error"\>\<span class="error"\>state: error in state Publish children?\</span\>**   
**\<div class="error"\>\<span class="error"\>approval: invalid parameter depth=10\</span\> \</div\>**   
**\</div\>"**   

regard's

tousif shaikh


Answers:
author: CharlesH
body: Can you share the markup for your workflow?

comments: author: tousifs
body: thank's but not possible to share workflow,

by looking at error log could guide me

1) is it related while copying space and publishing?

2) it's related to markup of workflow plugin?


Tags: workflow
How do you recover the body of a macro that has been removed from Confluence
Asked by Bob Swift (personal):

With wiki, you could easily recover the macro body or rename the macro easily if the macro was removed or renamed (user macro). Now it just shows an unknown macro image with no body text. This is not good. There doesn't appear to be an easy way to get the body text back or rename the macro. Is going to storage format view and cut and paste the only alternative?


Answers:
author: CharlesH
body: Hi Bob,

You could create a dummy user macro of the same name. It needn't take any parameters, but this should allow you to see the body that was previously entered. I think I've done this in the past, mainly to degrade gracefully to avoid those nasty "unknown macro" messages appearing in the page.

Regards,

Charles

comments: author: Bob Swift (personal)
body: Yes, that is a workaround for download Confluence, but not OnDemand.


author: Bob Swift (personal)
body: Here is a way that covers OnDemand as well as download. [Example 2: Renaming a macro](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+globally+search+and+modify+content#Howtogloballysearchandmodifycontent-Example2:Renamingamacro)


author: Bob Swift (personal)
body: Even though there are workarounds listed below, the Confluence editor should implement something much easier to cover this.
Wwe can't delete a space
Asked by Arthur Burton:

We created a space on [houseparty.atlassian.net](http://houseparty.atlassian.net) and we cannot delete it. When the administrator logs on to delete the page it says access denied. Can someone help us? There does not seem to be a support phone number.


Answers:
author: LucasA
body: Hi Arthur,

Please raise a support ticket at [https://support.atlassian.com](https://support.atlassian.com.).

OnDemand customers have 24x7 support by our support site.

Lucas Lima


Tags: cloud