youngmon/atlassian-qna huggingface dataset:
What's the advantage of a dedicated space vs a child page?
Asked by Lars B?hnke:

Hi there! We are just setting up JIRA and Confluence and we have several topics for our product: engeneering (requirements etc.), documentation and user research.

I wonder whats better, creating a dedicated space for each topic or just use child pages. I am thinking about this for quite some time now and I am not really getting the advantages/disadvantages. Help is welcome!


Answers:
author: Nic Brough -Adaptavist-
body: Have a look at the configuration stuff for a space - those configurations apply across \*all\* the pages in a space, so they should determine whether you want to use a space or a child page.

If, for example, you want to have two different sets of users doing things, you will generally want separate spaces. Or different templates. Or different layouts. Or Or Or.

It's hard to give this as "advantages", it's more about how it fits what you want to do!


author: Steffi Frank
body: in some spaces we set key users as admins for example


author: Steffi Frank
body: some of the macros work only on space level - so, depends on your requirements. even restrictions could get configured on that level...


Tags: page

space
How to capture requirements with the blueprint
Asked by Lars B?hnke:

Hi you great community! Atlassian was so great to offer all Confluence users a blueprint for capturing product requirements. But for me, there are some questions left. I guess that there is no real/wrong (as always with such a free tool like Confluence) but I would like to learn about some best practices. Questions that araised:

It's easy to use the blueprint if you define a whole new epic with stories. But whats the way when improving/adding new feature to an epic? Adding new rows to the table below the first requirements page? Creating a new requirements page and linking the same epic?

Where do you capture acceptance criteria? I find it hard that you can only copy two values from the table to JIRA. I find the priority column not that helpful since you cannot link it to the priorty field in JIRA. We capture acceptance criteria in the notes column but you cannot use the notes column as the issue body if you do not want to lose title or story. Any ideas on this?


Answers:
author: Annie Ioceva _Nemetschek Bulgaria_
body: Hello Lars!

We use confluence on many projects to capture requirements and each project is different.

In regards to adding new features to an Epic - our practise is to split the new requirements into a new Epic e.g. first version of a feature, enhanced version etc.

Once an Epic has been described and stories are planned to be delivered in a Release, then we stop extending the Epic with new suggestions - because we willnever be able to deliver it. We find ths cleaner and easier to manage. In Confluence you can create a parent page to just contain all linked Epics. They will show flat in the requirements list.

In regards to Acceptance Criteria - once we split the requirements as Stories in JIRA, we start adding the details in JIRA, rather than extending the Confluence page. Because for the QAs it is easier to find the details in JIRA. The test cases are also in JIRA. There are JIRA Add-ons for managing Acceptance Criteria, but we most often use a separate field in JIRA. It may be on a second tab.

I hope this is helpful ;)

Have a nice day,

Annie


Tags: agile

blueprint

requirement
How do I redirect links in Confluence that point to an old base url, to a new one?
Asked by Aram Ghanimian:

Instance details: Confluence running as a windows service on windows server 2008 R2. Using Microsoft SQL server 2008.

We ran into an issue with our previous baseurl in regards to Oauth. A suggestion we followed was to modify the baseurl to reflect the fully qualified name of the DNS entry we made a long time ago. IE. http://wiki =\> http://wiki.\<companyname\>.com. But now we run into problems with links that use http://wiki/\<rest of the link\>. When a user is logged in at http://wiki.\<companyname\>.com, and they follow the link with just http://wiki, they are prompted to log in again. There is no clear answer in the community about how is this remedied so far.


Answers:
author: Aram Ghanimian
body: I was able to dig through answers.atlassian.com and found a question very similar to mine:

<https://community.atlassian.com/t5/JIRA-questions/Force-Jira-redirection-to-single-domain/qaq-p/367761#M197151>

This put me on the right path. urlrewrite is a great tool if you know what your are doing. It helps if you know a web developer to assist with this. Here is the manual for urlrewrite:

<http://cdn.rawgit.com/paultuckey/urlrewritefilter/master/src/doc/manual/4.0/index.html>

For my Solution, follow my first link and review Jim Burch's answer.

comments: author: AnnWorley
body: Thank you for following up, it really makes the community better when the Questions are solved.


author: AnnWorley
body: Please see this doc, I think it's just what you are looking for:

[How Do I replace all 'hard' links to my old Base URL](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html)

comments: author: Aram Ghanimian
body: Hi Ann,

Unfortunately, I am not using Linux in any of my instances. so the sed commands in the doc you suggested.

Option 2 looks close, and I am willing to try, but my question with that would become a DBA question in regards to reinjesting a txt file to a database. Do know anyone who has confirmed this works?


author: Aram Ghanimian
body: It would be best to have a top level redirect that takes the existing link and redirects it to the new base url.


Tags: base-url

dns
Can I set confluence-administrators group to only have Space Admin access?
Asked by Adam Rohrbach:

I have two AD-based groups but in case if that has an issue, I'd like to have a separate space admin for just the confluence-administrators group that is built into Confluence. Everytime I try, it removes the confluence-administrators group from the list of Groups.


Answers:
author: AnnWorley
body: Per [Confluence Admin Permission Levels Explained](https://confluence.atlassian.com/confkb/confluence-admin-permission-levels-explained-604209420.html):

* The [confluence-administrators](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html#GlobalPermissionsOverview-ComparingtheAdministratorPermissionswiththeconfluence-administratorsGroup) group defines a set of "super users" who can access the Administration Console and perform site-wide administration. Members of this group can also see the content of all pages and spaces in the Confluence instance, *regardless of space permissions*.

If you lose contact with the LDAP server, the members of the local confluence-administrators groups should still be able to log in and change the LDAP configuration, for example.

comments: author: Adam Rohrbach
body: Thanks!
using new Atlassian Performance Testing Framework on older versions of Confluence
Asked by Brendan Patterson:

Hi!

Does anyone know if the newly released "Atlassian Performance Testing Framework" will work to test older versions of Confluence?

<https://bitbucket.org/atlassian/elastic-experiment-executor/overview>

For instance Confluence 5.5.7? :)

And would it work against an existing server or only a server that the framework itself spins up? It's hard to tell and not well defined.

Performance optimization is something most Confluence customers look to capitalize on so any advancements or new tools in this area are always exciting.

thanks!

Brendan


Answers:
author: Brendan Patterson
body: Opps the system double posted my question and one cannot delete. Please refer to:

<https://community.atlassian.com/t5/Confluence-questions/using-new-Atlassian-Performance-Testing-Framework-on-older/qaq-p/594477>


Tags: performance
using new Atlassian Performance Testing Framework on older versions of Confluence
Asked by Brendan Patterson:

Hi!

Does anyone know if the newly released "Atlassian Performance Testing Framework" will work to test older versions of Confluence?

<https://bitbucket.org/atlassian/elastic-experiment-executor/overview>

For instance Confluence 5.5.7? :)

And would it work against an existing server or only a server that the framework itself spins up? It's hard to tell and not well defined.

Performance optimization is something most Confluence customers look to capitalize on so any advancements or new tools in this area are always exciting.

thanks!

Brendan


Answers:
author: Usman Khalid
body: Hi Brendan,

The Performance Testing Framework is only available to use with Confluence v6.1 and above. It is not compatible with any earlier versions.

As for running it, for now you can only use it against the new stack that it spins up in the amazon cloud. However, moving forward (hopefully very soon) it will be enhanced to work with existing infrastructure (such as staging environments etc).

We encourage you to keep using this tool and reach out to the community for help and feedback!

comments: author: Al Johnson
body: Hi Usman,

We have been looking for compatibility information and you are the only one to state that the PTF is only compatible with Conf v6.1+. Is this official? It's a lot of work getting the framework setup and we would like to know if it will even work or not since we are at Conf v5.10.8.

Can anyone else confirm this or update the docs with a Compatibility section including version info?

Thank you


author: AnnWorley
body: Glad to hear you are active in optimizing performance on your instance.

The overview you linked mentions that one use of the Performance Testing Framework is to compare versions so it should work with older versions.

It looks like your infrastructure can be separate. Please note the testing is only ready for Confluence Data Center and not the standalone server:

"Currently, the Performance Testing Framework can run experiments on Bitbucket Server, Bitbucket Data Center, and Confluence Data Center. All compute infrastructure can be provisioned automatically in the Amazon Web Services (AWS) cloud. Bitbucket Server and Data Center additionally support running experiments on external infrastructure."


Tags: elastic-experiment-executor

performance
How to filter the search with labels
Asked by Ayse Bulduk:

I need a search plugin, which only searches for Pages with a specific label.

In livesearch plugin it works fine, but only in the dropdown as livesearch. As soon as I klick ok, it shows all pages, without the filter.

The users can do it manually with labelText:xxx". However I need sthg to do it autmatically.

I hope someone could help me with the issue


Answers:
author: Stephen Deutsch
body: Are you on Server or Cloud?

For Server, there is [Canned Search for Confluence](https://marketplace.atlassian.com/plugins/com.akeles.plugins.confluence.cqlSearchUtilities/server/overview) (although it's a bit expensive)

For Cloud, I'm considering adding this feature to the existing [CQL Search](https://marketplace.atlassian.com/plugins/cql-search/cloud/overview) addon.

comments: author: Ayse Bulduk
body: Server, but it's too expensive. Thanks for the answer.


author: Stephen Deutsch
body: Hi Ayse,

I spent some more time and thought I would write some small code to solve your issue. If you place this code in your custom HTML:

```
<script>AJS.toInit(function() { $("form[name=livesearchForm]").each(function() {  if ($(this).find("input[name=labels]").val()) {   $(this).find("input[name=queryString]").on("keyup", function() {    var input = $(this).val();    var livesearchForm = $(this).parent().parent().parent();    var label = livesearchForm.find("input[name=labels]").val();    var spaceKey = livesearchForm.find("input[name=where]").val();    var newLink = "/dosearchsite.action?cql=siteSearch+~+\"" + input + "\"+and+label+%3D+\"" + label + "\""    if (spaceKey !== "conf_all") {     newLink += "+and+space+%3D+" + spaceKey;    }    livesearchForm.attr("action", AJS.params.contextPath + newLink);    setTimeout(function() {     var moreLink = livesearchForm.prev().find("a.search-for");     moreLink.attr("href", AJS.params.baseUrl + newLink);    }, 500);   });  } });});</script>
```

then it will change the behavior of the livesearch macro so that it filters based on the label in the main search as well (and also takes the space filter into account, if set).

If you don't want this to be active on all pages, then you could put it inside a user macro (just add ## @noparams to the top) and then add that user macro to the pages with the livesearch macro.


author: Rodolfo So
body: Hi [@Stephen Deutsch](/t5/user/viewprofilepage/user-id/781490) ,

Can you provide screenshots for this configuration that you mentioned above? Appreciate your help on this.


Tags: label

search
Questions: How can we retrieve answers from all users?
Asked by Amelio Vazquez-Reina:

We are hoping to incentivize the use of Confluence Questions in my company (\~ 300 employees) by giving prizes for the top-contributing users per tag. To do so, we are hoping to retrieve how many votes each user got for each question and answer, per tag. This will help us update an internal score board every month or quarter.

While I can retrieve questions from everyone with the API, I can only retrieve my own answers, even with the **admin** account.

E.g. the command below only retrieves the answers of \<username\>:

```
curl -u <username>:<password> -X GET https://<company_name>.atlassian.net/wiki/rest/questions/1.0/answer\?limit\=1000000000 | python -mjson.tool
```

How can we retrieve (using the API or any other way) the full list of answers from **all** users in the organization?


Answers:
author: AnnWorley
body: Would it be possible to use the experts leaderboard functionality built into Questions to satisfy your use case? Please review: [Votes and Experts](https://confluence.atlassian.com/questions/votes-and-experts-407724481.html) and let us know what you think.

comments: author: Amelio Vazquez-Reina
body: Thank you Ann. We definitely thought of doing so, but it doesn't give us what we need, which is:

* **Monthly/quarterly statistics** .To properly incentivize participation in our Q\&A site we need to reward behavior in e.g. the last quarter/month. The leaderboard only shows the cumulative score per user which leads to the result of having all-time top users always eclipsing other employees. It also does not reward employees for their regular and continued participation on the site.  

* **Statistics per tag**. We have many teams in the company and we want to reward top-contributors per team. We have a pre-defined set of tags for teams and squads and engineers can use them to target those teams. We would like to track activity around each tag. The current leaderboard only shows the account-wide top users, but some teams naturally generate or receive more questions than others.

With the API we were also hoping to slice and dice the data and analyze statistics with flexibility to detect more clearly pain points and knowledge-sharing problems across the organization.


author: Amelio Vazquez-Reina
body: Hi Ann. Do you know if Questions is a product Atlassian is actively working on? We would like to have a sense of the roadmap and the level of support before we start a subscription.


author: AnnWorley
body: Please see our Confluence Product Manager's answer to the following question and let me know if it covers your concerns:

[What is the future of Questions for Confluence?](https://community.atlassian.com/t5/Confluence-questions/What-is-the-future-of-Questions-for-Confluence/qaq-p/460467)


Tags: questions-for-confluence
Will setting MaxConnectionsPerChild for Apache HTTP server help or hurt
Asked by Walter DeMiller:

While upgrading Apache HTTP Server to version 2.4 to go with Confluence 6, I noticed the MaxConnectionsPerChild setting mentioned.

We have an issue with the Confluence server CPU usage maxing out from time to time, and have not found a permanent solution. Currently on Confluence 5.9.9.

I am wondering if anyone has used MaxConnectionsPerChild with Apache HTTP Server used for Confluence , and what the effects (positive and negative) were.


Answers:
author: AnnWorley
body: From this [Stack Overflow post](https://stackoverflow.com/questions/22732768/what-is-the-recommended-max-value-for-max-connections-per-child-in-apache-config), MaxConnectionsPerChild is a workaround for memory leaks, where you are experiencing high CPU usage.

To chase down the CPU spikes, please open a ticket at <https://getsupport.atlassian.com> and include the top output and thread dumps as described in [Thread dumps](https://confluence.atlassian.com/kb/performance-troubleshooting-tools-best-practice-652444218.html#PerformanceTroubleshootingTools-BestPractice-Whentogeneratethreaddumps) and [CPU Profiling](?https://confluence.atlassian.com/kb/performance-troubleshooting-tools-best-practice-652444218.html#PerformanceTroubleshootingTools-BestPractice-WhentouseCPUprofiling).

comments: author: Walter DeMiller
body: Ann, Thanks for the answer.

I forgot to say I have opened two or three tickets over time. We have tried the various proferred solutions such as changing the maxtotal. We have also disabled various modules and/in various plug-ins. The logs are not definitive

The issue returns after a while.

I saw where it said "MaxConnectionsPerChild is a workaround for memory leaks", but am wondering, if someone else has used it with Confluence, and what the experience was like for them.

Am hoping the upgrade to Apache 2.4 and Confluence 6.2 will fix it.
Confluence global blueprints
Asked by miglesias:

I have a need to create global blueprints (e.g. Development Plan, Risk Management Plan, Maintenance Plan, etc.) to be an option for every space. All of my blueprints sit within a single space but I need them to be global for all spaces. I am not seeing an intuitive way that this can be accomplished in Confluence server.

Alternatively, could I create a single space template that could contain all of these blueprints?


Answers:
author: EPS Software Engineering AG
body: Hi Michael,

Maybe our Space- or Page Tree Creator Add-on could help.

Check out our [Live Examples](https://focuspro.eps.ch/display/PEPSMarktExample/Marketplace+Examples) (no registration needed).

Regards,  
Stephan


author: AnnWorley
body: Creating a space blueprint seems somewhat involved:

[Write a simple Confluence Space Blueprint](https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-blueprints/space-blueprints/write-a-simple-confluence-space-blueprint)

To make your blueprints available on all spaces, you may add your global page templates to Confluence Admin\>Global Templates and Blueprints. The URL should be: \<Base_URL\>/pages/templates2/listglobaltemplates.action


Tags: blueprint

confluence-administration
Is it possible to bulk delete Spaces in Confluence.
Asked by Shivani Chhetri:

Hi,

There are around 60 Spaces that needs to delete in conflunece, and doing it manually is a big task. Could you please let me know if there is a way to bulk delete the spaces.

Conflunece Version:

* 5.8.10


Answers:
author: Andre Lehmann
body: Hi Shivani,

if you use the Bob Swift CLI you can automate that with a common action.  
Must be something like this:  
--action runFromContentList --cql "space in key1,key2,keyX" --common '-action removeSpace --space @space@' --continue

Within Confluence, there is no way to bulk-delete spaces.

Kind regards  
Andr?

comments: author: Maarten Cautreels
body: Hi Shivani,

Please also take a look at [this older question](https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-bulk-delete-spaces-in-Confluence-OnDemand/qaq-p/132918). It contains a lot of valuable information (similar to the post from Andre).

Best,

Maarten


author: Shivani Chhetri
body: Thanks *Andre and Maarten.*

*As there is no way to bulk-delete spaces within Confluence, I will have to check on the CLI.*

*Many Thanks,*

*Shivani*


author: tcooper_uk
body: Almost...

All spaces except for:  
--action runFromContentList --cql "space not in (KEY1,KEY2,KEY3)" --common "--action removeSpace --space ""@space@"" --continue" --continue  

Only X spaces:

--action runFromContentList --cql "space in (KEY1,KEY2,KEY3)" --common "--action removeSpace --space ""@space@"" --continue" --continue  

Full example with server info:  

.\\confluence.bat --server http://confluenceserver --user USERNAME --password "PASSWORD" --action runFromContentList --cql "space not in (KEY1,KEY2,KEY3)" --common "--action removeSpace --space ""@space@"" --continue" --continue  


Tags: confluence-administration

space
Hello! Why macros for excel is showed like for PDF? It is corrupted our reports.
Asked by Anastasiya Hodina:

![confluence.png](/t5/image/serverpage/image-id/1876i6488813B935B604D/image-size/large?v=v2&px=999 "confluence.png")

Could you please fix this issue?

**Best regards,**

**Anastasiya Hodina**


Answers:
author: Mirek
body: I think this is fixed in June 2022 but on Cloud only. Before the change indeed it was PDF. The updated experience displays an HTML rendering of the Excel file and includes a spreadsheet selector at the bottom of the view.

comments: author: Corey Habel
body: I still see the version that shows a pdf, how can I use the updated macro? This is on a brand new sheet.


Tags: macro
Can I create an expandable accordion for faq with sub folder accordions
Asked by Carlos Flores:

I want to create a tree accordion for faq. Each expandable accordion should have sub accordions under topics. The user can see all possible faq on one page using an accordion type tree structure.


Answers:
author: Mathilde Escudie
body: Have you tried the "[expand](https://confluence.atlassian.com/doc/expand-macro-223222352.html)" macro?

You can even insert an expand macro inside an expand macro to create your tree structure.

comments: author: Carlos Flores
body: Thanks Mathilde, I will try that.


author: Carlos Flores
body: Hi Mathilde,

Is it possible to add graphic icons and change font styles within the Expand macro? Or, is it something one would do on the CSS for that page?

Thanks, - Carlos


author: Mathilde Escudie
body: Inside the macro yes, but I don't think you can for the title for the "accordion".

Perhaps using CSS but i'm not an expert, sorry.


author: Carlos Flores
body: Thank you
User/Group Space Permissions
Asked by Peter Huhn:

I can figure out the group permissions for a single user by "view User" -\> "edit Groups"  

How/Where can I see the space permissions for a single user or a group?


Answers:
author: Thomas Schlegel
body: Hi Peter,

you can't do that with the User Interface. But there is an SQL that might help you:

<https://confluence.atlassian.com/confkb/how-to-list-which-spaces-a-user-can-access-321258272.html>

comments: author: Peter Huhn
body: Thanks for the quick reply.


author: Thomas Schlegel
body: you're welcome :-)

If you think your question is answered, please mark it as answered, so other users can find answered questions easier.


author: Roopraj Thapa
body: Where to run that sql query and is there any way to create a macro for this action


Tags: permission