youngmon/atlassian-qna huggingface dataset:
Table of Contents for Attachments.. Is this possible?
Asked by Breck Frazer:

Greetings all:

I am new to Confluence 4.3, having been an existing user of confluence 3.x. I am wondering if it is possible to add a "wikipedia' styled table of contents (with links) to an **Attachment** that will allow users to quickly navigate to a section the attached spreadsheet. I understand this is possible with headings on the confluence page, but I am not having success with implimenting this on an attachment.

Is this even a capabilitiy in Confluence? Any help would be much appreciated. Thanks all!

-Breck


Answers:
author: Sean King
body: You can do it on a space by space level with the "Space Attachments" macro.

To my knowledge, unless you put a label on every attachment and use the "Content by Label" macro you can only do it on a space by space basis.


Tags: attachment

ms-excel
Applying theme on trial version
Asked by Gabriel Viger:

Hi,

I would like to know if it is possible to modify my on-demand confluence instance stylesheet and laytout or is it something that is restricted for this type of license ?

Also can i try a theme while being on trial ?

Thanks!

Gabriel


Answers:
author: Ernest
body: Hi Gabriel,

It is currently not possible to customising the layout or custom CSS of your Confluence OnDemand instance. You can learn more about the restricted functions of the OnDemand platform here:

<https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

Feel free to vote/watch this feature request:

<https://jira.atlassian.com/browse/AOD-2731>

Cheers  
Ernest


Tags: cloud

confluence-cloud
Database Error 500 when upgrading to external MySql database
Asked by Randall Pinkston:

After using the internal hsql db, I'm in the process of converting our Confluence instance to MySql (on an AWS EC2 box). After entering in the db credentials I get an Apache Tomcat 500 error as follows:

HTTP Status 500

org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute query; uncategorized SQLException for SQL \[\]; SQL state \[3D000\]; error code \[1046\]; No database selected; nested exception is java.sql.SQLException: No database selected

On the "Configure Database" page, this is the information I enter for Database URL: jdbc:mysql://myawsec2.us-east-1.rds.amazonaws.com:3306/. I don't enter the database name there (though maybe I should?) I also don't have the database name included in confluence.cfg.xml, as follows:

\<property name="hibernate.connection.url"\>jdbc:mysql://myawsec2.us-east-1.rds.amazonaws.com:3306/\</property\>

Should the database name be included in one/both of those locations? I feel like I've tried that, but I'm not positive. (I've tried both "jdbc:mysql://myawsdbname.myawsec2.us-east-1.rds.amazonaws.com:3306/" and "jdbc:mysql://myawsec2.us-east-1.rds.amazonaws.com:3306/myawsdbname/").

Any ideas?

```
?
```


Answers:
author: Faisal
body: Hi Randall,

Yes when setting up the database JDBC connection, you will have to specify the database URL along with the name as well. So for an example, I think the following database URL should work:

```
jdbc:mysql://myawsec2.us-east-1.rds.amazonaws.com:3306/myawsdbname
```

Hence, can you kindly try to apply this and see if it helps?

If the problem remains, may I know how did you configure the database connection? Did you make changes directly to the confluence.cfg.xml?

Thanks.


author: tfernandez9
body: I'm getting the same thing here?

I've tried 50 different ways to get this to work and I still get:

HTTP Status 500 - java.lang.NullPointerException {#toc-hId-1841273556}
======================================================================

Any ideas?

When moving databases, is there anything else I need to do except re-direct the JDBC URL?
Text Gadget for download
Asked by Eduardo cardona (PSL):

good afternoon

I would like to know how to download Text Gadget, for use with JIRA. version we Jira 5.06

thank you very much

Eduardo Cardona

PSL.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You just need to enable it. See <https://confluence.atlassian.com/display/JIRA/Adding+the+Text+Gadget>


Tags: gadget

text
Confluence: how to remove previous installs to start fresh install?
Asked by joespr:

I was tasked with installing Confluence on a Linux Ubuntu 11.04 box that has Jira running (successfully).

However, I see some attempts sometime in the past by others that were made (by others) that installed an older version and a recent version of Confluence. Neither was used. My goal is to remove these older installs and install fresh.

The older version is 3.5.7 (looks like installed under /opt/confluence/ ) and the newer version install is 4.2.4 (looks like installed to /usr/local/confluence-4.2.4 ).

However (alas...) I did not know these were installed when I ran the atlassian-confluence-4.2.4.bin this morning without error; I discovered the previous installs after I ran it. However, I dont find any files with today's date (including logs).

So. What is the right way to rid this system of all installs of Confluence without disturbing Jira (so I can start again)?

Thanks,

Joe


Answers:
author: Davet
body: You have answered your own question correctly ;)

Since you are on a discovery mission it may well pay to check the mysql settings because there are quite a few tweaks that can/should be made to a stock mysql install that may or may not have been done.

The same might also apply to your java settings.


author: LuizA
body: Hello Joe,

The best way here would be to remove the all the folders related with the old install (/opt/confluence/ and if you find another folder related also remove) and then check if there's some service running associated with this old Confluence install, you could check the services in the linux server that Confluence was installed, a simple check like this one:

#ps -aux

or also:

#`service --status-all`

This will depends on your Linux platform, but generally are commands like these. After you remove the folders and check that there's no Confluence service running and associated with your old install, you'll be okay.

Hope this helps.

Kind Regards,

LJ.

comments: author: joespr
body: Thanks LJ.

I notice a directory /var/lib/mysql/confluence can I also delete that without harm?


author: joespr
body: Answering my own question: need to drop the database inside of mysql; that automatically deletes files in /var/lib/mysql/confluence
Grant vs. Deny Permission Precedence
Asked by James Roberts:

Which permission takes precedence at the Space Level in Confluence? Grant or Deny?

Example: UserA is in GroupA and GroupA has been granted Add Attachment privilege at the Space level. However, UserA has been denied the Add Attachment privilege as an individual at the Space level.

Will UserA be allowed to add attachments or will he not be able to add attachments?


Answers:
author: Thomas Schlegel
body: Hi James,

from Atlassian Documentation ([https://confluence.atlassian.com/display/DOC/Users+and+Groups)](https://confluence.atlassian.com/display/DOC/Users+and+Groups):  
Overlapping group and user permissions  
When a user is assigned more than one permission, the most powerful permission will prevail.

Further explanation:

* A user may be assigned a permission specifically to their username. They may also be assigned a permission by belonging to a group, or even several groups.
* The user will then be able to perform all functions assigned to them.
* So if a user is allowed to do something over and above what the group can do, the user will be able to do it. And if the group is allowed to do something over and above the specific permissions granted to the user, the user will still be able to do it.


author: Nic Brough -Adaptavist-
body: It's not really grant/deny in Atlassian products, it's more "deny, until allowed". Your user matches one rule that says "allow", so they can attach things. Specifically, their group says "allow", so they can do it. Doesn't matter about the individual settings.
No Mail Storm for onDemand Confluence
Asked by Fundbase Admin:

Hi

We would like to add the "No Email Storm" extension, as we're spamming our users when missing to uncheck the "notify" checkbox. Is there a possibility to have that changed in the onDemand version as well?

Thanks

Pascal


Answers:
author: Nic Brough -Adaptavist-
body: No. You can't install plugins in OnDemand (yet), other than the approved ones.

See <https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+and+Plugins>

comments: author: Fundbase Admin
body: I knew that, but is there a solution for the problem for OnDemand customers or do I have to wait until such extensions can be installed in OnDemand?


author: Nic Brough -Adaptavist-
body: Mmm, you didn't tell us you already knew the basics, otherwise I wouldn't have posted.

I suspect you'll have to wait, as there's nothing else that does this (assuming it happens at all - that's not guaranteed, all we know is it's going to improve later this year, but we don't know how)


Tags: cloud

confluence-cloud
Is it possible to disable the 'like' function in a Confluence page?
Asked by Ubisoft:

Is it possible to disable the LIKE function in a single page, but not on the entire Confluence Space.  

If yes, I would be interested to know how :)

thanks!


Answers:
author: RianA
body: Hi, you can put html macro on that page and put this stylesheet inside the macro.

```
&lt;style type="text/css"&gt;  #likes-section{display:none !important;}&lt;/style&gt;
```

comments: author: Ubisoft
body: Works perfectly! thanks a bunch!


author: RianA
body: Super! Glad that it helps :)


author: Maya S Chase
body: It's 4 years later and I'm trying to figure out how to do this ... I just tried this and it didn't work. Any other suggestions?


author: AnnWorley
body: Maya, I ran into this: <https://community.atlassian.com/t5/Confluence-questions/Confluence-ToC-Macro-Produces-Error/qaq-p/583120> and the code he is using worked for me, whereas Rian's did not.

Don't forget it has to be in an HTML macro:

```
<!-- This is code to hide the Like feature --!> <style type="text/css">#likes-section{display:none!important;}</style>
```


author: John Corwith
body: Space Tools

Stylesheet

Space Stylesheet add

#likes-section {  
display:none;  
}

For server anyway.


author: John Corwith
body: Sorry, this will kill it for the space.


Tags: like
How to split a table without using the new source editor
Asked by Michael Regelin:

I have this table that I want to break in two table in confluence 4.3.7:

```
|| column 1 || column 2  ||| line 1 | line 2 || line 1 | line 2 || line 1 | line 2 || line 11 | line 22 |   &lt;------ split here| line 1 | line 2 || line 1 | line 2 |
```

to have

```
|| column 1 || column 2  ||| line 1 | line 2 || line 1 | line 2 || line 1 | line 2 ||| column 1 || column 2  ||| line1 1 | line 22 || line 1 | line 2 || line 1 | line 2 |
```

```
But I dont know how to split a table without using the source editor.
```

```
And I dont want users to use the source editor...
```

```

```

```
Thanks for your help.
```

```

```

```
Michael
```

```

```


Answers:
author: Sean King
body: Copy paste I think will be the easiest method. Highlight the text inside the upper left cell and lower right cell of the content you want split and copy/cut the content. Click outside the table and hit "return". You can either paste the content to create a table with the content inside or insert another table from scratch, click in the first cell, and paste.

comments: author: Michael Regelin
body: Hi Sean,

thanks for your post.

I tried that but without the possibility of cutting. Copy /Paste works, but not Cut / Paste.

But that is trivial anyway.

I hope Atlassian will add this functionality some days ;-)

Thanks a lot.

Michael


author: James Harrison
body: Vote for this feature: <https://jira.atlassian.com/browse/CONFCLOUD-34236>


Tags: table
Team Calendar doesn't work
Asked by Rumceisz:

Hi All,

we have a problem because we have 2 URL's for our Confluence. Therefore the Calendar doesn't work on one URL. We know that this is a known issue at Atlassian that only 1 URL is supported but I hope you have a workaround for that.

The problem is that we cannot edit the Team Calendar.

Please advise!

Thanks in advance,  
Rumi


Answers:
author: Sherif Mansour
body: There are many other features in Confluence that will break if ther are multiple access of the app from different URLs. Make sure your Server configuration base URL (in the Confluence admin console) is the one everyone uses. Team Calendars (and a lot of macros, Confluence features) will run into issues as they all use the base URL setting in your Confluence admin console.

comments: author: Rumceisz
body: Thank you for help!


author: Sherif Mansour
body: You might also want to chat to our support team for help or suggested workarounds for this.


author: Rodrigo Girardi Adami
body: Hi Rumceisz,  

I did a search in Atlassian documentation for a workaround but I couldn't find any. I believe this workaround doesn't exist yet. I'll leave this question open so other people might have some idea for you to try.  

Regards,  

Rodrigo


Tags: team-calendars-for-confluence
How can i import my Data from Confluence Evaluation Version to Confluence Full Version?
Asked by Fabian Jansohn:

Hi there,

can i import my data from my existing Confluence Evaluation Version to a Full Version?

In my Admin area is the function "save Confluence data" deactivated and it can't be activated.

Thanks a lot for helping

Regarts Fabian


Answers:
author: Svante Gustafsson Bj?rkegren
body: Hi Fabian,

Based on how much stuff you have created in your evaluation instance and how much of that should be migrated there are different routes to take.

If the amount of data (i.e. spaces) is manageble I would suggest you move space by space.

With this approach you can be selective what you migrate.

You move a space by:

1. Goto space in evaluation instance
2. In Space Admin section (Advanced tab), select XML Export
3. Save the XML-file to your local computer
4. Goto your production instance
5. In Confluence Admin section, select Backup \& Restore
6. Under the "Upload and restore a site/space backup" section upload your XML-file and restore it.
7. Done!
8. You may have to verify that the Space categories are correct. If you have configured your prod environment similar to your evaluation environment this should not be an issue, though.

If you want to migrate the whole she-bang you should follow this instruction: <https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>

Then your production envirenment will be an identical copy of your evaluation environment.

Hope that helped!

// Svante

comments: author: Fabian Jansohn
body: Hi Svante,

helped me a lot!

Thank you very much!

Regarts Fabian


author: Svante Gustafsson Bj?rkegren
body: Glad to help!

Please, mark the answer as accepted if you like.

Rgrds,

// Svante


Tags: backup

trial
post function to execute URL in new tab
Asked by fjodors:

Hello

Is there any post function that execute any URL?

E.g. I am pressing on transition button and automatically diefined URL (e.g. google page) was executed in new window/tab.

I think the best way is execute javascript code pressing on specific transition button during workflow, is there any suitable plugin for this?

Thanks,

Fyodor


Answers:
author: Radu Dumitriu
body: Yes, it is.

I will praise myself, but you should take a look here:

<http://confluence.kepler-rominfo.com/display/JJUPIN/How+%27Live+Fields%27+work>

and here (if you do not really need a transition):

<http://confluence.kepler-rominfo.com/display/TR/Clickable+Link+Disguised+as+a+Blitz+Action+with+Live+Fields>

comments: author: fjodors
body: Hello Radu

Thank you for advice, I will check these plugins

br,

Fyodor


Tags: javascript

post-function

url
Status Updates and @mentions in Confluence and JIRA
Asked by Ole Kristensen:

The nature of our work in Grundfos as a pump manufacturing company a lot of spaces are confidential and secret and the only way to communicate across is actually Status Updates!

You're not allowed to share pages or comment in a lot of spaces.

But as an Admin I can see that 2 or more spaces are discussing the same problems and really should exchange ideas. I can only tell them to open up for other employees but they are largely reluctant to that idea

At the same time they tell me that they would reply to a Status Updates that includes @mentions and a relevant idea or professional question!

This makes me think that Status Updates should have a much stronger role to play in Confluence and JIRA.

**Features needed:**

@mentions in Status Updates

Possible to reply with new @mentions for adding more people to the conversation

What do you think?

Best Regards

Ole Kristensen


Answers:
author: Chung Park Chan
body: Hi Ole,

I believe you have created a New Feature request before regarding this, which is tracked here:

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


Tags: jira

status

update
How can I see which items I am watching
Asked by Bruce Schlueter:

Hi all,

as many other I am watching some items on Atlassians Jira regarding "unexpected behavior" of our Confluence. Do I have any possibilty to see which items I have voted for or which items I am just watching? I cant find anything in my profile that would lead there.

Thanks, Bruce


Answers:
author: Thomas Schlegel
body: Hi Bruce,

use this JQL:

watcher = currentUser()

Cheers

Thomas

comments: author: Thomas Schlegel
body: Hi Bruce,

maybe my answer was a liitle too short, sorry.

You have to login to the Jira instance you want to know your watched items. After you are logged in, just open the search dialog (Issues -\> Search for issues), change to advanced search and enter the JQL mentioned above.

Maybe you can also have a look [here](https://confluence.atlassian.com/display/JIRA/Advanced+Searching).

Cheers

Thomas


author: Bruce Schlueter
body: Hi Thomas,

I am not sure how to use your answer. What I ment is that I am watching items on Atlassians JIRA like e.g. [CONF-26210](https://jira.atlassian.com/browse/CONF-26210 "CONF-26210")

How can I find out which other items are being watched by me or have been voted for. So it is not in a JIRA installation we are running.

Cheers, Bruce


author: Bruce Schlueter
body: Thanks, that is what I was looking for.
Is there a way to automatically populate the file format handlers for the firefox webdav launcher?
Asked by anthony hornby:

Hi,

We need to be able to make it simple for all staff to use the "edit in office" webdav functionality.

The firefox plugin <https://addons.mozilla.org/en-US/firefox/addon/webdav-launcher/> requires every user on every PC to go in and configure the application handlers for doc, docx, xls, xlsx, txt individually.

This just won't happen in our organisation and it introduces so many ways for the functionality to break (and then the clients blame confluence and start not wanting to use it).

How can we push out a set of standard configurations for the file handlers for this plugin?

All the our users are on the same version of Microsoft Office so there is no reason they should have to each set this up on their own PC.

Thanks!!

Note: I asked the developer about unpacking the XPI file and modifying the urlLoadPref.js file to automatically populate the file handlers definitions and have been directed back to Atlassian as they own the IP. Still waiting on an answer.

<br />

Warm regards,

Anthony


Answers:
author: LuizA
body: Hello Anthony,

In this case this is a configuration of the Add-on from the Firefox Browser, so it is a little 'outside' from the Confluence itself, even the Confluence's application uses this resource to make the 'edit in office' option available and functional. Based on this from the Confluence side is not possible to configure a set of standard configurations for the file handlers, but maybe by some customization you can elaborate something from the Browser's side, but this would require some development (as you're already trying something related with development, this would the right way).

Based on your actual scenario I would suggest you to try to make a contact with an Atlassian Expert, that is a kind of certified partner and able to work/develop customizations, and that will be able to provide you a better assistance with this kind of request.

You can find an Atlassian Expert in the following link:

<http://www.atlassian.com/resources/experts>

Hope this helps.

Kind Regards,

LJ.

comments: author: anthony hornby
body: Found out it stores the addon config in the prefs.js file in the users firefox profile. Pretty sure we can deploy that to our users.

Thanks for the reply :-)


Tags: ms-office-connector
I have a locked down space that needs a landing page visible to all authenticated users, how do i accomplish this?
Asked by Taha Menai:

We have a private space we have created that will be used to house content only visible to people that are part of a specific confluence group.

However we have created a landing page that explains how to request access, we need this page to be the primary landing page when someone visits this space.

how can i accomplish this.

thanks,

Taha


Answers:
author: Matthew J. Horn
body: I've done this by creating a "landing page space" and a "content space". The landing page space is just a single page that is accessible to everyone. The content space has the restrictions you want in place. This gives me control over the landing page without comprimising or customizing the control over the content space.


author: LuizA
body: Hello Taha,

You can open just a part of the space(in the case the landing page), see below:

<https://confluence.atlassian.com/display/DOC/Page+Restrictions#PageRestrictions-HowtoOpenPartofaSpace>

Hope this helps.

Regards,

LJ.


Tags: permission
'Edit page' permission to an anonymous person with the link
Asked by Vasyl Boroviak:

There is a Google Docs feature I adore - allow a document read/write access to a user with the link.

Any way I can share a single page (space, blog, whatever) with a single anonymous person? A workaround maybe?

The matter is we have many clients and we do not want to create a user for each of them. But we want them to leave feedback (or just read the draft document) on the designs and solutions we provide them.


Answers:
author: Vasyl Boroviak
body: There is no such feature and no workarounds so far.

comments: author: RianA
body: Perhaps you could try to raise a feature request at our issue tracker: <https://jira.atlassian.com>


author: Vasyl Boroviak
body: Perhaps you are right.


author: AgentSmith
body: Greetings,

There are two approaches for consideration:

**1. Read only user**

*Restricting access at the user or group level is not the same as providing anonymous access. Anonymous access does not count towards a licenses and your content would be public facing.*

*https://confluence.atlassian.com/display/ONDEMANDKB/Confluence+OnDemand+-+How+to+Create+a+Read+Only+User*

**2. Assigning space permissions to anonymous users**

* *To assign a permission, check the box for the required permission.*
* *To deny a permission, uncheck the relevant box.*
* *To bulk assign or revoke anonymous user permissions, choose either Select All or Deselect All from the Actions dropdown list.*

*Choose Save All to apply the changes.*

*Note: You cannot grant space administration rights or page restriction rights to anonymous users.*  
Additional documentation regarding Space Permissions can be found here:

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

I hope this response was helpful.

Cheers,  
Jason \| Atlassian

comments: author: Vasyl Boroviak
body: Unfortunately this is not what I am looking for.


Tags: cloud

confluence-cloud