youngmon/atlassian-qna huggingface dataset:
How can I let "all users" see a list of all files, even if those files are stored on pages that are restricted from their viewing; (without creating a list, manually)?
Asked by Jeremiah Salamante:

How can I let "all users" see a list of files (document titles), even if those files (and doc titles) are stored on pages that are restricted from their viewing? How can I do this without creating a list of all the doc titles manually?


Answers:
author: Nic Brough -Adaptavist-
body: You can't.

Because: "are stored on pages that are restricted from their viewing". If a user can't see something, then they can't see it. There isn't another way to put this - they can either see it or they can't

You will need to make the files visible by allowing access to the pages, or by storing them elsewhere where they can be seen. Take the files attached to privileged pages and move them to globally accessible pages.


author: Milo Test
body: Put the attachments on their own page that is open, then use the Attachments macro on both the protected page as well as whatever page you let everyone see.


author: Jeremiah Salamante
body: Is there a way to reference and compile a list of the file names for public viewing, without giving them access to view the actual files?

comments: author: Nic Brough -Adaptavist-
body: No, because they can't see the pages that the files are attached to. It's still a potential security leak, so it's not allowed.
Anchor creation instructions incorrect: DO NOT use a space between words.
Asked by Reid Manchester:

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

After two years of fighting the anchor macro it seems that removing spaces from the anchor name during creation is the key to success.


Answers:
author: Reid Manchester
body: I assure you, entering a space in the anchor name does NOT work in our installed instance, version 5.9.1

Others in the forum appear to have the same experience.

comments: author: Rachel Robins
body: I have raised a bug for this here <https://jira.atlassian.com/browse/CONF-41385>

It would be fantastic if you could comment on the issue and provide an example of the type of link you're using (how you add the link - URL, Advanced tab etc).   

I was not able to replicate your issue in Confluence Cloud, so may be specific to Confluence Server perhaps.


author: Rachel Robins
body: Hi Reid, Confluence can successfully link to anchors that have spaces in the anchor name.

I find the most effective way to link to an anchor is to use the Advanced tab in the Link dialog. There you can enter the following examples to link to an anchor anywhere in your site:

```
#anchor titlePage Title#anchor titleSPACEKEY:Page Title#anchor title
```

All three of these examples work (in order they are: same page, another page, page in another space).

Where it gets tricky is when you are linking from an external site, and need to construct a full URL. This is where Confluence would automatically remove the spaces for you, so you end up with a URL that looks like this:

```
yoursite.atlassian.net/display/SPACEKEY/Page+Title#pagetitle-anchortitle
```

Note that the page title is actually repeated in the URL, and the anchor name has spaces removed.

What I've seen many people do in the past is to add a link to the anchor on the same page, and then copy the URL when viewing the page to make sure they get the correctly rendered URL.

Hope this helps


Tags: anchor
Can I post comment as an admin on behalf of a user ?
Asked by Jordan Cooperman:

I am the overall admin for a confluence site. Is there a way I can post a comment to one of the spaces on behalf of one of the space's users ? This one user is bad at posting comments and sends them separately by email (outside of Confluence) and then wants the comments posted to the space so I want it to be able to do it on her behalf and have it show up as coming from the user (with the Users profile showing in the comment).


Answers:
author: Nic Brough -Adaptavist-
body: Not on Cloud. There are a couple of "impersonate user" options for Server versions, but I don't think there's anything for Cloud.

This is a bit of a broken need though - she's behaving badly and losing you time, it shouldn't be up to you to have to fix it for her, you have a real job to do. I'd take her email away from her if she persists (I've done this before, albeit it wasn't for Confluence - stuck a 2 week delay on someone's outgoing email just to emphasise the point that it was the wrong way to do it)

comments: author: Stephen Deutsch
body: Actually, I think it's been possible for about 6 months now to be able to log in as another user for Cloud applications:

<https://confluence.atlassian.com/cloud/log-in-as-another-user-776994835.html>


author: Jordan Cooperman
body: Thanks for the quick response Nic.

Of course it's a broken need... and this is actually my only user who slips up. But it's a high maintenance (high paying) client - an external client I should mention - so cutting her off is not an option - and sometimes in my business (digital design agency) we accommodate prima-donna's - and make them pay for the extra time anyway :smile:

comments: author: Nic Brough -Adaptavist-
body: I've got one of those to visit soon myself, I know exactly how you feel. I don't get involved on the money side, but I do whine to my boss that I'm wasting my time doing their job for them because they're silly. He just pats me and tells me "don't worry, they're paying the bills for it"


author: Admin2
body: You could prefix "her" comment with " Comment by @username " ... that is my workaround for a similar situation!

Not ideal, but at least her profile would be mentioned and available from that.


Tags: cloud

confluence-cloud
View users in a confluence group?
Asked by Rahul Aich [Nagra]:

Hi All

Is there a way an end user can view the list of users in a certain group?

If yes, how?

Rahul


Answers:
author: Patrick Schindler
body: Hi,

If you know the name of the group, you can use the macro user-list for outputting a list of all current members of this group.   
But if you do not know the name of the group(s), you will have to ask your confluence administrator.

Greetings,

Patrick


author: Robert Ortner
body: If you use JIRA and Confluence with a shared user base - have a look at the JIRA usermanagement, there you can filter for groups

comments: author: Patrick Schindler
body: This requires that you have the privileges to do so. In our company, e.g., regular users have no access to the user management.
Get content on one page from several pages
Asked by Gregor Samsa:

Hello guys,

I am having 10 pages for different groups of people.

I am having the problem that several people have to fill in certain parts of "their" page.

I have to summarize all this content in one page to see, which tasks or input, which people have.

Any suggestions how to implement this use case in confluence?

I appreciate your replies!


Answers:
author: Stephen Deutsch
body: Either that, or you can include an excerpt macro on each page that you have to extract information from, and then use the excerpt-include macro on the page where you want to display it all. That won't do the summarizing, but if you need all the information, then that might be the way to go. You could also use a combination of this for content that has to be exactly duplicated and the Page Properties Report that Aleks talked about for stuff that needs to be summarized.


author: Nic Brough -Adaptavist-
body: Get the users to write their pages as they see fit.

Then create a summary page, with the include-excerpt macro to pull in the part of their pages that you want to share. (I'd create them a template with the macro ready for them, so they have a good example)


author: Aleks Yenin (Polontech)
body: Hi Gregor,

Try [Page Properties Report](https://confluence.atlassian.com/display/DOC/Page+Properties+Report+Macro) macro. Create a table on the child pages, with key/value columns, and the parent page can display those key/values in a table.

comments: author: Gregor Samsa
body: Thx for your answer! Do I need a special macro for a table with key/value columns? Kind regards!


author: Nic Brough -Adaptavist-
body: No, nothing special, you just use the [page properties](https://confluence.atlassian.com/doc/page-properties-macro-184550024.html) as linked to on the page Aleks gave


Tags: page

task
How do I move page in confluence from root to a space using powershell ?
Asked by Tejas Shah:

I have a page that I created using REST API, but it is getting created in root. I want it to be moved under a space hierarchy and also moved as a child item of one of the other page. I am using Powershell REST method and would like an example...


Answers:
author: Stephen Deutsch
body: To get the page to be created as the child of another page, you need to fill in the "ancestors" key:

<http://stackoverflow.com/questions/28468013/how-to-attach-a-page-as-a-child-of-another-page-in-confluence-rest-api>

<https://answers.atlassian.com/questions/5278993>


author: Aleks Yenin (Polontech)
body: Hi Tejas,

    Invoke-RestMethod -Uri ("http://localhost:8080/confluence/rest/api/content/3604482%22%3Ehttp://localhost:8080/confluence/rest/api/content/3604482%3C/a") -Method Put 

    -Headers 'Content-Type: application/json' $Credentials

     -Body '{"id":"3604482","type":"page","title":"new page","space":{"key":"Space you need to move to"},"body":{"storage":{"value":"<p>This is the updated text for the new page</p>","representation":"storage"}},"version":{"number":2}}'


Tags: cloud

confluence-cloud
Confluence plugin that displays different theme / appearance depending on the user group?
Asked by Adrian Reid:

I would like to be able to skin a Confluence space so that different user groups see a different skin. So for example when Company A logs into a space they see a skin with their own company colours and logo and then when Company B logs into the same space they see the same content but with their own company colours etc.

I think I can do this with a stylesheet but I also was wondering if there was a plugin for it? I l know Brikit and RefinedWiki make themes for Confluence. Can they also display different themes depending on the user?


Answers:
author: Nic Brough -Adaptavist-
body: I think the only add-on that supports theming by user group is Adaptavist's Themebuilder, and even that is just about hiding or showing elements of the theme by group (i.e. it's the same theme, but parts of it behave differently for different groups of users)

I would definitely look again at Brikit and RefinedWiki to see if they can do it, it's been a while since I used them.  

But I think you've got one theme per space basically, even if you can make every element different by group.

comments: author: Alex Yasurek
body: Yea your only bet here is ThemeBuilder or writing your own custom theme. We do something similar to what he is asking but we created our own theme and check group permission before displaying certain elements. ThemeBuilder allows you to do this also so if you dont want to build your own then that will be your best bet. He can try out the free trial of the plugin and see if it works for him. RefineWiki and Brikit don't have this kind of customization. The other one I am not 100% sure about is Enterprise theme by Bitvoodoo but if I remember correctly they also don't have this kind of customization he is looking for.


author: Adrian Reid
body: Thanks Alex and Nic


Tags: brikit

confluence-administration

refined-wiki
Can you keep track of the number of lines in a table in the page properties?
Asked by Arthur Jacquiau-Chamski:

A typical example using the "Product Requirements" blueprint available by default in Confluence:

The blueprint includes a "Requirements" table. Would there be a way to get the number of lines in this table as a variable and use it in the Page Properties macro? I would find that an interesting metrics to show in the Page Properties report.

Thanks!


Answers:
author: Monika Antos [Adaptavist]
body: There is no easy way to get that value populated dynamically. It is not an ideal solution, but I would start with adding new 'Requirements count' property to your 'Product Requirements' blueprint, and updating the count manually when you add/remove requirements.


Tags: cloud

confluence-cloud
Updating script runner from 2.1.17 to 3.0.16
Asked by Eitan Gur:

I noticed the difference between our live JIRA server that has the 2.1.17 script runner with 49 modules enabled (vendor [Jamie Echlin Ltd](http://blogs.onresolve.com/)) and the script runner on our test server which is 3.0.16, has 88 modules and the vendor is [Adaptavist.com Ltd](http://www.adaptavist.com/).

<br />

My questions are:

1. I guess that the modules are different because of the behaviors plugin is included in the new 3.0.16 also?
2. If I'll update the 2.1.17 script runner - is the vendor and the modules amount will be updated and stay compatible with all scripted fields that were made with the older version?

Thank you in advance!


Answers:
author: JamieA
body: As Nic said. In this case the difference in numbers of modules is partly due to behaviours, but mostly because JQL functions are now their own modules so they can be individually disabled.

The script fields should be fine... but see Nic's more complete answer.


author: Nic Brough -Adaptavist-
body: New modules generally mean new functionality (or sometimes, a re-organisation of the internals). In this case, some will be the Behaviours add-on being merged in, but others are new functions, and some may be down to re-organisation (I've not looked at the code, so I can't confirm that).   

The number of modules doesn't really matter that much to most users though, the only time an admin is that interested in the detail is if you want to turn one off to stop people using it.  

There is no way to say that your scripted fields will be compatible (it's the other way around by the way - Script Runner is not compatible with your scripts, your scripts need to be compatible with Script Runner). It depends on what they do and how - if they use functions in SR that have **not** changed in their implementation, then yes, your scripts are compatible and will continue to work fine. If they use functions that **have** changed, then they may function differently or even stop working. If that happens, you'll need to rewrite them.  

Most people have relatively simple and stable needs from the Script Runner, and don't experience many problems upgrading. But you need to examine and probably test every script, scripted field and behaviour does what you want in a test system before upgrading (I say "probably test" because when I'm upgrading, I can read some scripts and know that they'll work through experience. If you have any doubt, you definitely should test them). The common one at the moment is scripts stop working on upgrade because of changes in the way JIRA handles users when moving from 6 to 7 (not Script Runner, but JIRA!)


Tags: adaptavist

confluence-administration

scriptrunner
Is it possible to customize this page?
Asked by Janneke Bressers:

*This question is in reference to Atlassian Documentation: [Viewing All Pages in a Space](https://confluence.atlassian.com/pages/viewpage.action?pageId=411108738)*

I want to change the layout of this page. Is there a template that I can change?


Answers:
author: Sander Brienen [Avisi]
body: By default this is not possible since the All pages view in Confluence is part of the Confluence product. If you really need to change it, you can change the velocity template file in the product but I would not recommend that.


Tags: confluence-administration

documentation
conflunce html macro
Asked by Ming Ho:

i used a html macro to display a static table. A small piece of javascript is used to highlight the rows depending on table values. this works well on the preview screen. however, in the actual view, color highlight is no where to be found. does anybody know what is going on here?

below is my code in html macro:

\<html\>  
\<head\>  
\<script type="text/javascript"\>

$(document).ready(function(){  
$('#report td.status').each(function(){  
if ($(this).text() == 'failed')
{ $(this).css('background-color','red'); }

if ($(this).text() == 'passed')
{ $(this).css('background-color','green'); }

});  
});

\</script\>

\</head\>  
\<body\>

\<table id="report"\>  
\<tr\>\<th\>Builds\</th\>\<th\>Status\</th\>\</tr\>  
\<tr\>\<td\>1\</td\>\<td class="status"\>failed\</td\>\</tr\>  
\<tr\>\<td\>2\</td\>\<td class="status"\>passed\</td\>\</tr\>  
\<tr\>\<td\>3\</td\>\<td class="status"\>passed\</td\>\</tr\>  
\<tr\>\<td\>4\</td\>\<td class="status"\>failed\</td\>\</tr\>  
\</table\>

\</body\>  
\</html\>


Answers:
author: Steven F Behnke
body: This alternative works. Please note --

* Use *AJS.toInit* instead of document.ready
* Use *AJS.$* instead of *$*
* Don't place `<head>`, `<body>`, or `<html>` tags in the macro

```
&lt;script type="text/javascript"&gt;AJS.toInit(function(){  $('#report td.status').each(function(){    if ($(this).text() == 'failed') {       AJS.$(this).css('background-color','red');     } else if (AJS.$(this).text() == 'passed') {       AJS.$(this).css('background-color','green');     }  });});&lt;/script&gt;&lt;table id="report"&gt;  &lt;tr&gt;    &lt;th&gt;Builds&lt;/th&gt;    &lt;th&gt;Status&lt;/th&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;1&lt;/td&gt;    &lt;td class="status"&gt;failed&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;2&lt;/td&gt;    &lt;td class="status"&gt;passed&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;3&lt;/td&gt;    &lt;td class="status"&gt;passed&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;4&lt;/td&gt;    &lt;td class="status"&gt;failed&lt;/td&gt;  &lt;/tr&gt;&lt;/table&gt;
```


Tags: html
Is there any way to center the column headings?
Asked by BillW:

*This question is in reference to Atlassian Documentation: [Column Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=51872396)*

Is there any way to center the column headings, this would help with the UX. Thanks


Answers:
author: Milo Test
body: Just put the heading into an Align macro set to Center:

image2016-4-4 18:40:21.png

image2016-4-4 18:39:54.png  
[](https://community.atlassian.com/t5/Confluence-questions/Is-there-any-way-to-center-the-column-headings/qaq-p/423115?attachment-id=8546){#link_118719e91fb27c}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184634/1/image2016-4-4%2018%3A39%3A54.png){#display_118719e91fb27c_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Is-there-any-way-to-center-the-column-headings/qaq-p/423115?attachment-id=8547){#link_118719e91fb27c_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/184634/2/image2016-4-4%2018%3A40%3A21.png){#display_118719e91fb27c_2}


Tags: column
How do I edit the onboarding page that is triggered through <confluence>/dashboard.action?onboarding=true?
Asked by Don Donzal:

How do I edit the onboarding page that is triggered through \<confluence\>/dashboard.action?onboarding=true? I can edit the Welcome Message through Global Templates and Blueprints, but there's nothing to edit the onboarding pages. I've even found the system add-on to Disable the Onboarding Filter altogether. We like it, but want to add our own messaging and links to our own help docs. But I can't find anything on how to edit it or where it is.

<br />

Thanks,  
Don


Answers:
author: Steven F Behnke
body: There's no way to edit the content. You could edit the source files and that'd be about the only option.

comments: author: Don Donzal
body: Can you point me in the right direction for the source files? When an update to Confluence is done, will that delete any changes one might make to the source files?


author: Anne EQS
body: @\[deleted\], would be great to have the option to customize the welcome.action - or at least add a 'page' that is editable or a link to an page.


Tags: confluence-administration
can I disable the like feature on a per-space basis
Asked by Chris Riggins:

I would like to turn off the like feature on a per-space basis. Instead, I would would like to have Yes and No links for a "Was this helpful" question (like confluence has on its documentation pages\>


Answers:
author: Chris Riggins
body: thanks so much - works like a charm


author: Stephen Deutsch
body: In each space where you want to not see it, go to "Space Tools", "Look and Feel", "Sidebar, header and footer" and paste the following into the footer section:

```
{style}#likes-section { display:none; } {style}
```

As far as the "Was this Helpful" links, you'd have to figure out what functionality it is you need for clicking on the links/buttons.


Tags: cloud

confluence-cloud
how to edit context.xml file in step3
Asked by a deepika:

i have already installed tomcat. i want to configure postgreSQL to it .i am facing difficulties in editting the conf/server.xml file


Answers:
author: Nic Brough -Adaptavist-
body: "I am facing difficulties" tells us nothing of any use - your difficulty might be that there's a penguin using your laptop for all we know.
How do I remove users/groups from the Confluence Space Permissions page
Asked by Eric Landry:

*This question is in reference to Atlassian Documentation: [Add users and set permissions](https://confluence.atlassian.com/pages/viewpage.action?pageId=349635148)*

I seem to be able to add, but I don't see how to remove users. If removing is possible, where can I find that functionality?


Answers:
author: Eric Landry
body: Nevermind. Just deselect all and save.

comments: author: Milo Test
body: You can save time by just unselecting View and saving.


author: Jim Constant
body: Wow. That is completely un-intuitive.


author: Milo Test
body: ?\\_(?)_/?


author: Alisham
body: I've trying to find out how to remove group from space... until I read this post... I deselect all permissions and save... Bingo!, the group was removed. Arggh...


Tags: cloud

confluence-cloud

documentation
I want to maintain same table width
Asked by Moiz Ahamed:

I want to maintain same table size across the page irrespective of the content in it.

so that my page doesnt have tables with different widths. Is it possible ?


Answers:
author: Milo Test
body: You can use the HTML Table/Row/Cell macros.

Or a user macro:

<https://answers.atlassian.com/questions/35764318>


author: Stephen Deutsch
body: Just so you know, Atlassian is already working on a solution that will be available in Confluence 6.0:

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

There is also a Javascript-based workaround in the comments, but the Advanced Tables plugin is the most user-friendly way.


author: Alex Yasurek
body: Hi,

You can use a plugin like this [Bob Swift Advanced Tables plugin](https://marketplace.atlassian.com/plugins/org.swift.confluence.table/server/overview). You can set table width and columns widths in pixels so it will always be the same size. You would just need to wrap all the table within this macro and they should all be the same then.
Jira changes - After making Confluence HTTPS
Asked by Reagan Coats:

Do I need to make any changes to Jira, Stash, Help Desk after changing Confluence from http to https? I will follow the link below to make the confluence changes.

<https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html>


Answers:
author: Steven F Behnke
body: You should probably delete and re-create the application links. You may want to terminate the application links over HTTP only anyway. You may see some issues running some applications in SSL and some non-SSL.


Tags: confluence-administration