youngmon/atlassian-qna huggingface dataset:
Using Bob Swift Cache with Run Self-Service Reports
Asked by Kevin Tracy:

Hi,

We use Bob Swift's Run extensively and we are trying to now implement the Cache plugin to reduce database load and db connection issues.

I have tried embedding the sql-query macro inside the Cache macro using a dummy query that takes about 30 seconds to run. The assumption is that after the first run, the table will render instantly upon refresh. But it is taking the full 30s every time.

Interestingly, I have the showDate set to True, and the date of the render at the top will stay unchanged, yet the query still seems to still take the full amount of time to run on every page load. Is there something I am missing here with configurations or setup?

Here is the code on the Confluence page (we have 130k JIRA issues and 437 custom fields so the SQL here takes about 30 seconds)

```
{cache:showDate=true|index=true}{sql-query:dataSource=jiraDS|columnLabel=true}SELECT COUNT(j.id)FROM jiraissue AS j LEFT JOIN customfieldvalue AS c ON c.issue = j.idLEFT JOIN customfieldoption AS o ON o.id = c.stringvalue;{sql}{cache}
```

Thanks,

Kevin Tracy


Answers:
author: Bob Swift (personal)
body: The query should only be run if the date (from showDate) changes. What version of Confluence? Make sure you are not on Confluence 5.9.5 or 5.9.6 - see [Advisory on Confluence 5.9.5 and 5.9.6](https://bobswift.atlassian.net/wiki/display/info/2016/03/08/Advisory+on+Confluence+5.9.5+and+5.9.6).

comments: author: Kevin Tracy
body: Thank you - we are indeed on 5.9.5. I will see if we can move to 5.9.7


author: Bob Swift (personal)
body: Good to know. Thanks.


Tags: addon-org.swift.confluence.cache

addon-org.swift.confluence.sql

bob-swift
Confluence search misses string that exists
Asked by Robert Lauriston:

If I search for bigdecimal, I get no results. If I search for java.math.bigdecimal, I get the expected results.

Is this a bug or what? I find nothing in the documentation covering this issue.


Answers:
author: Giles B
body: Hi Robert,

Check out the information on [Wildcard searches](https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html#ConfluenceSearchSyntax-Wildcardsearches), and particularly leading wildcards in our docs. I imagine it's because it's seen as part of a single word, and it needs the leading wildcard to find it.


author: Robert Lauriston
body: The regular expression

```
/.*bigdecimal.*/
```

works. Thanks. I don't know how I missed that, I was specifically looking for a leading wildcard. Maybe I was looking at an outdated doc?


author: Nick Reilingh
body: This might be expected behavior -- I've seen examples where only full words are returned, so it might be an indexing thing. Interested to hear if there are other explanations. Also it may be a feature request for confluence to index searchable words by breaking on non-word characters like the dot in your example.


Tags: search
Is there a way to export all Space permisson config to a file ?
Asked by Kristj?n J?nsson:

*This question is in reference to Atlassian Documentation: [Space Permissions Overview](https://confluence.atlassian.com/pages/viewpage.action?pageId=724764760)*

We are trying to limit the number of groups that are synched from AD. For this it would be great if I could get all a list of all spaces and their permission to a single file so that we can look at what groups are in use.

Is there a simple way to do this?

Best regards, Kristjan


Answers:
author: Kristj?n J?nsson
body: thanks Bob, we do not have these add-ons installed on our environment. Right now it is a bit of an overkill to implement them for this functionality.

Best regards, Kristj?n


author: Bob Swift (personal)
body: [How to get all space permissions](https://bobswift.atlassian.net/wiki/display/CCLI/How+to+get+all+space+permissions?src=sidebar) might help.


Tags: cloud

permission

space
Could not lookup datasource successfully
Asked by Fran?ois:

Hi,

I tried to connect to a mysql database located on a remote server.

I ve added my config in the server.xml like this:

\<Resource name="jdbc/confluence" auth="Container"  
type="com.mchange.v2.c3p0.ComboPooledDataSource" driverClass="com.mysql.jdbc.Driver"  
jdbcUrl="jdbc:mysql://mydomain/confluence?autoReconnect=true\&amp;useUnicode=true\&amp;characterEncoding=UTF8"  
user="confluence" password="confluence" factory="org.apache.naming.factory.BeanFactory"  
acquireIncrement="1" minPoolSize="5" maxPoolSize="25" maxIdleTime="1800" /\>

But i get this error:

* Could not lookup datasource successfully: com.atlassian.config.bootstrap.BootstrapException: Could not locate datasource: jdbc/confluence

Thanks for your help.


Answers:
author: Douglas Griffiths
body: Did you get an answer, Francois? I've got the same...

comments: author: Fran?ois
body: Actually i forgot the idea to connect to a remote database... i'm not sure we can do that and i copy locally the database.


Tags: confluence-administration

jdbc

mysql
Is there any way to delete a revision in the issue history?
Asked by Ashley Raiteri:

*This question is in reference to Atlassian Documentation: [Viewing an Issue's Change History](https://confluence.atlassian.com/pages/viewpage.action?pageId=720416460)*

One of our team members accidentally put sensitive information into an issue's description. I've edited the issue, but I really need to remove this sensitive information entirely from the issue. Can we edit the issue history? Or perhaps completely delete the issue and create a new one? Will that remove it entirely from the JIRA data stack?


Answers:
author: Paulo Junior
body: Hi Ashley,

There's a very similar topic here: <https://answers.atlassian.com/questions/28905>

Thought it's not recommended, you may delete items from issue history, as long as you delete the respective entries from changegroup and changeitem tables.

Please make sure to backup your instance prior to any changes.


author: Nic Brough -Adaptavist-
body: It is possible only with SQL hacks (not recommended). Deleting the issue is the right approach - it will remove it (and the history) completely. Although I'd create the new version first, so you can copy and past what you need from the one you're going to scrub.


Tags: history
HI, We have added a user to respective space in gbiconfluence.corp.apple.com .Previously he used access the specific link but later on he was unable to access.He was added to all appropriate groups and read access has been given to him for the space.Coul
Asked by raghu datta:

HI,

We have added a user to respective space in [gbiconfluence.corp.apple.com](http://gbiconfluence.corp.apple.com) .Previously he used access the specific link but later on he was unable to access.He was added to all appropriate groups and read access has been given to him for the space.Could you please help us how to fix the issue.


Answers:
author: Nic Brough -Adaptavist-
body: "unable to access" does not tell us anything about what is wrong.

What is the error message?


Tags: cloud

confluence-cloud
Editing Office Files.
Asked by Vivek Anand:

How many users can open and edit office files at a time. How would one get to know if that file is currently opened by any user or not ?


Answers:
author: Nic Brough -Adaptavist-
body: As many as you want. There's no way for a server to know when a client machine has a file open, so you have to have your users comminicate if they are going to try to edit the same files.

There are a couple of ways to do "file locking" to prevent two users editing files - I've used Arsenale's Lockpoint in the past (there are other add-ons I think, but I'm not familiar with them)

comments: author: TomC
body: +1 on Arsenale Lockpoint for file locking. Lockpoint also has a useful feature where it displays WHO has the file open for editing. Other users can then either use Lockpoint's feature to be notified via email when the file is unlocked (i.e. available for editing) or can employ direct means to contact that user if they need to get edit access to the file asap.
Confluence external URL
Asked by Andrew McCulloch:

Hi, I have just finished installing confluence and I am able to access it on our network but I cannot access it externally. What needs to be done to enable external access to our Confluence installation?


Answers:
author: Nic Brough -Adaptavist-
body: This is more about networking and routing than Confluence, but it's always a good question.

You need to establish a route from \<external\> to where-ever your Confluence is running. The simple answer here is "talk to your network administrators" - it's their job really, as they need you to tell them where it should be located and then they can configure the way to do it.

As a rough example, I am rebuilding an Atlassian stack at home. Confluence, JIRA, etc. The servers running them work fine when I hit 192.168.0.120/121/122/..., when I'm at home. To make them accessible when my laptop is not at home, I told my router to forward incoming https traffic to a web-server that proxies them (so <https://me/jira> goes to 192.168.0.120, <https://me/conf> goes to 192.168.0.1 and so-on)  

That really is a very very simple case, but hopefully, it gives you a starting point to take to your network team. They need to give your external users a route to your Confluence.
Is there a free plugin or macro to create tabs?
Asked by Nicolas Casel:

As I'm very budget-limited by my client, I would like to know if there is a free plugin or macro that displays "tabs" or "cards", in the same way as Composition or Navitabs.

Thanks in advance,


Answers:
author: Stephen Deutsch
body: Yes, there is:

<https://marketplace.atlassian.com/plugins/fr.spectrumgroupe.confluence.plugins.formatting.macros/server/overview>

They're currently free (since it entered in the Marketplace \~1 year ago), but no guarantee that it will remain so in the future.

comments: author: Nicolas Casel
body: Excellent Stephen!

This plugin offers even "Page status" and "progress bar" macros.


author: Eric Rodewald
body: It's funny how fast things change. It's paid now, and it's exclusively for Hosted instances. Bummer.


author: Stephen Deutsch
body: Although it's also only for hosted instances, the HTML Elements Marketplace App:

<https://marketplace.atlassian.com/plugins/com.keysight.html-elements/server/overview>

Also has tabs, and it should stay free.


author: Riya
body: Yes it is. Please try this

[https://marketplace.atlassian.com/apps/28632/navitabs-tabs-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/28632/navitabs-tabs-for-confluence?hosting=cloud&tab=overview)


Tags: card

confluence-administration

tab
how to use inline comments on pages with no plain text?
Asked by Alex Bernardin:

Our designers sometimes create confluence pages that consist almost exclusively of H2 text and tables with screenshots.

* Heading text can't have an inline comment applied
* images can't have inline comments applied
* text in table header rows can't have inline comments applied

which basically means I can't use the inline comment feature. Most recently I tried editing the doc to put a single letter into the content near where I wanted to comment (a tedious and clumsy solution) and I still got an error that the text was inside a macro and couldn't have my comment applied.

Is there a straightforward solution to this that I'm missing?


Answers:
author: Jan Anderson
body: We are also having this same issue and would really like to see this fixed soon. It is very annoying to have to add inline comments on some other text that where it applies due to this issue.

I didn't see anything in the 5.10.x release notes that indicates this might be fixed already in one of the newer versions.


author: Kate Barrett
body: Having this same issue!!!


Tags: cloud

confluence-cloud
There was no Start Sprint button displayed.
Asked by Jerry Hogan:

*This question is in reference to Atlassian Documentation: [Planning your sprint](https://confluence.atlassian.com/pages/viewpage.action?pageId=764477864)*

After setting up the sprint the turorial said to click Start Sprint. There was no Start Sprint button to click.


Answers:
author: veera praneeth
body: There are some conditions to check first here. Firstly, you need to have the permission to start a sprint, depending on permission scheme being followed. A sprint can only be started after adding the required issues from backlog to the sprint. Then you will be able to see the Start Sprint button opposite to the sprint name.Also once the sprint is started, you wont be able to add issues to the sprint.


Tags: cloud

plan

sprint
Confluence page permission to edit
Asked by Ahmed Alghamdi:

the confluence adminstrator has provided me the permissions to edit a page in our confluence space. However I can not see the editing option? what's going on here? he doesnt know what could be the problem too. I could see the red-locker with me giving the editing ability but i dont see the editing function on the page? look at attached for clarification! thank you for your help

aaa.PNG  
[](https://community.atlassian.com/t5/Confluence-questions/Confluence-page-permission-to-edit/qaq-p/193870?attachment-id=9423){#link_1186f71ed61ce9}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/32656/1/aaa.PNG){#display_1186f71ed61ce9_0}


Answers:
author: TomC
body: Ahmed,

The screenshot shows that you have Page-level *Restriction* edit rights, but the space admin should check if you have space-level *Permissions* to edit.

For that, the Space Admin goes to*Space Tools\>Permissions\>Edit Permissions* (button) and makes sure that you have *Page:Add* rights, then clicks Save.

Is that it?

comments: author: Ahmed Alghamdi
body: ++I will send him your answer. I hope that will solve it. I know there are many other pages in the space, he just want me to have permission in that specific page. will check++


author: TomC
body: I hope it does too.

A bit more background on this: For one to have edit rights in any page in a Confluence space, one MUST have the space permissions to do it first. The page-level restrictions takes the universe of all those who have view or edit rights in space permissions and says, "on this page, only this person, persons and/or group(s) can use their view/edit permissions".

If they are uncomfortable with you having edit rights elsewhere, there is a discussion to be had. We have hundreds of spaces and few of these concerns because of course Confluence tracks all page edits and if someone is watching the space in question, and notices someone has edited something they shouldn't, it's easy to roll it back through Tools\>Version History\>Restore.

Good luck! Comment back if you have anything else but hopefully this answer is what you're looking for (if so, just click the checkmark to signal that).


author: Ahmed Alghamdi
body: it worked! thank you very much


author: TomC
body: Great, Thanks for looping back!


author: Duncan
body: I've just had the same problem presented to me by a User, the above solution worked perfectly! Thanks.


author: Rilwan Ahmed
body: Space permissions are granted at the space level, whereas page restrictions are designed to take away said permissions.

If there are no space permissions to take away, then page restrictions do nothing.

If there are no page restrictions but you still can't view or edit, it's because you don't have the necessary space permissions.

comments: author: Georges-Henry PORTEFAIT
body: What if

* the user has all the space permission
* there is no restriction on the page
* the edit button is present

But when in edit mode, the user cannot change anything on the page !!

Any clues welcomed


author: Rilwan Ahmed
body: This could be issue with cache. Ask to clear cache and retry.
can I restrict a space access to all other confluence administrators but allow some other standard users ?
Asked by Julien busi:

I need to keep a space under a certain confidentiality level and I want to restrict access to other administrators. I also want to avoid other admin to change the setup in the future. Is it possible or not ?


Answers:
author: Julien busi
body: Dear all,

Any comments to answer my current issue to create a space not accessible to other confluence administrators ? Thank you in advance for your feedback :wink:


author: veera praneeth
body: Yeah, go to Space tools, in the Permissions Tab, you can allow access for a certain group. You can create a group of people and allow give them permissions in the Permissions Tab. The good thing is that you can control their view / edit permissions of the group.

comments: author: Julien busi
body: thank you for your answer.  
Actually my main concern is to restrict the permission of other "confluence-administrator" to manage this group \&/or space. How can I avoid other administrators to add people in this group and consequently to access/administrate this space that I want to keep with a very high confidentiality level ?  
Thank you again for your help.


Tags: confluence-administration
Is it possible to create a confluence form that submits data to an external database, if so what are some ways to do this.
Asked by David Bekkerus:


Answers:
author: Rafael Franco
body: Hi David,

My name is Rafael Franco and I'm the Tech Lead for the Product Team here at Adaptavist. Submitting Form data is a very typical use case in Confluence, thus we've created a plugin that allows users to create Forms dynamically and submit them into Confluence's internal database. In regards to an external database, we've considered this option, but we found it would add additional complexity to users and thus in most cases the internal database is all that users need. If really needed, we save the Submissions of each Form in a separate table, thus it would just be a matter of exporting that table and then manipulating it. Regardless, you can always visualize the submitted data inside Confluence.

<https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.formMailNG/server/overview>

You can request a trial version and try the plugin for 30 days. Let me know if you need any further assistance.

Regards,

Rafael


author: Bob Swift (personal)
body: You can use the [Run macro](https://bobswift.atlassian.net/wiki/display/RUN/Run+macro?src=sidebar) (form) from [Run Self-Service Reports for Confluence](https://bobswift.atlassian.net/wiki/display/RUN) together with the [SQL Macro](https://bobswift.atlassian.net/wiki/display/SQL/SQL+Macro?src=sidebar) from [SQL for Confluence](https://bobswift.atlassian.net/wiki/display/SQL) to query or update external SQL databases.


Tags: aui

forms
Backup All Confluence Spaces and attachments
Asked by Daniel Vangrieken:

*This question is in reference to Atlassian Documentation: [Create a site backup](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765526)*

When I follow the documentation I can only see that this is ongoing. From the moment the page is refreshed or whatever nothing is seen... no link after x-hours, x-days. Is it the purpose that you leave the screen open (I did almost for 6 hours without any deliverable.

Due to the closing of our organization I require ASAP a full confluence backup which then later can be restored on the another Server / Cloud Atlassian infrastructure.

Kind regards,

Daniel


Answers:
author: Rachel Robins
body: Hi Daniel, I'd recommend contacting our support team support.atlassian.com directly to get some help troubleshooting this.

They may also recommend other strategies (such as a database and home directory backup) for backing up your instance to make sure you have no problems restoring it later.


Tags: backup

cloud

confluence-cloud
Epic Sum Up not displaying in Confluence correctly
Asked by Ryan Deyer:

My team feeds a lot of JIRA data over to Confluence for the rest of the company to see in status reports. In Confluence if you add a field using Epic Sum Up (JIRA plugin that makes a custom field with a progress bar) to a standard JIRA Issue/Filter, it does not correctly display the progress bar but instead just shows numbers in Confluence. I'm wondering if there is a way to fix this or if this is just a limitation?

One way I know to work around it is to install into Confluence the JIRA gadget for Filter Results. That will display the progress bar correctly, but the Filter Results has its own set of limitations with displaying in Confluence so I'm trying to avoid that route.


Answers:
author: Andreas Haaken _APTIS_
body: Hi Ryan,

I think the gadget way from JIRA to Confluence is the only way to display the progressbars correctly, as the JIRA Marco in Confluence does not support custom field renderers at all..


Tags: addon-aptis.plugins.epicsumup
Recommended size of profile image?
Asked by Andrei Scheibner:

I am working with Confluence 5.9.9. Which dimensions should a new image for the own profile have, to be not unnecessarily scaled?

Thanks in advance


Answers:
author: MadelineBarr
body: Hi Andrei,

Here's what I do on our Confluence system.

We are using Confluence 6.2.4. The profile image is displayed at different dimensions in different areas.

I've noticed the dimensions used in the following areas:

* 16 x 16 pixels - user picker
* 24 x 24 pixels - upper right corner
* 32 x 32 pixels - icon used to display you are editing
* 48 X 48 pixels - people profile, personal space logo, blog post, profile macro, etc.
* 128 x 128 pixels - setting your profile image

I don't want to use a large size image when it's displayed in a small space. Since 48 x 48 pixels is the most commonly used, I scale my profile images to this size. I like to choose clear images without a lot of detail so the smaller sizes look decent as well. (I didn't follow this method on this site.)

Hope this helps answer your question. Sorry to see it took 3 years to receive an answer.

Madeline

comments: author: MadelineBarr
body: As an extra note, 128 x 128 works well too.


author: Andrei Scheibner
body: Is there really no answer to this simple question?
hide meeting minutes in page tree
Asked by Patrick Sullivan:

*This question is in reference to Atlassian Documentation: [Configure the Sidebar](https://confluence.atlassian.com/pages/viewpage.action?pageId=317194694)*

When I add meeting notes to a space, I find that meeting notes now shows up both as a space shortcut and in the page tree. Same thing for retrospectives, product requirements. How can I set these up so they just show as Space Shortcuts? See below for example.

dups make sad face.png

Thanks!  
[](https://community.atlassian.com/t5/Confluence-questions/hide-meeting-minutes-in-page-tree/qaq-p/337784?attachment-id=10984){#link_1186f7cdd6dab4}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184505/1/dups%20make%20sad%20face.png){#display_1186f7cdd6dab4_0}


Answers:
author: Rachel Robins
body: Hi Patrick,

The shortcuts are designed to give quick access to pages that are already in the page tree. But it is possible to hide the actual page if that is what you need to do.

If you go to Space Tools \> Reorder Pages and then drag the Meeting notes page to the root of the space, so it is no longer a child of the home page. This will prevent the page appearing in the sidebar, but it will still be accessible via search or via the shortcut on the sidebar.


Tags: side-bar