youngmon/atlassian-qna huggingface dataset:
migrating spaces from download version of confluence to on-deman-version of confluence
Asked by Stefan:

Hello,

I have problems migrating my spaces from download version of confluence to on-deman versin of confluence.

When i use "Import Space" on on deman version then the following problem occures:

The zip file did not contain an entry 'exportDescriptor.properties'. It contained: TEST-172702-12/, TEST-172702-12/attachments/, TEST-172702-12/attachments/1343507/, TEST-172702-12/attachments/1343507/2064394/, TEST-172702-12/attachments/1343507/2064394/1, __MACOSX/, __MACOSX/TEST-172702-12/, __MACOSX/TEST-172702-12/attachments/, __MACOSX/TEST-172702-12/attachments/1343507/, __MACOSX/TEST-172702-12/attachments/1343507/2064394/, __MACOSX/TEST-172702-12/attachments/1343507/2064394/._1, TEST-172702-12/entities.xml, __MACOSX/TEST-172702-12/._entities.xml, TEST-172702-12/exportDescriptor.properties, __MACOSX/TEST-172702-12/._exportDescriptor.properties, __MACOSX/._TEST-172702-12

I do have the version of confluence in both (4.3).

in that zip file is a file called "exportDescriptor.properties" so i do not knpw why confluence has a problem there.

Thanks for you help,

Stefan


Answers:
author: JustinA
body: Hi Stefan,

I believe that your ZIP file should contain the following only:
> exportDescriptor.properties
>
> entities.xml

From the error you're getting, it seems that the ZIP file contains a folders "TEST-172702-12" and "__MACOSX"; this may be due to the compressing method in the Mac OSX.

You can either [export the XML in ZIP from your standalone Confluence](https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML), or use [a command line method to ZIP the files](http://fosswire.com/post/2007/10/make-a-zip-archive-from-the-command-line/).

Hope this helps. :)

comments: author: Stefan
body: thank you,that solved the problem

stefan


author: Bogdan Gorka
body: It is worth adding maybe, that according to this [Atlassian Document](https://confluence.atlassian.com/confkb/xml-backup-restore-failed-with-the-zip-file-did-not-contain-an-entry-exportdescriptor-properties-in-confluence-300811533.html), Windows ZIP utility should not be used but some other tool like 7ZIP is better.

Thank you @Justin Alex for the tip as I could not figure out the same problem as well.


Tags: cloud

confluence-cloud
Please how can I install zen foundation in on demand version ?
Asked by Ivan Zabka:

I describe in header.


Answers:
author: RianA
body: Hi Ivan,

If you're talking about Zen foundation theme, I am afraid you are unable to do so based on [restricted function](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) on ondemand. Also if you would like to install certain plugin, only [certain plugin is allowed to be installed in OnDemand](https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy) as Nick mentioned. Apart from that, you can't install any plugins. Perhaps you could move to Download version as it gives you more flexibility.

Hope this information helps. Cheers.


author: Nic Brough -Adaptavist-
body: Start with <https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy>


author: Martin Geck
body: I have the same request and created <https://studio.atlassian.com/browse/JST-6030>   
Please vote for this feature request.


Tags: cloud

confluence-cloud
Video attachments do not play
Asked by Roland Leibundgut:

after uploading .wmv files to confluence, but they don't play in neither Chrome, nor Firefox, nor IE nor do they play in media player when opening the link from the attachment player. Yet when I download the file to my workstation and open with MediaPlayer, the file play again.

Any suggestions ?


Answers:
author: Roland Leibundgut
body: thanks for the hints - the issue is that our (stoneage) version of MediaPlayer doesn't https :-(


author: Boris Berenberg
body: Hey RLE,

Are you embeding them into the page using the Multimedia macro? Is there anything special about these wmv files? Could you tell me how large they are (filesize), and how long they are (time)?

Also, take a look at: <https://confluence.atlassian.com/display/DOC/Embedding+Multimedia+Content> and see if maybe you overlooked something.

Cheers,  
Boris Berenberg  
Atlassian Support - San Francisco  
Enjoyed the support?! Tweet us! #atlassiansupport

comments: author: Roland Leibundgut
body: just found the issue (not the resolution yet). when i access the OLD over https I get the same effect as with NEW. any hints what could be wrong ?

(this is quite urgent - it is our corporate CIO's weekly video blog... quite embarassing if that would not work on Monday)


author: Boris Berenberg
body: I think the issue may be with your HTTPS certificate. Are you using a self signed one? Do you have an error from within WMP which you can provide?


author: Roland Leibundgut
body: Thanks Boris - checked the url before, nothing that helps there, filesize is 33MBs (have bigger ones, but thought to try with a couple of smaller first - all the same result). Length is between 2 and 10 minutes - again same result for all of them.

On our old confluence 3.5.2 it worked (still works) on the new one 4.2.5 it doesn't - uploaded the same file in both places. Other differences are

OLD is running on windows, NEW on linux

OLD supports http, NEW only https

...any suggestions


author: Roland Leibundgut
body: thanks for the hints - the issue is that our (stoneage) version of MediaPlayer doesn't https :-(

not an atlassian issue, plain old MS BS...
If a user creates a comment on a page in the Confluence KB, is the author notified in any way?
Asked by Nir Sharon:

If a user creates a comment on a page in the Confluence KB, is the author notified in any way?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: As long as he watches the page! Author normally is an automatic watcher but he might have stopped watching as well.

comments: author: Nir Sharon
body: Thanks Jobin,

Can't I (the admin) make it to be automatic without other users table to control it, always, not only to what they watch ?


author: Nir Sharon
body: OK.

I know there is a way to send email notifications upon different triggers to the page author (when having the workflow active).

Is there a trigger such as " OnCommentCreation " the same as exist the "PageCreated" or "NewsCreated" triggers ? or perhaps it is a part of "Pageupdated" ?

Thanks again.

Nir.


author: Jobin Kuruvilla [Adaptavist]
body: Nope. Watching spaces and pages one creates is automatic but stop watching it is completely upto the user. Admin can also manage watchers but can't stop users from doing their own watches.


author: Jobin Kuruvilla [Adaptavist]
body: Not sure what you mean by workflow active. Guessing that is a plugin? There is a CommentEvent and so it is possible for a listener to capture that!


Tags: comment
Team Calendars Upcoming events resources does not display on Confluence dashboard
Asked by doug.winenger:

I recently installed Team Calendars in both our developer and production environments. The upcoming events element does not appear on the dashboard for our production enviroment...but it does on our developer environment.

I've confirmed the module is active wtihin the plugin configuration. Our global layout is only slightly modified to allow for more favourite pages than the default layout supports. Addtionally, I update the welcome message periodically with various company announcements.

In the TC embed macro 'upcoming events' is not an option. Only 'month', 'week', and 'list' are available.

I'm looking for suggestions of other possible issues preventing us from using this aspect of Team Calendars.

Versions:

Team Calendars 2.4.2

Confluence 4.2.5


Answers:
author: RianA
body: Hi Doug,

It might be cuased by your customize layout on my quick guess here. Please schedule a maintenance time and revert the layout to default and see if you could see all the events. Please do backup your customize layout for safety purpose.

Hope it helps. Cheers.


Tags: team-calendars-for-confluence
Javascript in confluence 4.2
Asked by Leo Dopson:

Can someone please give me a small example of a user macro to execute a simple javascript alert?

From what I gather from another comment javascript in an html macro is now disabled?

Please help,

Leo


Answers:
author: Leo Dopson
body: nevermid got it working

comments: author: Leo Dopson
body: Bob,

I saw this and thouht you might want to know. I've tried using your html plugin but it was giving me a "macro not found"...

Is this the reason?

Leo

<br />

mysql\> select \* from BANDANA where BANDANAKEY='plugin.manager.state.Map';  

\| BANDANAID \| BANDANACONTEXT \| BANDANAKEY \| BANDANAVALUE   
\| 2 \| _GLOBAL \| plugin.manager.state.Map \| \<map\>  

\<string\>org.swift.confluence.html:html\</string\>  
\<boolean\>false\</boolean\>  
\</entry\>


author: Bob Swift (personal)
body: Did you use insert wiki markup to? Until 4.0.0 ships, that is the only way to use it on 4.x


author: Leo Dopson
body: very strange behavior.

because it says html macro not found, it does not allow you to edit it :)

i created a user macro with html tags and $body and that actually worked and allowed me to edit.

as a test I copied the content, removed the user macro and inserted the wiki markup and tried your html macro, it started throwing a lot of javascript errors saying that certain "Objects have no methods" from my other scripts so I'm not sure what is wrong with it (may be realted to scoping) cause I can use the developer and see my methods just fine.

Thanks for your anyways...

Leo


author: Bob Swift (personal)
body: Could you please try [html-plugin-4.0.0-SNAPSHOT.obr](https://bobswift.atlassian.net/wiki/download/attachments/16285777/html-plugin-4.0.0-SNAPSHOT.obr "html-plugin-4.0.0-SNAPSHOT.obr") - its about to be released. It deals with the issue I forgot to mention from <https://bobswift.atlassian.net/wiki/display/HTML/HTML+Macro>


author: Bob Swift (personal)
body: [HTML 4.0.0](https://marketplace.atlassian.com/plugins/org.swift.confluence.html) has been released.


author: Bob Swift (personal)
body: Not sure what comment you are referring to. Please post a reference if you have it. In any case, [HTML Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/HTML) supports this.


Tags: html

javascript
Is there a way to get a list of pages that haven't been updated recently?
Asked by Nick:

For instance, could I get a list or search somehow for all the pages that haven't been update in a year or more. We might want to use this to make sure pages get update or at least looked at on a regular basis to ensure they are still up to date.


Answers:
author: Bob Swift (personal)
body: For download Confluence, [SQL Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/SQL) with an appropriate query on the Confluence database should create a page with links to all the out of date pages. I don't have a query handy, but [Site Statistics](http://confluence.atlassian.com/display/DISC/Site+Statistics) has some related queries.

For OnDemand, you can do some scripting with the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) [getPageList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-getPageList) action. Your script will have to look through the list and pick out the pages with an updated date outside your range.

comments: author: Nick
body: Thanks for the answer. I will have to look into those.


author: Midori
body: You mention not one, but two different metrics to track (page updates vs. page views).

The [Archiving Plugin](https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving) supports both of those and reports on both of those:

1. [Page update tracking](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/page-expiration-tracking)
2. [Page view tracking](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/page-view-tracking)

It does it automatically, and besides the web interface, it sends you email alerts every time if there is some outdated pages are found. You can [set up your lifecycle rules](http://www.midori-global.com/products/confluence-archiving-plugin/documentation/#configurations) once, and then forget about it.

notification-email-outdated.png  
[](https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-get-a-list-of-pages-that-haven-t-been-updated/qaq-p/334641?attachment-id=3061){#link_11969f03898e04}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/56578/1/notification-email-outdated.png){#display_11969f03898e04_0}


author: Jeison
body: Hey Nick,

You can make use of the "Recently Updated" macro within a page or space in Confluence.

<https://confluence.atlassian.com/display/CONF42/Recently+Updated+Macro>

This might come in handy for you. Just set Content Type to show only pages, if that's what you wish.

regards

comments: author: Nick
body: I want the opposite of that actually. The recently updated would give you the most recent pages as I understand. I am looking for the most out of date pages or the pages that were edited last.


Tags: cloud

confluence-cloud
what version of Conveyor plug is supported by confluence 4.2.4 and above
Asked by UoS Web Team People:

Hi

I have developed a plugin, which overrides some .vm file like login.vm etc. but to do so it requires Confluence Conveyor Plugin v. 1.0.1 and I did it on confluence 4.1.6

But now I have upgraded to Confluence version 4.2.4 the plugin is not working even though the overridden action are showing up in conveyor report but it's not overriding those action.

Cheers


Answers:
author: Boris Berenberg
body: Hey UoS Web Team,

Based on the Conveyor plugin's compatability information from here: <https://marketplace.atlassian.com/plugins/org.randombits.confluence.conveyor> you are using the right version. There may be an issue with it which CustomWare does not know about. You can contact them for support here: <http://www.customware.net/services/support.html> or you can file an issue here: <https://studio.plugins.atlassian.com/browse/LIBCNV>

Cheers,  
Boris Berenberg  
Atlassian Support - San Francisco  
Enjoyed the support?! Tweet us! #atlassiansupport

comments: author: UoS Web Team People
body: Thank you for the information, it is most helpful.


author: Leroy Elendt
body: Hello,

here is a statement from the [conveyor documentation](https://studio.plugins.atlassian.com/wiki/display/LIBCNV/Hijacking+the+People+Directory) page:

> Notes {#toc-hId-1618015522}
> ---------------------------
>
> Please note that anything of the 'default' package that is overridden does not work for Confluence 4.2+ at the moment - original implementations will be performed instead.

There is nothing you can do about except for overriding these actions via mod_rewrite or other similar things.


Tags: conveyor

velocity
How to create a group that can see only one project
Asked by Piotr Goca?:

I have really hard time trying to figure it out. Documentation doesn't help.

I need to create a group that will have access to only one project + wiki of this project. What should I do?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: For JIRA, use Browse Project permission and for Wiki use space permissions.

<https://confluence.atlassian.com/display/JIRA/Managing+Project+Permissions>

<https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>


Tags: group

permission
How to hide personal spaces from certain users in Confluence?
Asked by Magnus Bondesson:

I've created a Jira/Confluence account for an external consultant in our Atlassian OnDemand. Since I only want him to see the Jira project he will be working in I added him to the Developer role for that project which does what I want.

Then I also just want him to see the corresponding Confluence space so I added him as an individual user to that space. Then he can see only that space as expected but in the "All updates" tab our employees' personal spaces blog updates etc. are shown. How do I hide those? I assume there is some permission for that?


Answers:
author: Pero Micic
body: We are currently deploying a Project Knowledge Base for external and internal projects with different customers. For reasons of confidentiality we want to prevent users from Customer A see users from Customer B.

Searching for one hour on google and Jira, I did not find any existing options for this.

How do I achieve this?


author: RianA
body: Hi,

If you would like to hide the updates from "All updates" tab, you need to specify the Space permission for each space that you want to hide. You could achieve this by navigating to*Administration \>\> Wiki \>\> Permissions \>\> Space Permissions.*Click the relevant space and add the users or group that you want to have these restriction.

Unfortunately for now you could not exclude from permission. The workaround is to create new group, exclude that user from that group, and put this group in Space permissions.

Hope this information helps. Cheers.


Tags: cloud

confluence-cloud
Can I pass names/variables to child pages?
Asked by David Meacock:

Hi all,

We're currently using a combination of the create-page macro, create-child macro, and Confluence templates to spontaneously create a new page with child pages at the click of a button. So I can create a new page "Mazda" and a structure like so:

Mazda 323

* Service History
* Specs
* Owner History

And that works just lovely. Unfortunately, if I leave the above as is and then create a new page "Ford" through the same method, we end up with:

Ford Focus

* Service History 1
* Specs 1
* Owner History 1

And so forth, because Confluence doesn't like pages with the same name within the same space (and fair enough, too).

My question is this - can I somehow pass a variable 'down the line' to these pages? The create-page macro allows me to prefix and postfix %parenttitle% for example, but unfortunately it seems that create-child doesn't... unless I'm not using it correctly. Ideally I'd like to be able to do something like this:

Ford Focus

* Focus Service History
* Focus Specs
* Focus Owner History

Anyone tried something similar?


Answers:
author: David Meacock
body: No takers on this one?


Tags: page-title
Broken links due to baseurl after confluence migration
Asked by Pangianto Pang:

Hi all,

I tried the steps below however i couldn't get it work.

<https://confluence.atlassian.com/display/CONFKB/Some+Attachments+or+Links+Are+No+Longer+Accessible+After+Server+Migration>

I have checked the 'BODY' in the BODYCONTENT table has changed with my sql statement for a particular a page but i view it in the Confluence, it does not change.

I am using Confluence 4.2.8, I suspect BODYCONTENT table is not the table that Confluence get content from.

Can anybody please show me some light?


Answers:
author: Pangianto Pang
body: I have managed to get it worked :)

Please replace the "href=old_server_name" with "href=new_server_name".

I do not know why the CONTENT body store 'href' instead of the whole wiki mark up.

So just replace wiki mark up link (e.g: \[link\|text\]) and html anchor link (e.g: \<a href=link/\>)

Thanks.


Tags: link
Confluence Plugin developing with xwork and apache velocity file
Asked by Burak Cet:

Hi,

I am trainee at one computer company. My supervisor wanted me to make confluence plugin in order to do that i decided to use xwork. I create one button in this way and this .xwork directs it to new page which is .vm

My code in atlassian-plugin.xml is here:

```
&lt;xwork name="add-draft-label-action-xwork" key="add-draft-label-action-xwork"&gt;    &lt;description key="item.add-draft-label-action-xwork.link.desc"&gt;Defines what the "Add 'draft' label" action does.&lt;/description&gt;        &lt;package name="add-draft-label" extends="default" namespace="/plugins/add-draft-label"&gt;        &lt;default-interceptor-ref name="defaultStack"/&gt;            &lt;action name="add-label" class="com.atlassian.plugins.tutorial.AddDraftLabelAction"&gt;			&lt;result name="success" type="velocity"&gt;/hello.vm&lt;/result&gt;               			&lt;!-- &lt;result name="success" type="velocity"&gt;/templates/hello.vm&lt;/result&gt; --&gt;			&lt;!--   &lt;result name="success" type="redirect"&gt;${page.urlPath}&lt;/result&gt; --&gt;            &lt;/action&gt;        &lt;/package&gt;&lt;/xwork&gt;
```

and My hello.vm is :

```
&lt;html&gt;&lt;head&gt;    &lt;title&gt;This is my Example action!&lt;/title&gt;    &lt;meta name="decorator" content="atl.general" /&gt;&lt;/head&gt;&lt;body&gt;	Hello $name! what is up&lt;/body&gt;&lt;/html&gt;
```

and at the and my execute file which is in AdddraftLabelAction.java is here :

```
public String execute() throws Exception    {                 //  next, get the Template  *        Template t = Velocity.getTemplate("hello.vm");        // create a context and add data         VelocityContext context = new VelocityContext();        String mes = "World";        context.put("name",mes);        // now render the template into a StringWriter         StringWriter writer = new StringWriter();        t.merge( context, writer );        // show the World         System.out.println( writer.toString() );          return "success";    }
```

```

```

```
When i do all of them it only shows at screen Hello $name! what is up
```

```
but it should show Hello World! what is up
```

what should i do ? please help me.


Answers:
author: dietsodasoft
body: I notice your meta tag may have a type-o:

`<``meta``name``=``"decorator"``content``=``"atl.general"``/>`

Notice: ALT.general

comments: author: Egor Malyshev
body: Nope, it's atl.general


Tags: apache

app

velocity

xwork
How to access Confluence Insert Link Dialog linkBrowser?
Asked by Rashedul Hasan:

Hi

Can anyone tell me how to access the linkBrowser object of Insert Link DIalog from outside of link dialog? We have a funtion outside of following

AJS.bind("dialog-created.link-browser", function (e, linkBrowser) { });

block and we need to access the linkBrowser object from there. Any help is appreciable.

Thanks

Rashed


Answers:
author: Gary
body: Hi Rashed,

Because this is a dynamic, created on the fly field in javascript, and not static, it is not accessible.

Cheers,

Gary


Tags: cloud

confluence-cloud