youngmon/atlassian-qna huggingface dataset:
Combining users and groups from different AD domains
Asked by Martin J?ger:

Hi all,

Still trying to make the **confluence/ad** integration work.

*Have question in that regard:*

We have two domains (with trust between)

**dom1** and **dom2**

We have users and groups in both domains - not with any of the same name though.

**dom1** is primarily it-personal users, but also groups.

**dom2** is live-systems and 'real' users.   
Also in here is stored our groups that control application access. (E.g. AppAccess_Live_confluence_read)   

The thing is, that users in **dom1** is member of groups in **dom2**.

**So** I basically want to have the application groups sync from dom2 to Confluence, and also the users from dom2 that are member of these groups. **(Working ok)**   

**AND** i want to sync users from **dom1** that are member of the application access group in **dom2**. (Can't make this work)

Does confluence support this setup with the features provides by the 'user directories'. Or would i have to maintain this setup using other methods? (Thinking cli commands or similar)   

Thank you all. Pease advise

/Martin :)


Answers:
author: Martin J?ger
body: Got it!I had to change the port to 3268, for the search to be done in the global catalog. In base DN i could write whatever, it didn't matter. Now i just have the value NULL in there.Now users from dom1 is getting membership in groups from dom2, as it is configured in AD. Look here for details:[http://technet.microsoft.com/en-us/library/cc728188(v=ws.10).aspx](http://technet.microsoft.com/en-us/library/cc728188%28v=ws.10%29.aspx)Martin

comments: author: Tom104Tom
body: Hi Martin,can you please provide more details on how you fixed this issue?Did you use "Domain Local" groups? I don't see any other way to add users from a trusted domain but creating a "Domain Local" group. If I do so and adding a user from another domain (trusted), the user is shown with a red arrow, but he is not synchronised.I guess you are querying your dom2 domain, using the global catalog port. Did you actually write "NULL" into the Base DN field?Thanks for the clarification.Best,Tom


author: Mike Beattie
body: Hi,I am having same issue... did you get this working Tom? Can you describe how you have configured this within confluence?ThanksMike


Tags: confluence-administration
Read-Only Authenticated Access without Licence Impact
Asked by Adam Abbate:

We are currently using Confluence within our department (as content creators and consumers) and would love to make the information available to the rest of our organisation (as content consumers only).

At the moment, if we were to increase the number of users (including associated plugins/macros costs), the cost would be hard to justify, especially as the vast majority of users will never edit a page.

Is there a way to provide access to an individual so that they can: login, watch pages and comment; without them consuming a licence?

Unfortunately due to the nature of the content, anonymous read-only access isn't an option for us.

Thanks.


Answers:
author: Nic Brough -Adaptavist-
body: No. You either have anonymous access or a licenced login.


Tags: confluence-administration
Can we include @Mentions for group alias in Confluence page
Asked by Srinivas Patruni:

Confluence 5.4.2 is integrated with Ldap.. Is it possible to include a group alias on my confluence page?


Answers:
author: David at David Simpson Apps
body: You can't do **@mentions** on groups at the moment. Just think what mischief you could get up to with **@confluence-users**if this were possible - that would send some serious email on a big system.

There is a JIRA for this you can watch -- [CONF-23015](https://jira.atlassian.com/browse/CONF-23015) -- It's got a pile of votes. Large enterprises would likely not want this feature to be enabled by default.

comments: author: Jobin Kuruvilla [Adaptavist]
body: Reminds me when someone subscribed a filter to jira-users group every hour in a company with a million users. Well, not exactly a million but you get the idea ;)


author: salehparsa
body: Hi Srinivas,

Unfortunately it's not possible to @mentiones group at meanwhile. We have an open improvement requests ([CONF-23015](https://jira.atlassian.com/browse/CONF-23015)) for this featurs.

I would recommend you to watch the ticket for any updates. I would also recommend you to vote for the ticket to increase the popularity.

You meight also read ["Atlassian New Features Policy"](https://confluence.atlassian.com/display/DOC/New+Features+Policy) to know how Atlassian chose what to implement.

Cheers,

Saleh
Automatically add LDAP users to other groups
Asked by Lauren Dunstan:

Is it possible in Confluence 5.4 to automatically add LDAP users to a second group in addition to the confluence-users group?


Answers:
author: Zul NS _Atlassian_
body: If you are using delegated, and have enabled copy-user on login. You may add more groups to the "Default Group Memberships". See <https://confluence.atlassian.com/display/DOC/Connecting+to+an+Internal+Directory+with+LDAP+Authentication>

comments: author: Lauren Dunstan
body: Thank you! It worked!


Tags: confluence-administration

ldap
Show/Hide content based on IPs
Asked by nibeck:

We have a situation where within the same space, we would like certain content to only be visible based on the users IP that is accessing the system. We have complete control of the base systems (OS, Apache, etc).

Is there a native mechanism for this?

Can it be done with a custom plug-in?

_mike


Answers:
author: Nic Brough -Adaptavist-
body: Forget Confluence for this - it's not got anything, and even if it did, it's the wrong place. You want to block access well before the user gets to the application.

You want to be looking at IP white-lists for Apache really.

Although I still don't really trust it, as I've been involved in security testing that involves spoofing IP addresses and it's horribly easy to bypass most IP level restrictions we were looking at.

comments: author: nibeck
body: I know we already do a lot of this an the network layer for access to whole sites. What I would like to do is turn on/off peices of content within a page. What about a custom plug-in? Scenario:

- When a user access the site from a specified IP range, we set an environment variable identifying them

- There is a plug-in that inspects that value and conditionally shows content

This is a model we have used in some custom built apps, just wondering if we could re-create that functionality inside Confluence.

I know it's a long shot, just investigating.

_mike


Tags: access

restriction
Creating Dynamic Labels in Templates
Asked by Thomas Hardin:

Is there a way to add a dynamic label to a template?

We are trying to use a space as an area that manages work requests. Each work request is a page with several sub-pages. The sub-pages are all created off of other templates. But, that also means the labels are all the same.

Example:

Site - Work Requests - contains multiple Change Requests

Change Request - Page created with a template that has the following sub pages

* Requirements - label (requirement)
* Test Cases - Label (test-case)
* Impact Statements - Label (Impact-statement)

If I have more than 1 work request, then I can't display information specific to the Change Request because the labels are the same. so Work Request A could display all requirements form other work requests.

What I would like to do is find a way to pull the work request number into the label (requirement-ABCD4567).

Any ideas?


Answers:
author: Thomas Hardin
body: This is more about managing the requirements piece, rather than managing the actual work request. We have multiple applications in play today that are used to manage requirements, projects, defects, etc. So, we are trying to create an outlet where the Business side can maintain their information.

We're using the requirements and tying them to Feature requests in Jira, which works out great. But, we just need to consolidate the business more.


author: Daniel Borcherding
body: Thomas,

Have you tried using Jira? You can customize workflows based on the type of request (project). It will even roll a unique ID for you when you cut a new ticket.

Confluence is or can be a lot of things, but it seems like you are reinventing the wheel with this one.


Tags: label

macro
Confluence 5.4.3 adding comments to pages
Asked by Ryan:

Is anyone having issues adding comments to pages in Confluence? We use IE 8, which I know sucks, but is by the unfortunate company policy. We also use Google Chrome.

I am experiencing issues in both browsers. In Chrome, we do not see the add comment button at the bottom of the page, and cannot click in the comment box to type anything. In IE, we see the add comment button, but cannot type in the editor once it comes up in the comment area.

I have tried downloading the current version of Firefox, but it too has issues. I have tried disabling our plugins, with no luck in fixing. I have put Confluence into safe mode, and that does not fix it.

I have full administrator rights, and am having the issue along with all other users. I can however type (m), and we get the comment editor in the comment area. Unfortunately, we cannot type in that editor though. So I click save, which opens another editor screen because it cannot save an empty comment. In this secondary editor screen, we can type our comments and post them. This is a huge hassle. We were able to do this prior to upgrading to 5.4.3.

Does anyone have any suggestions?

Thanks.


Answers:
author: Ryan
body: So we fixed the encoding of the database, etc. Right off that did not fix our commenting issue. Then we looked at the plugins again. I disabled all of them again, and that did not fix it. I proceeded to uninstall each one by one, and I found a plugin that was causing this issue. Obviously, disabling them did not help it or we were a victim of caching. Thanks for everyone's help on this.


author: Ryan
body: We think this is related to the encoding. Database is set to latin1.


author: Steve Gerstner [bridgingIT]
body: Is your IE running in compatibility mode?

Which theme are you using?

comments: author: Ryan
body: IE is not running in compatibility mode. Please note that I have tried this in Google Chrome and Firefox as well.

We are using the default theme.


author: Steve Gerstner [bridgingIT]
body: Ok, next question...

Do you have any web application firewalls or similar security features in use? Do you have some 40x codes on some of your requests? Use Chrome and view the network traffic to figure this out.


author: Chung Park Chan
body: Do you have any custom layout, html or stylesheet changes? They might have triggered such problem.

comments: author: Ryan
body: There are not any custom layout, html or stylesheet changes.
Not able to create confluence knowledge base
Asked by Pareshkumar Gandhi:

When I click on Link to knowledge base and select application, space drop down gear keeps spinning in infinite loop.

It also shows below error:

There was a problem completing the current request![](../../upfiles/Error_1.jpg)


Answers:
author: Paresh Gandhi
body: This issue has been resolved by removing 127.0.0.1 from trusted application and adding it again

comments: author: Li Chen
body: Hi, can you please explain how to remove 127.0.0.1 from trusted application? I am running Jira OnDemand, and I cannot find the trust application settings page.


author: Pareshkumar Gandhi
body: Where I can see the logs for this issue?


author: Pareshkumar Gandhi
body: How to do this? I'm new to confluence.


author: Chung Park Chan
body: What is the authentication used for application link? Try removing it and re-create it with only OAuth.
Site HomePage is giving "Page Not Found"
Asked by Difikra Admin:

When a user logs into Confluence, Site HomePage is giving "Page Not Found". I followed steps mentioned here [](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page)<https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page>

but still I am not able to get it working.

Notes:

1- I tried to set Site HomePage to be one of the spaces with no hope. Even I tried to set it to be Dashboard and still not working.

2- If I select Dashboard from Application navigator, it shows Dashboard page successfully.


Answers:
author: Difikra Admin
body: The Issue is just resolved withou any action from our side!


author: Difikra Admin
body: The issue is just resolved withou any action from ourside!


author: Rodrigo Girardi Adami
body: Hi Difikra,

This sounds to me as the server base URL not correctly set. Can you go to the confluence admin -\> general configuration and check the server base url.

Is this problem reproducible in a staging environment?

Regards,

Rodrigo

comments: author: Difikra Admin
body: Hello Rodrigo,

I've double checked the Server Base URL and it seems fine to me, it is "https://difikra.atlassian.net/wiki" but it is disabled and not editable even after clicking on the "Edit" button.


author: Rodrigo Girardi Adami
body: Strange.

Try to setup a staging instance and verify if the issue happens there. Maybe you can spot some error in the logs as well.

Cheers,

Rodrigo


author: Difikra Admin
body: Hi Rodrigo,  
Please note that we are using Confluence OnDemand. Is it applicable to have staging instance?


Tags: cloud

confluence-cloud
PDF export displays all the options from a select HTML tag
Asked by Chris Armstrong:

Hello,

I'm using the custom HTML macro to create dropdown lists using the \<select\>\<option\> tags:

\<select\>\<option value='a'\>Option a\</option\>

\<option value='b'\>Option b\</option\>

\</select\>

What's happenign is when I export the page to PDF, all of the option values are being displayed:

'OptionaOptionbetc'

I only want the PDF to display the option that is currently selected. How can I do this?


Answers:
author: Maarten Cautreels
body: Hi Chris,

I guess, since your using a Custom HTML Macro, dropdowns are not supported in the Confluence Export to PDF. PDFs are generated with iText, a Java Library for creating PDF documents. Normally this library does have some support for forms. However depending on how Atlassian implemented the export, this will or won't work.

To be sure I'd check with their support at [](http://support.atlassian.com)<http://support.atlassian.com>

Best,

Maarten


author: Chris Armstrong
body: Nothing?


Tags: cloud

confluence-cloud

html

html-macro

pdf

pdf-export
Can not see Projects tab
Asked by Vladislav Pavlovic:

Hi,

One of our user can login to Confluence, but on his dashboard he can not see Projects tab.

We are using Jira with Atlassian Crowd for user and group management. User is member of two groups for two projects but he can see only one project.

Thank you


Answers:
author: Vladislav Pavlovic
body: Excuse me, I was not clear. We have category "Projects". User is member of two group that

allow access to two spaces that are member of this category. He can not see this category on

his dashboard. Via "Space Directory" he can access this spaces.

"[Manual category permissions](http://demo.refinedwiki.com/pages/viewpage.action?pageId=14124545#Organizespaces&categories-Manualcategorypermissions)" for theme is switched off.

Thank you


Tags: confluence-administration
Why is Confluence not 508 (disabled users) compliant?
Asked by Gregory Sudderth:

Why isn't the (awesome) wiki not accessible to all?

[](https://jira.atlassian.com/i#browse/CONF-12383)<https://jira.atlassian.com/i#browse/CONF-12383>

Please vote it, and watch it, and comment it, and let's get the juice they need to make Confluence awesome for all!


Answers:
author: Davin Studer
body: First, of all probably becasue Atlassian is not a US company. Secondly, 508 is only mandatory to federal agencies. Thirdly, it actually does have most of if not all of the features in that JIRA ticket. What part of that JIRA ticket are not seeing in Confluence?

comments: author: Gregory Sudderth
body: Oh hey thanks for the reply. Yeah, I hear you. I not being an imperialist, just suggesting the idea based on economic sense. 508 is only A way to go, not THE way to go on making software accessible to people. Some approach, is better than none.

I know I can answer my management's 508 concerns with "complies with X standard 4.9.1.5.1.2.3.1.1" and that would be a start.

The question is probably "why is confluence low on alt-text?". I used to read for the blind and I have been lucky enough to work with two totally elite old-skool hackers who happened to be blind so I want to represent. Thanks again.


author: Gregory Sudderth
body: Oh yeah I hear you, but, the mgmt. is looking for a blanket, simple "yes/no" answer on the product as a whole.


author: Davin Studer
body: When you add an image to a page you can put alt text on the image. They don't force you to, but you can put it in.


Tags: disable
AngularJS in Confluence
Asked by ?ukasz Sadowski:

I have problem with AngularJS in Confluence. I tried to add angular files as web resource in atlassian-plugin.xml:

```
&lt;web-resource name="Angular js files" key="angular-sources"&gt;    &lt;resource type="download" name="angular.js" location="js/angular/angular.js"/&gt;    &lt;resource type="download" name="angular-animate.js" location="js/angular/angular-animate.js"/&gt;    &lt;context&gt;atl.general&lt;/context&gt;  &lt;/web-resource&gt;
```

It works fine when I use atlas-run or atlas-debug. But when I generate new jar file using atlas-package and install it on new Confluence instance, my macro editor js files doesn't see variables defined in angular.js.

I tried also to add angular files directly in web resource for my new macro, but it also doesn't work:

```
&lt;web-resource name="Resources - handle macros with JS" key="macroeditor-resources"&gt;	&lt;resource type="download" name="angular.js" location="js/angular/angular.js"/&gt;	&lt;resource type="download" name="angular-animate.js" location="js/angular/angular-animate.js"/&gt;	?	&lt;resource type="download" name="page-move-dialog.js" location="js/page-move-dialog.js"/&gt;	&lt;resource type="download" name="macro-editor-module.js" location="js/macro-editor-module.js"/&gt;	?&lt;/web-resource&gt;
```

It looks like a Confluence ignore the contents of the file angular.js. What may be the reason of that behavior? Below, fragment of javascript file generated by the Confluence. It has no content of angular.js:

```
try {    /* module-key = 'plugin.key:angular-sources', location = 'js/angular/angular.js' */    // HERE SHOULD BE INCLUDED angular.js    } catch (err) {        if (console &amp;&amp; console.log &amp;&amp; console.error) {            console.log("Error running batched script.");            console.error(err);        }    }            try {    /* module-key = 'plugin.key:angular-sources', location = 'js/angular/angular-animate.js' */    (function(b,a,c){a.module("ngAnimate",["ng"]).config(["$provide","$animateProvider",function(g,i){var l=a.noop;var f=a.forEach;var j=i.$$selectors;var e=1;var h="$$ngAnimateState";var k="ng-animate";...} catch (err) {        if (console &amp;&amp; console.log &amp;&amp; console.error) {            console.log("Error running batched script.");            console.error(err);        }    }
```

There is other way to include angular files to Confluence?


Answers:
author: Ronald
body: and what about to configure AngularJS and RequireJS?


Tags: angular
Importing many Word documents into Confluence at a time
Asked by poornima guddettu:

Hi,

I have recently installed Confluence and am able to import word documents into my space and page.However since we are migrating from another project management tool, I have lot of documents to import. Importing one at a time eats away all my time.I would like to import all documents, one at a time.All are word documents. Can anyone please let me know whether there is a way to do this?

Thank you,

Poornima.G


Answers:
author: Daniel Borcherding
body: Are you trying to load all items into a single page? How many documents are you trying to move

If they will be on one page you can use drag and drop functionality.

On the page under tools menu click on attachments. It should be grey rectangle saying "Drop files here to attach them". Drag the doc there and done.

If you have a HUGE number of documents you may want to set up Confluence as a webDav Client...

[](https://confluence.atlassian.com/display/AOD/Configuring+a+WebDAV+client+for+Confluence)<https://confluence.atlassian.com/display/AOD/Configuring+a+WebDAV+client+for+Confluence>

Confluence Doesn't make the best fileserver.

What tool are you importing from? There may be an integration that can move content progrmatically.

comments: author: poornima guddettu
body: Hi Daniel,

Each space I have to upload 50 documents . I am importing from collabnet. I have tried through attachments but that is not what we want our documents to be seen as.Can you tell me if there is another way to do this.

Thanks


author: Mick Davidson
body: Poornima,

You can't do this using any of the standard user tools; you can only import one at a time.

However, I'm sure there are more technical people using Confluence who can advise whether it's possible to do this programatically.

Cheers.


author: Charles Andrus
body: The multi-file import plugin performs bulk importing of word documents now: <https://marketplace.atlassian.com/1223239>


author: Collaboration DevOps
body: Is there a solution yet for that problem? Or an app as Atlassian can't provide that feature?


author: Danielle Fisher
body: Has this been solved?


Tags: confluence-administration
Unable to access confluence through jira and viceversa
Asked by poornima guddettu:

Hi,

I have installed JIRA and have imported my projects successfully.Now I have installed confluence and while setting up, have given the jira access too.I checked in the Links and my jira url is present there.I am able to move from jira to confluence the other way too.However each time I have to provide login credentials.I would like to move to the other application (Jira / Confluence) without having to provide my password and username. Can anyone help me with this .

Thank you,

Poornima.G


Answers:
author: Deividi Luvison
body: Hey Poornima,

For that end you will need a single sigh On Tool, you could use [Atlassian Crowd](https://www.atlassian.com/software/crowd/overview) or check for other [Free Single Sign on Tools](http://en.wikipedia.org/wiki/List_of_single_sign-on_implementations) to use in conjunction with JIRA and Conflunce, since JIRA/Confluence dont have a built in SSO feature.

Thanks and Regards,  
David\|Atlassian Support

comments: author: poornima guddettu
body: Hi David,

I will get back on this after trying the Single sign on tool.

Many thanks.


author: Daniel Borcherding
body: Just adding my $.02 from the Atlassian Docs

[](https://confluence.atlassian.com/display/DEV/Single+Sign-on+Integration+with+JIRA+and+Confluence)<https://confluence.atlassian.com/display/DEV/Single+Sign-on+Integration+with+JIRA+and+Confluence>

comments: author: poornima guddettu
body: Hi Daniel,

Am unable to find the link.Do you have any other?

Thanks


Tags: confluence-administration