youngmon/atlassian-qna huggingface dataset:
How can I define SQL query with external pararameter
Asked by Agnieszka Kleczko:

I'm using SQL Query for Confluence. I'd like to define report that will have input text as parameter for SQL query. Is this possible ? How can I do that ?


Answers:
author: Bob Swift (personal)
body: You can use [Run Self-Service Reports for Confluence](https://bobswift.atlassian.net/wiki/display/RUN/Run+Self-Service+Reports+for+Confluence) macros to put up a form with a parameter that can drive the [SQL-query Macro](https://bobswift.atlassian.net/wiki/display/SQL/SQL-query+Macro). Here is a simple example: [Run example](https://bobswift.atlassian.net/wiki/display/RUN/Run+macro#Runmacro-Runexample).

comments: author: Derek Broughton
body: That's quite disappointing. Your documentation tells me I can use a true SQL Parameter (ie, with ? ), but every example on the page you reference here is open to SQL injection attacks, and I can't find anything in the SQL-query documentation that combines SQL parameters with Self-service Reports.
SQL Macro inside of Page Properties Macro
Asked by Paul Rogers:

Is there a way to use the Bob Swift Atlassian Add-ons - SQL (Pro Edition) macro inside of the page properties macro?


Answers:
author: Betsy Walker {Appfire}
body: Hi @Paul Rogers -

After doing some investigation, it appears that currently a table created by the SQL or SQL Query macros aren't handled correctly by the Page Properties Report macro. They look okay from a visual perspective, but the Page Properties Report macro doesn't see them and thus the report show zero results.

I've opened an improvement request for you (<https://bobswift.atlassian.net/browse/SQL-385>) so we can put this on our product roadmap.

Thanks!

comments: author: Dr Yann Golanski
body: Any update on this?...


author: Paul Rogers
body: Betsy,

Thanks for looking into this!


Tags: confluence-administration
Plugin redirect url 404 error
Asked by Dmitry Strunkin:

Hello!

I'm trying to set up task-synk-plugin. I've made all the setting as described in "Task Sync Plugin Configuration" page.

My Google settings are:  
Client ID  
*[m](http://968478892039-q6ib905tm2vl43tjci5c8plvot3ao6qr.apps.googleusercontent.com)y_id*  
Client secret  
*my_secret*  
Redirect URIs  
* <http://wiki.shtrafy-gibdd.ru/confluence/plugins/servlet/googleoauth2callbackservlet>  
JavaScript origins  
* <http://wiki.shtrafy-gibdd.ru>

When I've tried to "Connect whit Google Tasks" I was redirected to Google account selection, then to Google permission select, but after accepting the settings I see a 404 error page with the following url: <http://wiki.shtrafy-gibdd.ru/confluence/plugins/servlet/googleoauth2callbackservlet?code=4/VeY1devq38awBq9KWSSkEi1XOP3RlNWtas7sLLGRl_U>

What should I do to configure the plugin?


Answers:
author: Dmitry Strunkin
body: Could someone help?


Tags: confluence-administration
Disable alphabeticaly sort by default
Asked by Andrei Pisklenov:

We use Global and Documentation theme (Confluence 5.8). By default in left page tree we have alphabetically order for all new pages. If we just once change page order manually (space operations), all new pages will add to the bottom of page tree.

<br />

How to disable alphabetically sort by default?

We need to new pages always add to the bottom of page child list (in page tree).


Answers:
author: Alex Yasurek
body: HI,

There is an option in the hierarchy view to change how pages are sorted? Have you tried to change it there to see if it changes the way new pages are added? Tools-\> View in Hierarchy then click on the icon next to parent pages in the list. The icon has "AZ" and a down arrow in it.

comments: author: Andrei Pisklenov
body: We don't want to use any sorting. We need disable all sorting by default.Our case:All pages will create in the bottom of page tree. Without any page sorting.


author: Alex Yasurek
body: You are able to undo sorting by clicking on the icon I mentioned. I think by default it is set to sort alphabetically but if you click on that icon next to parent pages then it turns it off. Give it a try and see if it works for you.


author: Andrei Pisklenov
body: Alex, we knew about this button)But we create more than 100 spaces each day, and we need to disable any sorting by default for ALL new and exist spaces.


author: Alex Yasurek
body: Oh ok I see now. I don't think there is a setting in Confluence where you can turn that off across all spaces. I will take a look and see if I can find anything.


author: Andrei Pisklenov
body: Thank you for any help!


Tags: confluence-administration
Documentation Theme broken?
Asked by Ed Schriger:

Was there a Confluence OnDemand change over the weekend July 17-19?

The Tree/List view that is normally visible in the left hand side bar is now pegged to the top of the page.

It cannot be toggled off and on.


Answers:
author: Steven F Behnke
body: Hey all, I posted an answer over here: <https://answers.atlassian.com/questions/22642979>. It's clear some reference or css or something changed, perhaps a shared resource. Unintentional, assuredly. Find the bug reports below. It sounds like they're doing rolling updates. There was a workaround, although I didn't read what entailed.

| Description |                   JIRA issue                   |
|-------------|------------------------------------------------|
| Original    | <https://jira.atlassian.com/browse/CONF-38541> |
| Duplicate   | <https://jira.atlassian.com/browse/CONF-38545> |

I should note, the Documentation Theme has been deprecated for quite some time, and will NOT be included in Confluence 6.0.

* <https://confluence.atlassian.com/display/DOC/Using+the+Documentation+Theme>
* <https://confluence.atlassian.com/display/DOC/End+of+Support+Announcements+for+Confluence>
* <https://jira.atlassian.com/browse/CONF-38256>


author: Herb Warren
body: Same here, for what little it matters. I have confirmation company-wide, and on Chrome, Firefox and IE 11.


author: Steve Olson
body: Seeing the same...


Tags: cloud

confluence-cloud
Confluence Spaces Navigation Menu
Asked by Roshini Chandran:

I need help! I just setup our Confluence cloud and I created a space with multiple pages. The navigation menu was showing up on the left of the page but suddenly its decided to go on the top of the page.

Can someone please help!


Answers:
author: Steven F Behnke
body: It's clear some reference or css or something changed, perhaps a shared resource. Unintentional, assuredly.

I should note, the Documentation Theme has been deprecated for quite some time, and will NOT be included in Confluence 6.0.

* <https://confluence.atlassian.com/display/DOC/Using+the+Documentation+Theme>
* <https://confluence.atlassian.com/display/DOC/End+of+Support+Announcements+for+Confluence>
* <https://jira.atlassian.com/browse/CONF-38256>


author: Steven F Behnke
body: Find the bug reports here:

| Description |                   JIRA issue                   |
|-------------|------------------------------------------------|
| Original    | <https://jira.atlassian.com/browse/CONF-38541> |
| Duplicate   | <https://jira.atlassian.com/browse/CONF-38545> |

comments: author: Paul Alexander
body: Good to know, Steven. My instance's nav it still at the top of the page, but it seems some customers are starting to get the fix deployed. Patience...


author: Steven F Behnke
body: Most of my customers don't use that theme, so I've actually not followed it closely. It sounds like they're doing rolling updates. There was a workaround, although I didn't read what entailed.


author: Roshini Chandran
body: Thanks! Its fixed for me now :smile:


author: Paul Alexander
body: Yeah, what's going on Atlassian? It looks like this problem was introduced late this afternoon Pacific Time. Navigation is docked at the top of every Confluence page - no longer in the left hand panel. Using the hide nav button drops you out of the space and back to the space inventory page.


Tags: cloud

confluence-cloud
KB Articles not showing up in search results?
Asked by Chris Scott:

Hello,

I am running Atlassian Confluence 5.7. We use Confluence in part to run a Knowledge base for our IT environment. When a new KB article is created, it does not show up in search results, or when clicking on a label to view related articles. This has only been happening for a month or so. Any ideas?

Thanks,

Chris


Answers:
author: Milo Test
body: Did you try a manual reindexing of the site?


author: Chris Scott
body: I just completed that. It fixed the issue for searching. When you click on a label however it does not show the articles. I just went to one of the articles in question, and it said there were no associated labels. This may be a bug, because those labels were created when I wrote the Knowledge base article. I re-entered the labels on the article and now it shows up.

Thanks for the reply!


Tags: confluence-administration
Can Confluence be configured to send HipChat notifications only, no email notifications?
Asked by Juan Peraza:

I configured a HipChat room with a Confluence space so we can receive notifications in the room whenever changes are made to the space. I noticed we now receive notifications both in the HipChat room, and via email. Can the notifications for the space be configured so that we only receive the HipChat notifications, and no email notifications?


Answers:
author: Juan Peraza
body: Our Confluence space is configured to notify our HipChat room when 1) A page is created, 2) a page is update, and 3) a blog post is created.


author: Steven F Behnke
body: What are your HipChat notification settings?


Tags: confluence-administration
attachment macro
Asked by Bj?rn Eitmann:

Hi\*

I want to show 3 different attachment macros on one confluence page. Possible? Or do i have to work with sup-pages and a excerpt-plugin?

Best,

Bj?rn


Answers:
author: Milo Test
body: I got it to work by having the groups of docs in different spaces, where I put the Attachments macro within the Excerpt macro. Then on the "Your docs" page, put an Excerpt Include macro for each group pointing to each of the other pages.


author: Bj?rn Eitmann
body: I want to have 3 attachment on one page called "your docs". The first macro shows 3 docs for team A, the second macro shows 3 docs for team B an the third shows 3 docs for team C. It's for each team a word-doc, an excel-sheet and a ppt.

I think i have to solve it via subpages or multiexcerpt.


author: Cedric_DEVAUX
body: Hi Bj?rn, You want different version of your file? If yes, I don't think your are able to show file version directly on your page but you can show all version of your files by clicking on attachment icon at the top of your page.


author: Bj?rn Eitmann
body: ok? but they all show the same files on my page?


author: Milo Test
body: You can definately use as many Attachment macros on a page as you want. I sometimes do this to list the different file types for clarity.


Tags: confluence-administration
formmail-ng not working
Asked by Matt Clemens:

After we upgraded confluence to version 5.8.5 and upgraded the add-on to 4.3.2 the form mails that we have are not working. The pages load and you can put in all the information but when you press the submit button nothing happens. The page does not attempt to do anything at all and no errors are generated in the confluence logs. I tried disabling and re-enabling the add-on but this did not resolve the issue.


Answers:
author: Divya Margani [Adaptavist]
body: Hi @Matt Clemens,

Hope this finds you well. Firstly, could you please confirm the versions of Confluence \& Form Mail that you were previously on.

Based on the information given by you, I recommend you to check if the Mail Servers have been configured. Since Form Mail version 4.1, the plugin has changed considerably and we suggest you to take a look at our documentation and make sure you haven't missed anything. <http://www.adaptavist.com/doco/display/FMCP/Form+Mail+Documentation>

If the issue still continues, we suggest you to create a support request via the Contact form on our website so that we can handle this enquiry through our formal process and ensure we can address this matter correctly.

Contact Form : <http://www.adaptavist.com/w/about/contact-us/>

We will troubleshoot this with you to isolate the cause and find the appropriate solution.

If you have any other queries, please do not hesitate to ask us.

Regards

Divya Margani

Support \& QA Analyst \| Adaptavist


Tags: addon-com.adaptavist.confluence.formmailng

confluence-administration
Confluence Search Box Macro
Asked by Rumceisz:

Hi Everyone,

does anybody know how to restrict the search to the current page?

<br />

Thanks,

Rumi


Answers:
author: Steven F Behnke
body: The old Lucen options to search on urlPath are broken. This used to let us search on a specific page. We are waiting for CQL to be rolled out to the site search, it hasn't happened yet.


author: Daniel Eads {unmonitored account}
body: Why not just use Ctrl+F in your browser?


author: Milo Test
body: I don't think you change the behavior of the main search field, but you can add a search field on your page and set it to only search certain pages and/or labels.

comments: author: Rumceisz
body: Hi Milo,how can you add search field to a page?


author: Milo Test
body: There are at least three included or free search macros:LivesearchPage Tree SearchSearch BoxEach has its own parameters for what to search. Page Tree Search is probably the best option for searching just the page it's on, as long as there are no child pages. The other two could be used to search a single page, but only if it is the only page in a specific space.
User login information
Asked by Hsu Yao Chang:

Dear Partners,

Would it be possible to find the information of each account login counts ? Thank you.

Best Regards


Answers:
author: Wayne Wong
body: Hi there,

I am sorry that Confluence does not store successful login count in the database.

For more info, you can refer to this document here :

<https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/security/persistence/dao/hibernate/UserLoginInfo.html>

Hope this will help.

Regards,

Wayne Wong


author: Hsu Yao Chang
body: Thank you for your kindly reply.

But it only get the information of user login failed count, not success count.

login information.jpg

Best Regards, Anderson Hsu  
[](https://community.atlassian.com/t5/Confluence-questions/User-login-information/qaq-p/419474?attachment-id=12416){#link_11882cabe4058e}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/71105/1/login%20information.jpg){#display_11882cabe4058e_0}


author: Wayne Wong
body: Hi there,

Kindly run below query to see the current failed login attempt of the USERNAME you want to reset:  

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `SELECT` `u.user_name, a.attribute_name, a.attribute_value, a.attribute_lower_value` `FROM` `cwd_user_attribute a ``inner` `join` `cwd_user u ``on` [u.id](http://u.id)` = a.user_id` `WHERE` `a.attribute_name = ``'invalidPasswordAttempts'` `AND` `u.user_name = ``'USERNAME'``;` |

Reference: <https://confluence.atlassian.com/display/CONFKB/How+to+reset+failed+login+count+from+Confluence+Database>

Hope this will help.

Regards,

<br />

Wayne Wong


Tags: confluence-administration
How do I view a version history of page templates using either the UI or Rest API for my ondemand Confluence application?
Asked by Chetan Uberoy:

For an ISO certification, we require versions of page templates to be viewable but I can't find any way to look at it in my ondemand Confluence. The list of Rest APIs also don't have any support for it. Please help@


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid it's not available on Cloud, at all.

I've got a feeling you could dig old versions out of the database on server versions, but I'm not sure.


Tags: cloud

confluence-cloud
Any plans for two factor authentication in Confluence
Asked by David Watson:

Hi

I am assessing the cloud version of Confluence for use as a technical knowledge-base. So its going to be handling some pretty sensitive information.

Are there any plans for enabling 2FA?

Thanks

David


Answers:
author: Timothy
body: I don't know whether Cloud will have those features but if you don't mind getting on a Server instance, we have CAC/PIV solution. We are also looking to release our RSA SecurID solution soon.

comments: author: David Watson
body: Hi TimothyThanks for your input but we are looking for a cloud based solution and I am interested in knowing whether the feature will be added to Confluence rather than looking to purchase a third party solution.Regards


author: Judy Chu
body: @Timothy Chin may i know more about CAC/PIV solution? I'm using server instance and we need TFA too. Many thanks!


author: Timothy
body: @Judy Chu,

Sure. This is the link to our docs (<https://doc.go2group.com/pages/viewpage.action?pageId=33882661>). You can also schedule some time there.


author: Titus
body: There are couple of 2FA add-ons available. But if those plugins will be enabled for Confluence cloud is up to Atlassian.  

For Confluence server, you can check out the benefits of our new 2FA Confluence add-on for two-factor authentication using your SecSign ID.  
<https://marketplace.atlassian.com/plugins/com.secsign.secsignid-confluence/server/overview>  

For a more detailed installation tutorial visit  
<https://www.secsign.com/developers/atlassian/confluence-two-factor-authentication/>


author: Daniel Eads {unmonitored account}
body: Vote/watch this open ticket with Atlassian: <https://jira.atlassian.com/browse/CONF-24322>

It doesn't look like the feature has been selected for development yet, but watching issues lets you know when they are about to be developed/have been released.


Tags: cloud

confluence-cloud
How can it be possible, that I am an admin without the permission to delete any page?
Asked by Jan-Marc Ehrmann:

I doublechecked on the configuration of another admin, who is currently able to delete pages and wonder why my user is not able to perform the action. All groups and permissions seems to be identical.


Answers:
author: Adrien Ragot 2
body: Being an admin gives you the permission to change permissions. Maybe check in the Space Permissions whether you're allowed to delete pages.


author: Sateesh Chandra
body: The Confluence admin group might not be granted permissions. Edit the page permissions and add the group to the relevant permission


Tags: cloud

confluence-cloud
On click of "Edit Document" should open excel but it generates some incompatibility error as Follows
Asked by Tushar Mohite:

ExcelIssue.png

[](https://community.atlassian.com/t5/Confluence-questions/On-click-of-quot-Edit-Document-quot-should-open-excel-but-it/qaq-p/302883?attachment-id=263){#link_11882d0af58ecc}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51128/1/ExcelIssue.png){#display_11882d0af58ecc_0}


Answers:
author: Nic Brough -Adaptavist-
body: The Office package installed on the user's computer is not capable of reading the files that have been uploaded into Confluence.

You'll need to fix the Office installation on the client side. All Confluence does with files is hand them over to the browser, it doesn't do anything "clever" with them that might break it in this way.
Does an unsaved page leave any trace that can be restored?
Asked by Evelin:

A user copied a page, then modified it, and after a considerable amount of work he tried to save the page but received an error message that this operation is not allowed (he did not report the full message text).

I know there is little chance but ... Is there any possibility to restore the content?


Answers:
author: Midori
body: Check if the page was saved as a [draft](https://confluence.atlassian.com/display/DOC/Working+with+Drafts)!

comments: author: Evelin
body: Thanks Ferenc - yes we checked that but the draft was saved in a very early state. Most of the work is lost, drafts stopped working at some point of time when the page was still open for editing. So, we wondered if there could be something in some kind of cache but probably that's not the case.


Tags: confluence-administration
How to customize jira create issue popup in confluence space
Asked by Yasin_Hassanien:

Please check [this](http://youtu.be/VzzBEkQ1t0w) to have a very good overview for what I need.


Answers:
author: Yasin_Hassanien
body: screenshot-voktech.atlassian.net 2015-07-18 23-03-26.png

Check the shot and its better to watch the video as well as below

[https://www.youtube.com/watch?v=VzzBEkQ1t0w\&feature=youtu.be](https://www.youtube.com/watch?v=VzzBEkQ1t0w&feature=youtu.be)  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-customize-jira-create-issue-popup-in-confluence-space/qaq-p/61047?attachment-id=7308){#link_11882d4c7bcc2c}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/10318/1/screenshot-voktech.atlassian.net%202015-07-18%2023-03-26.png){#display_11882d4c7bcc2c_0}


author: Nic Brough -Adaptavist-
body: I can't get that to play, could you explain the problem?


Tags: cloud

confluence-cloud

jira-cloud
Zen Foundation: Having problems with the Reveal macro
Asked by SallyD:

I have Confluence 5.4.3 with Zen 5.2.15. Everything I've read today says these two versions should be compatible but I'm not having any luck getting the Reveal macro to toggle the text in the Disappear macro. It's been a while since I played with these macros. Maybe I'm doing something wrong. I remember them being very easy though.

I have the Reveal macro followed by the Disappear macro. Both have the same ID, CellDetails.

Is that enough info to give me a hint?

Sally


Answers:
author: Maggie Modersohn
body: Hi @SallyD,

I'm jumping in for my colleague Ricardo here as this seems to be more of a commercial issue now. Would you mind contacting me at maggie at brikit dot com and let me know your SEN number (or the name of your organization, and I will find the SEN for you)? I'd just like to check your maintenance dates - maybe you can upgrade after all.

Thanks a lot,

Maggie


author: SallyD
body: Ricardo, Thank you for your reply. I'm not sure that I can upgrade. I was not allowed to renew my Zen license this year. I didn't even try to upgrade after it expired. I have a ton of pages that count on the Zen macros. Can I upgrade without a current license and still have things keep working?

Sally


author: Ricardo Martins
body: Hi Sally,

<br />

Just briefly tested the Disappear and Reveal macros with Confluence 5.4.2 and Zen 5.3.1 and they seem to be working properly. Could you try upgrade your Zen Foundation to the latest version (currently 5.3.1) and see if the issue persists. If so, please create a support ticket at: <http://brikit.atlassian.net> and we will investigate it further.

<br />

Ricardo


Tags: zen
Best Structure
Asked by Jason Buehler:

Hi,

We are going to use Confluence to manage multiple customers IT documentation. I am curious how to best structure this. Should we use a separate space for each customer or create a single space called Customer Documentation and then have them under that. At some point we may want to share a customers documentation with them possibly restricting certain pages.

Would like to understand how to best use this for customer documentation.

Thanks


Answers:
author: Milo Test
body: I going to guess that is some info that is duplicated throughout the documentation, at minimum support contact, warranty, etc. You really should consider separating these sections out into their own documents, then use the Include page macro in each document that they occur.

So if you go this route, it might make more sense to have all the repeated bits and the full documents in one space so that the includes can have the same read rights.


Tags: cloud

confluence-cloud