youngmon/atlassian-qna huggingface dataset:
How can I make Confluence reapply default group memberships for a user?
Asked by Timothy Ford:

I would like to reset a user's status such that Confluence no longer remembers that the user has logged in. The specific reason I'd like to do this is that I'd like Confluence to re-apply the user's default group memberships the next time he or she logs in. Quoting from <https://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory>,
> In Confluence 3.5.2 and later, and JIRA 4.3.3 and later: The first time a user logs in, their group memberships will be checked. If the user does not belong to the specified group(s), their username will be added to the group(s). If a group does not yet exist, it will be added locally. On subsequent logins, the username will not be added automatically to any groups. This change in behaviour allows users to be removed from automatically-added groups. In Confluence 3.5 and 3.5.1, they would be re-added upon next login.

I would like to "reset" this so that the user will have the groups checked and applied on next login. How can I accomplish this?


Answers:
author: Steve Thornhill
body: Two ways spring to mind (neither ideal)

1 - Stop confluence and edit the users entries in the table to make them "look" like a new user

2 - Remove the user completely and re-add

Can you not just remove them from all unwanted groups and add them just to the default ones that are set up?


Tags: confluence-administration
I lost admin privileges in Confluence
Asked by Brett Lawrence:

We lost front end Admin privileges a few days after upgrading. How can we add the admin privileges in the back end to our admin users? We tried using [This article](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights) but had no luck. We see a user in the Confluence Administrators group but that user does not have the access either. How can we add a user to the Admin group? We are using a SQL server database.


Answers:
author: Septa Cahyadiputra
body: Hi Brett,

Sorry to hear that, before we discuss the mentioned article, may I know if you are using Crowd SSO. If you are not using Crowd SSO, you should be able to apply the workaround specifically mentioned [here](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights#RestoringPasswordsToRecoverAdminUserRights-nolocal).

That particular guide will help you create a new user and add it into `confluence-administrators` group which is a super-users with unlimited access to Confluence.

Please do let us know if you have any query regarding the mentioned documentation.

Hope it help.

Cheers,  
Septa Cahyadiputra


author: Nic Brough -Adaptavist-
body: It sounds like you've shut down most/all groups that could get full system admin rights.

On the link you refer to, there should be something about adding the right groups and users back into the admin rights via SQL (Bear in mind that Confluence needs to be shut down if you change data in SQL and restarted when you've finished). I'd work through that again, maybe with a clear new group called something obvious like "fix admin group"


Tags: confluence-administration
why can't I upload a word document to confluence
Asked by berri schroder:

I am having difficulty uploading a word document to Confluence, it contains photos, text and flow diagrams. It times out. File size is approx. 250MB.

Any ideas please?


Answers:
author: Mauro Badii
body: You can have a standard file size limit but also OnDemand has a 60 seconds timeout. Your internet connection upload speed should allow you to upload 250MB in 60 seconds. For that you'll need about 33.3Mbps of upload speed.

Cheers


author: Nic Brough -Adaptavist-
body: It's quite likely that your file size limit is set to the standard 10Mb. 250Mb is simply too large, and a timeout implies your networks simply can't handle it.


Tags: cloud

confluence-cloud
View JIRA information inside a Confluence page without a JIRA account
Asked by Lee Cash:

Hey,

This probably sounds weird but we have a scenario where we want to give someone external to our company access to our Confluence instance (hence we create an account for them) but we don't want the overhead of also creating a new JIRA account for them.

Some of our Confluences pages pulls in data from JIRA. Is there a way to configure Confluence to check if the user has an account in JIRA when accessing JIRA information and, if not, to default to a dummy user (which we could set up with very limited permissions) so that they don't get the "This user doesn't exist" error?

Or am I over-complicating this and there's an easier way to achieve the same results (a Confluence user is able to see JIRA content in a Confluence page without having a JIRA account.)?

Thanks in advance,

Lee


Answers:
author: Lee Cash
body: Thanks for the help,

It wouldn't be a problem creating a service account if it only had to be done once and set up accordingly. Can you point me in the direction of any documentation outlining this process.

Thanks again,

Lee


author: Timothy
body: If you are going to try to do it the right way, the general answer is no. The reason is all data is bound by permissions and it would be hard to get around it.

One workaround is to generate data using the SQL plugins that are available for Confluence that will read the database.

You might also want to create a service account to show this information but that defeats the purpose of "not creating another account".


Tags: confluence-administration
How to move "add comment" field above old comments in confluence?
Asked by Frank:

We use comments extensively in certain parts of our confluence instance to record customer interaction.

Therefore we already adjusted the order of the comments in a way that latest comments are displayed topmost instead of standard sorting.

**Now users requested to also move "add comment" field to be moved above the old comments, so that they will have to scroll less in order to add a new customer interaction.**

**How can we make this change? I assume it can also be done with custom HTML/JS?**

Appreciate any hint! :smile:

Happy Confluence!

Regards,

Frank


Answers:
author: Stephen Deutsch
body: Hi Frank,

at least on version 5.4, this piece of javascript did the trick:

```
jQuery('.bottom-comment-panels').remove().prependTo('#comments-section');
```

comments: author: Frank
body: great, works like a charm - thanks!


author: Susan Waldrip
body: Hi, I'm looking for this capability in Jira (JSM) Cloud, anyone know how to do this? I would appreciate your help!


author: Kirstin Seidel-Gebert
body: Hi Susan,

do you really need this? On my cloud instance the comment field is at the bottom indeed if the comments are sorted oldest first, but it is always visible - no need to scroll down, or so.

Is this confusing for your users?

Cheers,  
Kirstin


author: Susan Waldrip
body: Hi [@Kirstin Seidel-Gebert](/t5/user/viewprofilepage/user-id/853361) , thanks for your response! My users don't absolutely have to have it but many of our tickets have a lot of comments, and they've asked if moving the Comment text box up is possible so they don't have to scroll every time they answer the customer/request something. I would try the JavaScript statement above but I don't know where to put it. ?


author: Kirstin Seidel-Gebert
body: IMHO on Confluence cloud there is no place to add JavaScript to your instance. I guess, the people that applied this workaround are on Confluence server and added this to the **Custom HTML** section in the Confluence administration.

Gosh, and I confused Jira and Confluence in my previous reply. Sorry for that.


Tags: confluence-administration
Confluence on demand: Where are content tools?
Asked by Luca Orlandi:

I'm in administrators group but I can see no "Content tools" in order to do a pdf export of [multiple pages](https://confluence.atlassian.com/display/AOD/Exporting+Confluence+Pages+and+Spaces+to+PDF#ExportingConfluencePagesandSpacestoPDF-Exportingmultiplepagesortheentirespace); any hint on this?


Answers:
author: Luca Orlandi
body: My fault, I've found it ... quite counter-intuitive in my opinion!

1. General configuration :warning:
2. User \& Security \| Space permission
3. Manage permissions on desired space
4. select the "content tools" tab
5. select Export tab

is there a shorter way to do it? I release 3 was MUCH easyer.

Thank you.


author: Elisa [Atlassian]
body: Hi Luca,

Just to double check... do you have the Export Space permission on this space?

What kind of permissions do you have on this space?


Tags: cloud

confluence-cloud
The user has been blocked
Asked by Willam Won:

The user who sychronized from LDAP has been blocked, The user had been removed by LDAP admin, but sychronizing from LDAP didn't remove,what can i do for this issue?


Answers:
author: Septa Cahyadiputra
body: Hi William,

Have you tried to disable "Incremental Synchronisation" by un-ticking this option from the directory configuration. If that doesn't work, could you double check how your LDAP admin removed the user from your LDAP server, if it only disabling it, Confluence won't be able to understand that and will still include the users (unable to authenticate though).

You might want to exclude the user from your search filter to workaround this issue. Or you can also, ensure he don't have "Can-Use" permission in Confluence (removing his group membership and ensuring his name is not in Global Permission page), so the user still available in Confluence (history intact) but he won't be counted as licensed user.

Cheers,  
Septa Cahyadiputra


Tags: confluence-administration
Anonymous user cannot view issues in JIRA issues macro in confluence
Asked by Prachi mankad:

Anonymous user cannot view issues in JIRA issues macro in confluence

1. The browse permission is set to "Anyone" in JIRA
2. Confluence space permissions also allow users to view the pages with out login

We can view only the first 4 issues on the page. But when we login to confluence we can see the results properly.

Please advise.


Answers:
author: Septa Cahyadiputra
body: Hi Prachi,

Could you please confirm that JIRA allow anonymous login and permission to see the issues. You mentioned that anonymous can see the first 4, could you please let us know if the other issues that suppose to be listed comes from the same project? Or is there any restriction set for all the other issues.

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Prachi mankad
body: Hi Septa, Yes, All the issues are from same project and the permission to browse the issue is set to "Anyone" for this project.Thanks


author: Septa Cahyadiputra
body: Just want to double check, do you configure application link as describe here:<https://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro>


author: Prachi mankad
body: Yes, its configured as per the documentation. Note: We use version 5.1


Tags: jira
How do I customise PDF exports to do the following please...
Asked by DebbieR:

A couple of questions please:

I used the Confluence PDF Layout and stylesheet for the [PDFs](http://downloads.atlassian.com/software/confluence/downloads/documentation/Confluence_5-6-0_UserGuide_PDF_CONF56-050914-0544-4.pdf) Confluence produce- [CAC_PDF_stylesheet.txt](https://confluence.atlassian.com/download/attachments/190480945/CAC_PDF_stylesheet.txt?version=1&modificationDate=1411447173242&api=v2), however would still like to make some minor modifications below, and am a beginner html/css coder.

Can someone please help? Thank you.

1. Currently the page number is on the top right of the page. If I want it to be on the bottom right of the page and say Page x of y where y = total pages, how would I do that?
2. If I want to centre the 'Table Of Contents' how would I do that?
3. Some images, but not all are enlarged in the PDF and missing their right hand side in places. It appears to have nothing to do with the pixel size of the images on the screen and is random. Any idea why?

Thank you very much. Appreciate your help :smile:


Answers:
author: Leann Karaouni
body: In PDF stylesheet, change to this for your page numbering

@bottom-right{

content: "Page " counter(page) " of " counter(pages);

font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;

font-size: 8pt;

color:#595959;

}
can't add label in confluence
Asked by Polina Tarnopolsky:

For some reason i'm no longer able to add labels to any of my screenshots... was something changed?


Answers:
author: Julia Wester [Wittified]
body: <https://confluence.atlassian.com/display/DOC/Adding+Labels>

**To add a label to an attachment:**

1. Go to the page that contains the attachment. Choose **Tools** \> **Attachments**.
2. Alternatively, go to the attachments view of the space:
   * Go to the space and choose **Space tools** \> **Content Tools** from the bottom of the sidebar.
   * Choose **Attachments**.
3. You will see a list of attachments, with columns for attachment name and other details. If the attachment already has labels, these will be listed in the **Labels** column.
4. Choose the edit icon ![](https://confluence.atlassian.com/download/attachments/136427/LabelIcon.png?version=2&modificationDate=1361222679192&api=v2) beside the list of labels.
5. Type in a new label. Existing labels are suggested as you type.
6. Choose **Add**.

You can also add labels in a list of attachments displayed by the [Attachments macro](https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments), by choosing the edit icon ![](https://confluence.atlassian.com/download/attachments/136427/LabelIcon.png?version=2&modificationDate=1361222679192&api=v2) beside each label.

*Screenshot 2: Adding a label to an attachment*

*![](https://confluence.atlassian.com/download/attachments/136427/Attachment_labels.png?version=2&modificationDate=1361222684361&api=v2)*

Notes {#toc-hId-1652246185}
---------------------------

* **Note: Personal labels are deprecated.** Earlier versions of Confluence recognised a special type of label called a 'personal' label. A personal label starts with '**my:** ' and is only visible to the user who created it. We are removing personal labels from Confluence, as announced in the [Confluence 4.1 Upgrade Notes](http://confluence.atlassian.com/display/DOC/Confluence+4.1+Upgrade+Notes). The functionality for personal labels is still in Confluence, but we recommend that you stop using them. In a future release, we plan to remove the functionality altogether.
* If you add a label to a template, that label will be copied to the page when someone adds a page based on that template. See [Adding a Template](https://confluence.atlassian.com/display/DOC/Adding+a+Template).


Tags: cloud

confluence-cloud
What is "Control port"
Asked by atla atla:

I did some researches but I didn't find what the "Control port" is using for. (TCP port)

Can someone help me ? (Sorry for the dumb question)


Answers:
author: Adrien Ragot 2
body: * The main listening port is where the web application is published (example: <http://example.com:1990/confluence,> where 1990 is the port). Webapps are usually deployed on 80, because you can then remove it from the URL.
* The **control port** is used by Tomcat (the web server). Tomcat's utilities can use it to start/stop/monitor the instance.

comments: author: atla atla
body: Thank you very much !


Tags: confluence-administration
Support for multiple mail-forms in one Confluence page has gone?
Asked by Ruben Anfinnes:

In versions of the Form Mail NG plugin prior to v4.0 (at least v3.x) it was possible to administer several mail-form macros in one Confluence page and submit those forms independently. This option seems to have gone missing with the paid upgrade to v4.0.x

The current behavior is a bit unpredictable, but it seems all mail-macros in a Confluence page are processed even if they reside within different mail-forms.

Is this a bug or does the plugin no longer support this feature?


Answers:
author: Hessom Arta [Adaptavist]
body: Hi Ruben,

Firstly, please accept my apologies that we've been so late in replying to this - I've only just seen this question.

We've recently re-introduced this ability in the latest Form Mail for Confluence from versions 4.1 and higher. We've also added a series of improvements which you can check out in the release notes and in our documentation.

Hope this helps.


Tags: addon-com.adaptavist.confluence.formmailng

forms

multiple

page
How to Create Related Pages with Templates
Asked by David Tucker:

I have created a new template in a Confluence space for a certain data type. That works perfectly well. Next however, I want to be able to create pages from this template that are linked back to it. I can't talk about the specific use case, but I'll give something that has the same data relationships as an example.

Let's say that you wanted to create a Confluence space for a kid's soccer league. On the main page you had a listing of teams (which is using the Page Properties Report macro to list all of the teams that have been created using that template in the space). Then once you go into each team page, you want to be able to create players. Ideally on each team page, you would want to have a list of each of the players (only for that team) and then be able to create a new player page from the team page with a single click.

The main problem that I am having is how to populate a variable value from the Create from Template Macro. Ideally, I would have a variable $team_name on the team page that I could pass through as the value for the Page Properties ID field on the player page.

Has anyone been able to get something like this to work?


Answers:
author: Aidan Dunphy
body: I'm new to Confluence, so my answer may be complete nonsense :smile: but shouldn't you just create a page for each player, each one a child of the team page? Then you wouldn't need to worry about joining them using a variable.

comments: author: David Tucker
body: Unfortunately that doesn't work when leveraging templates. It also doesn't allow for differentiated child types.


Tags: cloud

confluence-cloud
Has anyone invoked the REST api (not to other Atlassian products) from a confluence page to populate that page with data?
Asked by Ed Gaile:

We have a Websphere Web Service Registry Repository (WSRR) that I would like to populate service information/metadata into a confluence page. My first thoughts are to do this with the scripting plugin and use groovy to send the GET request. Just wanted to see if there where other options that folks used for this type of scenario.

Thanks!

-Ed


Answers:
author: Bob Swift (personal)
body: [JSON Table Macro](https://bobswift.atlassian.net/wiki/display/TBL/JSON+Table+Macro) might be able to help.


Tags: confluence-administration
How can a Conflunce Admin change a users avatar?
Asked by Randall Fisher:

From reading thru the multiple requests for Confluence to add this feature, I'm assuming it is not part of the standard feature set, and I'll have to hack into something on the back end.

My specific case is, I have a user that no longer works here, they have set there avatar to something inappropriate, and we do want to retain the comments and docs this user has created over the years.


Answers:
author: Septa Cahyadiputra
body: Hi Randall,

As mentioned above by Eduard, it is not possible to do it with an out of the box Confluence installation. However we do have an improvement request in our tracking system here:

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

Please vote on it and address your concern directly into it. Hope it clarifies.

Cheers,  
Septa Cahyadiputra


author: Ed Letifov _TechTime - New Zealand_
body: Install SU plugin for Confluence, switch to that user, change the avatar.

<https://marketplace.atlassian.com/plugins/com.javahollic.confluence.confluencesu>

On another note - if the user no longer works at your place, what's wrong with changing the password and going under their name? Or is the user disabled? If so, SU won't help you - you will need to activate the user while you are changing their avatar.


author: Davin Studer
body: I have an open source utility that I created that uses Confluence's API's to upload the profile photo to a user. Below is the address.

<https://bitbucket.org/fredclown/confluence-profile-photo-uploader>

comments: author: Matt Shelton
body: +1 .. I've used this for the past year or so with great success. (Thanks Davin!)


author: Davin Studer
body: I just released v1.1.0.0 of the profile photo uploader. It does better face detection and cropping, has a version checker, and a test harness to see how the system will crop and resize your photos.


Tags: confluence-administration
searching topics does not work here ?
Asked by Ulrich Kuhnhardt [IzymesDev]:

in this instance of confluence questions topic search does not work. When I type a topic into the search box it just renders all topics again


Answers:
author: Dennis Kromhout van der Meer
body: Hi Ulrich,

Are you talking about <https://answers.atlassian.com/questions/topics> ?

Were you logged in? I tried it using the latest versions of Chrome and Firefox and it works.

Cheers,  
Dennis


Tags: community

off-topic
How can I define a search of all issues mentioned in a "Wiki Page"?
Asked by Juliana Corbellini:

Hi!

In my Confluence page, I need to show in the document, the Jira?s issues that were linked with this Confluence Page. Only the related link would be the criteria for the search. Is it possible?


Answers:
author: Juliana Corbellini
body: Hi, Elise.

It doesn?t work. Find no results if I type the Confluence URL ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")

I also tried with

```
text ~ "pagetitle"
```

but nothing...

Any other tip?

comments: author: Elisa [Atlassian]
body: I'd suggest you to add ConfluenceURL as a comment on every issue that this page has. This way you will be able to search as I mentioned. :)


author: Elisa [Atlassian]
body: Juliana,

You can use the [JIRA Issues Macro](https://confluence.atlassian.com/display/AOD/JIRA+Issues+Macro) to display the issues. And to search for those issues you can type:

```
text ~"<ConflueceURLWhereIssuesAre>"
```

Please give it a try and let us know how that went! :smile:

Cheers!


author: Juliana Corbellini
body: Hi, Elisa!Yes, I have a confluence page and I want to show a list of this issues in my. I know the macro to do it, but I don?t know how to search it. There are issues from many projects, many releases and different epics. The only thing in common, is that these issues are linked to my Confluence page (from jira).Thanks :)


author: Elisa [Atlassian]
body: Hi Juliana, Let me see if I understood you correctly... You have a Confluence Page where you'd like to link issues from JIRA.Also, you'd to know how to search for that page. Is that correct?


Tags: cloud

confluence-cloud