youngmon/atlassian-qna huggingface dataset:
problem restoring Zen Intranet based site on Confluence 5.1
Asked by Nic Hart:

I am attempting to rebuild from XML backup a 5.1 site which uses design elements from Zen Intranet.

I have tried both sequences for restore: 1) install base Confluence 2) install all Zen extensions (+upgrade the UPM) 3) restore full site from XML; and also, reversing 2) and 3), i.e restore XML then install Zen addons.

In neither case to I get back to the original site.

If I restore first then the Zen Lightning Installer does not show the 'import sample content' options, and our site spaces to not get their Zen style design elements.

If I do Zen install first then restore site it all seems good - but when I restart Confluence/server all of the Zen extensions have disappeared (not even in the manage addons console area).

The original site was in 5.1 and I am using 5.1.1 for the rebuild. I am happy to revert to 5.1 (and I know from experience 5.1.2 doesn't yet support 5.1.2...).

HELP!

(PS For brevity I have condensed slightly some of the variations which I have tried. I have not yet started examining logs for errors, but please note all of the install/restore processes completed successfully)


Answers:
author: Nic Hart
body: Thanks to Darryl this is resolved.

The summary is:

1. don't even think about using XML site backup if Stepstone Zen is in the mix
2. if you do get in this situation, be aware that you need to upload the brand plugins manually
3. and, in my case at least, do your site restore _before_ loading Zen, and also avoid in this case at least trying to restore to anything other than exactly the same Confluence version

Some other useful stuff comes out of this which isn't obvious from the Stepstone docs - e.g. you don't need to have Zen Lightning/Intranet in your live site, as long as you don't want to do more development there. All you need is your site content and the used brand plugins (and Foundation, of course).

And BTW, if you backup with database+FS you WILL get the Zen stuff, unlike with XML....


author: Darryl Duke
body: Hi Nic,

Please contact us at [support@stepstonetech.com](mailto:support@stepstonetech.com) and we'll help get this sorted.


Tags: addon-com.zenfoundation.lightning.intranet

atlassian-marketplace

backup

confluence-administration

restore
EDIT PAGE : atl_token
Asked by Sozhavendhan M:

I got to adit an page which has the URL as endig by: *atl_token=69f46657a8aa6b171f299a19a52b32851ddcde93*

This is the home page of our website,

Can anyone guide me how to reach this page which has no edit option in UI.


Answers:
author: Sozhavendhan M
body: Mick,

I have the admin rights for the application. This is home page of our confluence application. It was once created by some of my seniors now I have to change some of the contents of it.

I found the contents of the page in the Database Table - BODYCONTENT.

Regards,

Soz


author: Mick Davidson
body: Hello,

if you can't edit it, it suggests you don't have permission to edit it. Is that the case? If so, is there someone else who can?

Cheers.

comments: author: Sozhavendhan M
body: Mick,

I have the admin rights for the application. This is home page of our confluence application. It was once created by some of my seniors now I have to change some of the contents of it.

I found the contents of the page in the Database Table - BODYCONTENT.

Regards,

Soz
Keyboard supported in order to change tab in dialogs, such as "Insert link"
Asked by Eva Mayrhofer:

Hi,

anybody knows a way to use keyboard only to change the vertical tab in a Confluence dialog? This would speed up my work when creating a link to an anchor.

Here's what I am doing:

1. I am typing some text in a Confluence page.
2. I press **Ctrl+K** to start dialog **Insert link**.
3. As tab **Search** is active but I need to change to **Advanced**, I need to grab the mouse and click on other tab.
4. I am typing the link and press the Return-Key.
5. I am back to type other text in the Confluence page.

I am using the dialog to insert links to pages or websites as well. So I end up having to grab the mouse when creating a different kind of link. I loose a few seconds only but it adds up.

Of course, I could type **\[** in the text and then (in the appearing pop-up menu) I could select command **Search** or **Insert Web Link** to go to the correct tab.

I have checked but found no way to go to tab "Advanced" right away. And Confluence remembers the last selected tab for the dialog - which is fine for me... most of the time.

Regards,

Eva


Answers:
author: Stefan Eike
body: Hi Eva,

hmm... you might try:

1. Copy the URL to your clipboard.
2. Type some text in Confluence.
3. Paste the URL (**CTRL + V**). Confluence renders the link immediately.
4. Step back with your cursor and change the displayed text. This does not affect the link.


author: Eva Mayrhofer
body: Hi,

if anyone else is looking for a solution: Now I am using Vimium that is a Google Chrome Extension and provides keyboard shortcuts for navigation.  
This works fine for my work process.

Cheers,  
Eva


author: Eva Mayrhofer
body: Hi Stefan,

thanks for your suggestion. I give it a try although it is not quite what I was looking for.

I often use the search-functionality of Confluence for inserting links, copy the found link and then I switch to **Advanced** and add **#anchor-name** to the copied text. Usually, this link to the anchor-position worked fine. Only the need to change to the mouse bothered me.  
Maybe it's time to change my workflow and insert the links by pasting the URL.

Eva
Can you set up a custom shortcut key for "Watchers"?
Asked by rishida:

I was wondering if there was I way to set a shortcut key to pull up a list of watchers (to add) to a ticket from the task board.

Thanks!


Answers:
author: Henning Tietgens
body: You can press "." and start typing "watchers". A direct shortcut to watchers doesn't exist. See <https://confluence.atlassian.com/display/GH/Using+Keyboard+Shortcuts#UsingKeyboardShortcuts-IssueActionsandNavigatorShortcuts> for details.

Henning

comments: author: rishida
body: Thanks Henning


Tags: cloud

jira-software

jira-software-cloud
How to inject CurrentDate as pre-fix in page title?
Asked by Ole Kristensen:

I'm trying to create a corporate meeting template form scratch but can't find a way to inject CurrentDate as pre-fix in the page title? Just like the Default Meeting Notes Template does.

/Ole Kristensen


Answers:
author: Qingfen Lin
body: Maybe this plugin will help. Haven't tried this out yet with current Confluence. I have used it with old version which worked nicely.

<https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.createpage#reviews>


author: Stefan Eike
body: Hi Ole,

I have a user-macro to do something very similar to what you want to achieve:

```
## @param pageTitle:title=Page Title|type=string|desc=description|required=true#set($newTitle=$parampageTitle)$content.setTitle($newTitle)
```

On the Confluence page I have two text-data fields 'Field1' and 'Field2' and my user-macro 'settitle' that reads the content of these text-data fields and deliver their values to the user-macro. The user macro sets the page title:

```
{text-data:name=Field1|atlassian-macro-output-type=BLOCK|type=line}{text-data}

{text-data:name=Field1|atlassian-macro-output-type=BLOCK|type=line}{text-data}

{settitle:pageTitle=%data:MyDate% - %data:MyTitle%} 
```

You need the [CustomWare Scaffolding](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding) plug-in to do that.

I hope that'll be helpful for you!

Good luck!

Stefan

comments: author: Areg Vrtanesyan _Work_
body: Hi

Just wondering how this could be done in latest Confluence ...

Looks cool and right that I need but I can't get user Macro digest Scaffolding data ...

It shows %data:MyField% in title instead of value

Thanks,

Areg


author: Colin Goudie
body: Not sure if you're looking into doing this a Confluence Blue Print, but if you are, there is some details on dynamic page titles with them

<https://developer.atlassian.com/display/CONFDEV/Writing+a+Blueprint+-+Intermediate#WritingaBlueprint-Intermediate-a.User-specifiedPageTitles>

comments: author: Ole Kristensen
body: Thanks Colin, but I'm not a developer, so I was hoping for a Template solution. We have Scaffolding installed if that would be of any help.


Tags: template
Aliased Links in Tables
Asked by ShelleyB:

It seems that when aliased links are placed in tables, a paragraph tag is automatically inserted after the link.

```
| [aliased links|https://jira.atlassian.com/] add unwanted paragraphs in tables
```

The resulting HTML for the table row is as follows. Notice the extra paragraph after the link.

```
&lt;tr&gt;&lt;td class='confluenceTd'&gt; 	&lt;a  href='https://jira.atlassian.com/' class='ucern-link'&gt;aliased links&lt;/a&gt;&lt;p&gt; add unwanted paragraphs in tables&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
```

Is this a bug or known issue? Is there any workaround to this problem (e.g. alternate syntax)?


Answers:
author: Ryan Goodwin
body: Hi Shelley,

Have you installed the Confluence source editor add-on? This adds a special icon to the editor that allows you to hand manipulate the storage format (xhtml) thus the ability to fine tune the html tags that are automatically added to the editor.

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor>

Hope this helps!

comments: author: ShelleyB
body: Thanks, but is the paragraph tag really expected by default? It seems odd that I would need to install a special add-on to manipulate the resulting markup in this simple case. This seems like a bug or at least a major limitation of the confluence syntax.


author: RianA
body: Hi Shelley,

If the problem is cosmetic issue, you could also add the following stylesheet to tweak the margin.

```
&lt;style&gt;.confluenceTh p, .confluenceTd p {	margin-bottom:0 !important;}&lt;/style&gt;
```

Hope it helps

comments: author: ShelleyB
body: Thanks, but this is not just a cosmetic issue; it's a syntax issue. I can workaround the resulting display using custom styles, but the markup is still incorrect.

( Incorrect markup causes problems for browsers that don't display styles and for formats other than HTML clients, such as when the page is exported to PDF or Word. )


author: ShelleyB
body: Also, just to clarify, setting the margins alone is not sufficient, because the paragraph is a block element and will still appear on a new line. Something more like the following would be needed to workaround the resulting styled markup:

```
{style}.confluenceTh p, .confluenceTd p {    display: inline !important;}{style}
```
Administration page invalid
Asked by jxm894:

I'd like trying to update Customer HTML on the administration page, but unfortunately after that the adiministration function(page) is invalid anymore. Left side UI menus missing, Sites management, User management, Add-on submenu are all invalid too. These pages show nothing(empty). Except administration, other functions(use sides) are still work well. What is the issue and how to recovery? My confluence version is V5.1.1 and using HSQL database(where db-files located). Any help would greatly appreciated.


Answers:
author: EddieW
body: HSQL is not suggested for use in production. But you can try to backup the database file, as well as the contents of the jira_home directory and run a fresh install somewhere else to see if the error persists.


Tags: confluence-administration

hsql
Cannot access space settings because all permissions to view space were accidentally removed
Asked by Acacia Ho:

While going through defining permissions for spaces, right after deselecting all check boxes for both the administrators group and the developers group, I typed in a group to add to the permissions list and hit the enter key. However, the page registered hitting enter as Save Changes. Therefore, that space does not have any permissions associated with it so there is no way to get in to the manage permissions page and fix the mistake. Is there a way to set the space back to default mode to allow permission for administrators and developers group? I am an administrator for the confluence account. If I can have access to that space's manage permissions page, then I can make the changes that I had originally intended for that space.


Answers:
author: Bhushan Nagaraj
body: One way would be to modify the database directly. You can set permissions in the SPACEPERMISSIONS table.

Find your space ID using

SELECT \* from SPACES

Find the perm id by running

SELECT \* FROM SPACEPERMISSIONS WHERE SPACEID="your_space_id"

Then run

UPDATE SPACEPERMISSIONS SET PERMUSERNAME="your_user_name" WHERE SPACEID="your_space_id" AND PERMID="your_perm_id"

Actually you can even skip finding the PERMID and just run

UPDATE SPACEPERMISSIONS SET PERMUSERNAME="your_user_name" WHERE SPACEID="your_space_id"


Tags: permission

permission-scheme

space
Form Mail NG: hardcode subject prefix followed by user entered input
Asked by Mike Kastellec:

In the mail-form/mail-input macro, I can see how to hardcode a hidden subject, or precode one that users can edit, or just let users come up with one. What I would like to do is create a form that sends an email with a subject along the lines of "\[consistent prefix\] \<user entered subject\>." I know confluence allows configuration of email prefix at the global level but can I do this for only a particular form?


Answers:
author: Hessom Arta [Adaptavist]
body: Hi Mike,

Please accept my apologies in the delay in getting back to you - I'd not seen this before. At the moment it is not possible to provide such functionality, although we did consider it for the recent release of Form Mail for Confluence 4.1.

However we have provided some level of flexibility for setting the subject of outgoing mail.

Firstly, you can (as you know) set a hardcoded value that can't be changed. Alternatively, you can allow users to set the subject directly. Both of these methods existed previously and both give you access to (limited) velocity values - so you can automatically add logged in users name and email address.

In the latest Form Mail, we've introduced the ability to create a drop down list that your users can select from which will then set the subject of the outgoing mail. Whilst this doesn't allow you to append user input to

You can check out the [documentation](http://www.adaptavist.com/doco/display/FMCP/3.6+Setting+Outgoing+Mail+Subject#id-3.6SettingOutgoingMailSubject-Settingthesubjectforoutgoingmailusingthemail-inputmacro) for more information and instructions on setting the subject of outgoing emails using Form Mail for Confluence.

Kind Regards,

Hessom


Tags: addon-com.adaptavist.confluence.formmailng

confluence-administration

email
How do I gain access to confluence-administrators group?
Asked by Zoe Jong:

I have just opened a new instance of Confluence, and there is a user "Sysadmin" \<[noreply@atlassian.com](mailto:noreply@atlassian.com)\> that currently holds all the permissions to confluence-administrators and system-administrators. How do I get access to these groups and to this sysadmin account?


Answers:
author: Sean King
body: Is it onDemand or download? If it's onDemand you can't. Atlassian doesn't want people breaking onDemand instances.

comments: author: Zoe Jong
body: Thanks Sean, it is OnDemand. Do I need to ask Atlassian to help me admin my system then? The noreply email makes me feel like it's a lost cause...It seems there are some permissions that only the confluence-admin and system-admin have that I need.


author: Sean King
body: Correct. Here's a link to documentation on restricted functions and what Atlassian will change upon request: <https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>


Tags: confluence-administration
How to jump to sections of space
Asked by Jon Starbird:

While the new Confluence 5 UI is very nice I find the navigation rather lacking in the right hand navigation bar. Is there some way to enable jumping to different sections of a Space? We have Space with sub sections and once you navigate into one sub section you can only see the children of that section in the navigation tree.

Yes I know I can add things to the Sidebar via Configure sidebar but that it's a bit silly to just jump to another area in the same space. I should be able to navigate the entire space tree in this new layout.

So is there someway to enable that? Code to adjust? Something?

Thanks,

J


Answers:
author: Ryan Goodwin
body: Hi J,

If there's specific spaces you want this on, would you be interested in using the Documentation theme for those spaces?


author: Matthew J. Horn
body: Have you considered using the page tree macro? We use that for our primary mode of navigation. More info is here:

<https://confluence.atlassian.com/display/DOC/Page+Tree+Macro>

comments: author: Jon Starbird
body: I actually do use that in several places but the disadvantage to that is the page in which it lives will go away once you click on a page to visit unless you add that to every page. Just seems like that built in one should either show the full Space or allow people to configure it to show more or less of a Space.

This could just be a matter of us needing to use the site a little differently. I'm just surprised it was implemented in this way, frankly it makes that default theme sidebar not very useful in comparison to the Documents theme's sidebar, at least from a navigation standpoint.

Thanks,

J


author: Jon Starbird
body: Sorry I should have specified that I knew of that. The Space is used for various types of things so I'd rather not use that Theme. The new layout works great for the most part, it's just that little thing that, so far, bugs everyone.

Is there anywhere in the Layout section of Admin that I can adjust it to show the entire space in that tree? A collapsible list there would be ideal or at least the ability to enable that if you want to.

Thanks,

J


Tags: space
Should the Excerpt Include Macro work cross space?
Asked by Bristow:

So when I try to use the Excerpt Include Macro it will only let me do it for the current space, where as when I try to do it from another space it will let me in edit mode click 'Go to included Page' but says the page doesn't exist when I go into preview.

Below is the process I'm following; (I'm hoping I'm making a silly mistake!)

1. I've created a space with the key, "Care".
   1. I've created a page within this space called "Project Servers", with some content within the Excerpt macro.
2. I've created another space.
   1. I've created a page within this space.
   2. I then added the Excerpt Include Macro, using the following format Space Key:Page Name, in this scenrario it will be CARE:Project Servers.


Answers:
author: Bristow
body: I was running version **4.1.3** but "Excerpt Include macro across spaces" wasn't included till **4.3.2.**

I have since upgraded to **4.3.7**and the Excerpt include macro works acrosses spaces as expected.

<https://confluence.atlassian.com/display/DOC/Confluence+4.3.2+Release+Notes>


author: Ryan Goodwin
body: Hi Bristow,

It should indeed! Your process sounds exactly right. In the test I just performed I have 2 spaces universe and galaxy. In universe, I have a test page with some content in an excerpt. Then in galaxy on a new page I use excerpt-include and when typing in the page name, it pops up in the select list. Then it's populated as spacekey:pagename. I click ok, save the page and everything displays fine. I can also edit the page and use the go to included page links just fine.

Are there any restictions set on the spaces or pages that you're trying to link to?

When adding the excerpt include macro, if you just type in the page name, does it bring up suggestions of pages in a list you can select from? I would say, select from the list rather than just type it in. See if it resolves better that way.

comments: author: Bristow
body: There shouldn't be any restrictions as the spaces were created pretty much from the start with default settings.

It brings up suggestions from the current space, no other spaces seem to work.

**You can select from a list?**


author: Bristow
body: They are two different things, the exact space I am trying to include from is "RTI/RTI+Project+Servers" , capitals were used as this is standard for acronyms. Where in the Excerpt-Include I have tried RTI:RTI Project Servers and now rti:rti project servers.


author: Stefan Eike
body: Hi Bristow,

just to make sure: "Space Key" and "Space Name" are two different things. The space key is usually lowercase. You'll see the space key in the URL of your browser tab:

[http://your.confluence.url.com/display/**spacekey**/Home](http://your.confluence.url.com/display/%3Cstrong%3Espacekey%3C/strong%3E/Home)


Tags: excerpt
Moving Labels list from bottom to the top of the page AND can you add a label to a table field?
Asked by Mick Davidson:

Star Date: 2013:15.26GMT+1

1. I can't find any info on this, so I suspect the answer is 'NO!', but is it possible to move the labels list from the footer to the top of the page?
2. Is it also possible to add labels to a table in a page? Again, I suspect no, but thanks for listening.

Cheers.


Answers:
author: cirosantilli
body: Please split one request per ticket. Labels on top was asked at: <https://answers.atlassian.com/questions/1706/would-like-the-labels-to-be-on-top-of-pages-instead-of-the-bottom.-is-this-possible>


Tags: label

layout
How to display dashboard link (root) on breadcrum of every space/page?
Asked by Thu Cung:

My confluence site used to show the dashboard link on the breadcrumb for every space/page. Recently that disappears. It only shows the breadcrumb for that particular space. It only shows on the dashboard level. Once you are on the space/page level, the root link disappears on the breadcrumb.

Before: dashboard \> Space \> space home \> page

Now: Space \> space home \> page

We didn't change anything on the setting. Haven't touched anything at all.

How do we get the dashboard to appear again on the space/page level?

Thanks.


Answers:
author: Roel Croonenberghs
body: anybody found a solution yet?
Roleback of database upgrade to confluence 5.1
Asked by Michael Danielsson:

Hi,

Is it possible to undo changes in a database that was made when upgrading to Confluence 5.1 and use the old version of Confluence?


Answers:
author: Nic Brough -Adaptavist-
body: No.

Well, yes, if you can unpick all the changes that were made and revert each one manually. Which I wouldn't even start on before giving estimates of "years of work"

Your only realistic option is to go get the backup you took before the upgrade and restore that.


author: Timothy
body: Here you go : <http://bit.ly/11C3glu>


author: Daniel Borcherding
body: Hello Michael,

The databse transformations that occur uding an upgrade are one way. Once you have upgraded there is no way to rool back.

You would need to have a backup of your database and old \<confluence_home\> folder in order to get an older version of Confluence working again.

We have a documet that outlines a [production backup](https://confluence.atlassian.com/display/DOC/Production+Backup+Strategy) strategy for just such cases.

Why are you trying to roll back your upgrade? What version of Confluence are you Coming from?


author: Timothy
body: Here you go : <http://bit.ly/11C3glu>