youngmon/atlassian-qna huggingface dataset:
www redirect
Asked by Eric Nielsen:

I need to force my confluence installation to use the www prior to the site, ex. [www.mysite.com](http://www.mysite.com) as opposed to [mysite.com](http://mysite.com). We have a wildcard security certificate that doesn't include the base domain, so we have to have the www or we get security errors.

How can I redirect my confluence installation?

Thank you


Answers:
author: Harry Chan
body: Hi, what you should do is change the A record on the DNS to point your Confluence IP to [www.mysite.com](http://www.mysite.com) instead of [mysite.com](http://mysite.com) and redirect [mysite.com](http://mysite.com) to [www.mysite.com](http://www.mysite.com.). Then change the Confluence base URL to href="http://www.mysite.com%20"\>www.mysite.com to reflect this.

Without doing this, your wildcard would still break[.](https://www.cloudshards.com/confluencehosting.php)


Tags: confluence-administration
Has anyone successfully been able to pull avatars down from AD (using Exchagne server for email) to Confluence and JIRA ?
Asked by Fringe Technology:

I have a site that is using Confluence and JIRA. Confluence is looking at JIRA for its user base.

JIRA user directory is configured for AD (read only, with local groups). We would like to be able to pull down the images that MS Outlook has stored, and use those images in Confluence and JIRA as the user avatars. Would appreciate any advice or comments on whether anyone has been able to do this, and if so, how. Thanks!


Answers:
author: Michele Grimm
body: I'd be interested in the answer too. This relates to my question:

[https://answers.atlassian.com/questions/181471/import-active-directory-profile-information-to-confluence-user-profile](/questions/181471/import-active-directory-profile-information-to-confluence-user-profile)


Tags: avatar

jira

ms-exchange
Mediawiki sections translated as headers except title sections (was: UWC header parser not translating Mediawiki headers correctly)
Asked by Moriah Chandler:

EDIT: these aren't headers, they are sections. See: <http://meta.wikimedia.org/wiki/Help:Section>

However, the UWC is translating them as headers (a good thing if I can get it to recognize title sections!)

------------------------

The converter is working (after using the UWC exporter to create the files) except for one thing, only h2 and below headers are being converted. The syntax for h2 headers looks like this:

== Header 2 ==

**This gets turned into a Confluence h1 tag** ... so each header is pushed down a level and h1 isn't recognized. When I convert a file with "= Header 1 =" it is rendered as straight text:

= Header 1 =

Any ideas on how to fix this?


Answers:
author: Moriah Chandler
body: I am clearly not a developer - I finally found where this translation is taking place. The regex was wrong and luckily I have developers that can correct these types of things. The resulting regex was:

Mediawiki.0540-re_title.java-regex=(?s)\[\^=\]?=\\s\*(.\*?)\\s\*=(?!(\[=\])){replace-with}h1. $1

instead of

Mediawiki.0540-re_title.java-regex=(\^\|\\n)={1}(\[\^=\]+)={1}(\\n\|$){replace-with}h1. $1

Works like a charm now.

comments: author: Moriah Chandler
body: I also bumped all of the headings up one so that they go to h5.


author: Moriah Chandler
body: I figured out that it is translating the Mediawiki **sections** into headers. The syntax described above looks like headers but is actually to define sections so that you can edit a specific section (or link to).

However, I can't find anywhere in the code that actually does this translation. I can only find where the headers are translated.


Tags: universal-wiki-converter
Broken Link Checker?
Asked by Elise LaTorre:

Is there a macro or other utility that will check for broken links within and between Confluence spaces?


Answers:
author: Matthew J. Horn
body: [https://answers.atlassian.com/questions/46717/is-there-any-way-to-run-a-report-of-internal-broken-links-in-confluence](/questions/46717/is-there-any-way-to-run-a-report-of-internal-broken-links-in-confluence)

comments: author: Anna McDonald
body: Can you please confirm whether the Python solution works in newer version of Confluence? My admins will not let me use it because the posts are all 2-3 years old.
How can I create daily dynamic pages?
Asked by Chas Berndt:

Here's the scenairo I'm trying to fufill: Each team in a functional area has daily SCRUM meetings which are documented in their appropriate spaces. We'd like to have a way to combine those SCRUM meeting notes from ALL pages into one central page, daily and automatically. To be more specific, we want to break down QA, Dev, Prod Mgmt, in to seperate summary pages.

Assuming that makes sense, does Confluence have anything thing that could do this seamlessly? It would need to grab exerpts from each team space and put them into another new page daily.


Answers:
author: Matthew J. Horn
body: It sure does. You can use the Excerpt Include macro:

<https://confluence.atlassian.com/display/DOC/Excerpt+Include+Macro>


author: Chas Berndt
body: I've messed around with the Except macro and looked at the information in the documentation and it either does not fufill our needs or I am not using it correctly. It's a start though.


Tags: confluence-administration
Starting Page from the base URL
Asked by Lars:

Hello,

when im opening the base URL [account.atlassian.net](http://account.atlassian.net) in my browser, the login screen opens.

I want to change it so the dashboard appears when im opening account.atlassian.net.  
Is this possible? I can change the Start Page under configurations, but this means the start page AFTER logging in. Is there a way to change this?

Greetings


Answers:
author: Matthew J. Horn
body: Maybe you want to allow anonymous access to the account page, but require a login for all subsequent pages?

comments: author: Harry Chan
body: Definitely sounds like the OP needs anonymous access.


author: Rodrigo Girardi Adami
body: Hello Lars,

I'm not sure if I understood you. In confluence, when you login the first time, a browser cookie is created and if this browser cookies persists, then everytime you go to the page, it should forward you to the dashboard automatically.

So, unless you have something changing or deleting the browser cookie, this should work.

I hope this helps!

Rodrigo


author: Lars
body: Ive got a base URL: [account.atlassian.net](http://account.atlassian.net)

This URL directly leads me to the login page. But i want to join the dashboard (account.atlassian.net/wiki/dashboard.action) with this adress. Is this possible? Cuz its easier to teall ppl: Hey, the adress is [account.atlassian.net](http://account.atlassian.net) then account.atlassian.net/wiki/dashboard.action


Tags: cloud

confluence-cloud
Starting Page, Deactivating JIRA
Asked by Lars:

Hello,

im using Confluence OnDemand and ive got two questions:

I got JURA aswell, but i dont need it and i rly dont wanne have it. Can i deactivate it?

Second question:

When i open confluence OnDemand with my URL in my browser, it starts always with the login screen. I want to start with the dashboard. If i want to log, ill click the login button.

Reason: Often anonymus user are joining the URL to get information, and they always landing on the login page. The have to use <https://XXXXX.atlassian.net/wiki/dashboard.action> which is pretty uncomfortable...

Thanks in advice!


Answers:
author: Abdoulaye Kindy Diallo
body: 1. As JIRA is the main application, the approach would be to export all your spaces, users and groups then cancel the evaluation. After that you sign up for a new Conluence only evaluation then import the previous data. Detailed explanation of the process: <https://confluence.atlassian.com/display/ONDEMANDKB/How+to+Remove+JIRA+from+a+JIRA+and+Confluence+OnDemand>

2. You should be able to configure the home page by following: <https://confluence.atlassian.com/display/AOD/Configuring+the+Site+Home+Page>


Tags: cloud

confluence-cloud
RSS feeds with HTTPS confluence
Asked by Alex Perez:

Hi folks!

We're using confluence 5.1.3 and we want to configure a page/space to inform our customers that a new version of our products is released.

The first approach is to use a a RSS feed macro in a page, and then ask our customers to subscribe via Outlook or other RSS client. But out site is running 100% over https, and RSS feed macro seems to [have some issues in this environment](https://confluence.atlassian.com/display/CONF51/RSS+Feed+Macro#RSSFeedMacro-AccessinginternalHTTPSfeeds). I want to avoid allowing access through http.

Another approach is with the blog posts macro, and watching that page. But we haven't configured confluence to send emails, and we prefer the RSS feeds over email sending ...

Is there any other option to create a rss feed ... or other different approach ?

thanks.


Answers:
author: Bruna Griebeler
body: Hi Alex!

<br />

I've found a workaround, but it requeires to also enable HTTP protocol.

So the RSS requests will be redirect via firewall directly to HTTP while the rest of the content can remain using HTTPS:

<https://confluence.atlassian.com/display/DOC/RSS+Feed+Macro#RSSFeedMacro-AccessinginternalHTTPSfeeds>


author: Rodrigo Girardi Adami
body: Hi Alex,

AFAIK, this is a limitation of SSL with RSS feeds. I couldn't find a way to bypass the SSL with the RSS instead of using that way you noted.

I'll leave this question open so if someone knows a way to do that, can asnwer here.

Cheers,

Rodrigo

comments: author: Alex Perez
body: Where can I read more about this limitation? is in the HTTPS protocol? or RSS? I can't figure out why this can't work ...


Tags: confluence-administration

feed

rss

ssl
Characters in Confluence don't show correctly
Asked by Rumceisz:

Dear All,

we moved our Confluence to another server some weeks ago. Since that all the non-English special characters didn't "survive" the move: there are question-mark ("?") everywhere.

In page contents e.g. title, contents, comments we are able to correct these errors but what could we do if the personal space name contains these "?" marks? See pic!

Thanks for your help!

Cheers,

Rumi![](http://s23.postimg.org/7vp8sub23/error_in_characters.jpg)


Answers:
author: PeterKoczan
body: Hi,

Very likely this is an encoding related problem. Can you try the debugging steps in the following article: <https://confluence.atlassian.com/display/DOC/Troubleshooting+Character+Encodings>

Can you let me know the database type you use?

Kind regards,

Peter

comments: author: Rumceisz
body: Hi Peter,

we have MySQL. Thanks for the hont!

Let me check.

Rumi


author: PeterKoczan
body: Hi,

If you open a support ticket with us at <http://support.atlassian.com> I can check the results of the query and additional settings in your instance then advice on possible fixing of the encoding.

Cheers,

Peter

comments: author: Rumceisz
body: Hi,

thank you!

May I attach a support zip to the ticket?

Cheers,

Rumi


author: PeterKoczan
body: Did any of the fixes on the encoding page work?

comments: author: Rumceisz
body: No, the query didn't work because the encoding went wrong before moving to the DB.

The tables have the correct encoding but the data is wrong in them.


author: PeterKoczan
body: Hi,

Can you run the following queries against your database and let me know the results (replace your database name accordingly):

```
use database_name;SELECT TABLE_SCHEMA,       TABLE_NAME,       CCSA.CHARACTER_SET_NAME AS DEFAULT_CHAR_SET,       COLUMN_NAME,       COLUMN_TYPE,       C.CHARACTER_SET_NAME  FROM information_schema.TABLES AS T  JOIN information_schema.COLUMNS AS C USING (TABLE_SCHEMA, TABLE_NAME)  JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY AS CCSA       ON (T.TABLE_COLLATION = CCSA.COLLATION_NAME) WHERE TABLE_SCHEMA=SCHEMA()   AND C.DATA_TYPE IN ('enum', 'varchar', 'char', 'text', 'mediumtext', 'longtext') ORDER BY TABLE_SCHEMA,          TABLE_NAME,          COLUMN_NAME;
```

```
use database_name;status;
```

Thanks,

Peter

comments: author: Rumceisz
body: Many thanks Peter!

r


Tags: confluence-administration
Need to Implement SSO
Asked by saurabh bhagat:

I need to implement SSO on Confluence .

It should do SSO on confluence using windows AD credentials only.


Answers:
author: TechTime Initiative Group
body: Our NTLM Authenticator for Jira and Confluence support the latest versions of both applications.

TechTime Initiative Group, an [Atlassian Expert](http://www.atlassian.com/resources/experts?tab=find-an-expert&expertName=techtime) in New Zealand has been providing a solution to do NTLM authentication (a.k.a auto-login or SSO in Windows environment) with Confluence and Jira for over 5 years.

We have over 40 customers successfully using this solution in New Zealand, Australia, Switzerland, Finland, Norway, Sweeden, France, Germany, Netherlands, Slovenia, Czech Republic, Turkey, Russia, Latvia, the UK and the USA both in NTLMv2 and NTLMv1 environments.

The NTLM Authenticator is delivered as a jar file and instructions how to deploy it to Atlassian Jira and/or Confluence to work in conjunction with [IOPlex](http://www.ioplex.com) Jespa to perform NLTM authentication in Windows environment.

The cost is one-off **NZ$150** (plus fees for Jespa license payable to IOPlex). We do sell bundles that include IOPlex Jespa license.

If you need it, the trial version is available from our [TurningRight](http://turningright.co.nz/display/TurningRight/NTLM+Authenticator) website.


author: Bruno Vincent
body: You might also want to have a look at the IWAAC plugin (Integrated Windows Authentication for Apps using Crowd): <https://marketplace.atlassian.com/plugins/com.cleito.iwaac>


author: Abdoulaye Kindy Diallo
body: You may want to check below pages:

* <https://confluence.atlassian.com/display/CROWD/Overview+of+SSO>
* <https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence>

Hope that helps.


author: Harry Chan
body: Refer to [https://answers.atlassian.com/questions/53602/getting-confluence-to-sso-using-windows-authentication](/questions/53602/getting-confluence-to-sso-using-windows-authentication) for more information. Explains it all there.

This isn't available for OnDemand though[.](https://www.cloudshards.com/confluencehosting.php)


Tags: sso
double and triple e-mail notifications
Asked by Fernando Morales:

Hello,

since we updated to confluence version 5.1.3 some users are receiving double and triple e-mail notifications for changes and comments in pages.

Is there a way to change this behaviour?

Regards,

Fernando


Answers:
author: AndrewA
body: Hello,  
It may or not be related but I have seen this behavior when an incompatible version of the descendant notifcations plugin is installed.

[Descendant Notification Plugin](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.descendentNotification)

If this plugin is installed it could be the culprit and I would advise disabling it as there is no compatible version for the 5 series as of yet.

Cheers,  
Andrew


author: Rodrigo Girardi Adami
body: Hi Fernando.

You can check the page watchers and double check if the users which are receiving double emails are duplicated there. If they are not duplicated, you can give a try and remove the user from watching a page and confirm if the duplicated emails for that page persists.

I think this should be some cache problem.

I hope this helps!

Rodrigo


Tags: confluence-administration

notification
Exclude Demonstration Space Updates from Activity Feed and Emails
Asked by Sabaki:

Hi,

I don't want updates from demonstration space to appear on updates section on Confluence dashboard. Besides, I would like to exclude those updates from Confluence emails. How can I do it?

Regards,


Answers:
author: David at David Simpson Apps
body: If you don't want that, perhaps remove the space or disable content creation or update for that space.


Tags: confluence-administration
License - server migration
Asked by Juraj Husar:

I consider buying confluence license, but I have one question. Is possible to use single license on another server - for future migration (not usage both but just migrate license to another server)?

Thanks.


Answers:
author: Bruna Griebeler
body: Hi Jurosh

For migration purposes we suggest you to create an evaluation license. It's ilimited and you'll be able to use it for 30 days.

That's what we recommend to our customers :)

Hope it helps!

comments: author: Steven Paul
body: I'm meeting the same problem. What will happen to the old license if I migrate the server to another. Will you give me a new license?
Problem in adding exter gadget in confluence
Asked by Nageswarara Rao:

Hi,

I m trying to add a new external gadget in Confluence , when i enter the url in **gadget feeds** text area i got the following error.

Unable to parse the gadget feed at <http://localhost:9080/browse/TST-1/rest/gadgets/1.0/g/feed>)

How to resolve this error.


Answers:
author: Denise Unterwurzacher [Atlassian]
body: HI Nageswarara,

That URL looks like it is incorrect. Usually the gadget feed should just be the baseurl plus rest/gadgets/1.0/g/feed, so in your case:

<http://localhost:9080/rest/gadgets/1.0/g/feed>

I just removed the reference to the specific project in the URL. That should work for you! If you still have trouble I'd recommend double checking everything in the doc here:

<https://confluence.atlassian.com/display/DOC/Registering+External+Gadgets>

Hope this helps!

-Denise.


author: Faisal
body: Dear Nageswarara,

Looking at the gadget URL, I believe that you wanted to add JIRA gadget to your Confluence instance:  
- <http://localhost:9080/browse/TST-1/rest/gadgets/1.0/g/feed>

Since this is the case, I believe that the gadget is failed to be added to Confluence because it is not a valid gadget URL. From what I understand, the following URL is the URL format for a JIRA issue:  
- <http://localhost:9080/browse/TST-1>

Hence, you may kindly try to add JIRA gadget as follows:  
- Access JIRA dashboard, select the "Add Gadget" option  
- JIRA Gadget Directory will appear in the screen  
- Go to the gadget that you would like to add to Confluence  
- Notice that gadgets URL is displayed for each of the displayed gadgets. Copy the gadget URL  
- Access Confluence, and go to External Gadgets screen  
- Paste the copied JIRA gadget URL, to the Gadget Feed URL

More details on this is outlined in the following documentation:  
- <https://confluence.atlassian.com/display/DOC/Adding+JIRA+Gadgets+to+a+Confluence+Page>

However, kindly note that you will have to setup an application link between JIRA and Confluence prior to adding JIRA gadget to Confluence.

Hope that this will help!
How do I change the link color in the pdf export?
Asked by Debbie Augusteyn:

I am tying to set up a pdf stylesheet and want to change the color of hyperlinks to red. I have added the code below to the stylesheet but it has no effect. How can I change the hyperlink color.

.wiki-content a, .wiki-content a:link, .wiki-content a:visited, .wiki-content a:focus, .wiki-content a:hover, .wiki-content a:active {   
color: #D21034!important;   
}


Answers:
author: David at David Simpson Apps
body: Try something simpler, e.g.

```
a {    color: hotpink !important;}
```

Likely the wrapping div.wiki-content is omitted from the PDF view.

**Edit:** Added the **!important** override for support in Confluence Cloud PDF exports

comments: author: Debbie Augusteyn
body: Thanks David - this worked.


author: David at David Simpson Apps
body: Great. If it worked, mark it as answered ;)


author: Ralph Bolton
body: I couldn't get the colour to change to anything other than the default black. I was able to add some text decoration to at least underline the hyperlinks though:

```
a {
  text-decoration: underline;
}
```

comments: author: W. Oosting
body: I second this notion (using Confluence cloud edition).  

The following has *no* effect:

```
a{    color: hotpink;}
```

but this *does have* an effect:

```
a {
  text-decoration: underline;
}
```

It feels like a Confluence bug in the interpretation of the CSS style sheet and/or that color specifically is overruled somewhere later in the process.


author: Thom Castermans
body: It looks indeed like the color is set somewhere else, but adding \`!important\` will make the declaration stick. In other words, this works:

```
a {
  color: hotpink !important;
}
```


Tags: confluence-administration
Using default Global theme AND Documentation theme
Asked by Kenn North:

We currently allow users to choose between the Documentation Theme or the Global Theme.

We have utilized the Custom HTML section to include a global CSS that we control to give the site a global header. We put the HTML for this header in the common-header.vm which is luckily called by the Documentation Theme.

However, there are some other things like metatags, and Google Analytics tags that require editing the main layout. That main layout only affects the Default Global theme and not the documentation theme.

I have tried to unpackage the Documentation theme, edit it, repackage it, but it will not load properly when I do this.

Has any updated the vm files in the documentation theme in Confluvne 5.1.x?

I realize these two themes will be combined, but I don't know when and I need a workaround now.


Answers:
author: jing_hwa_cheok
body: Hi Kenn,

<br />

You can actually customise the Documentation theme in Confluence Admin \>\> Theme \>\> Documentation Theme \>\> Configure Theme. This is the safest way to edit the documentation theme and the changes can easily be reverted if needed.

Hope this helps

Kind Regards,  
Jing Hwa

comments: author: Kenn North
body: You're describing basic alterations and configuration. I'm talking about updating the vm files to include things like metatags that come with the TechTime SEO plugin, and Google Analytics tags, etc..

If you have your Global theme set to the default theme then you have no access to the layouts of the documentation theme.

In 3.5.x I was able to unpack the documentation theme jar file, make the edits, repackage the jar and deploy the changes. That did not work in 5.1.x

What is the suggested method for editing the layouts files for the documentation theme?


Tags: analytics

app

documentation-theme

metadata

stylesheet

theme