youngmon/atlassian-qna huggingface dataset:
configure password complexity
Asked by Nic Hart:

I want to

a) enforce custom minimum password complexity requirements

b) enable zero length passwords

Ideally, password complexity requirement would be linked to group membership.

I understand that using external authentication would allow this however the application is for a site which would not otherwise require a directory service and many users would be external to the host organisation. And additionally, internal users WILL be configured for auth in MS AD.


Answers:
author: Daniel Borcherding
body: Hello Nic,

It looks like this question has been asked a couple times on Answer before.

[https://answers.atlassian.com/questions/19518/password-complexity-within-confluence](/questions/19518/password-complexity-within-confluence)

[https://answers.atlassian.com/questions/8838/how-to-force-users-to-use-strong-password](/questions/8838/how-to-force-users-to-use-strong-password)

Both of these cases cite an old Adaptavist Plugin (User Security Management) that I am no able to locate any longer.

I went ahead and filed the following feature request on your behalf.

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

Please go ahead and vist this issue and vote on it. The more visitbility we can garner for this issue means the more likely our developers are to include it in a future release of Confluence. I have attached this post to further incease it's visibility.

comments: author: Nic Hart
body: Thanks Daniel. I too found the Adaptivist links, but nothing at Adaptivist site now refers. I think that there are two distinct issues here and your proposed feature request addresses one of them; the other is documentation - i.e. I can't find anywhere a description of what the current system actually requires in terms of password complexity, and I suggest that along side that missing documentation should be the statement that currently there is no way to configure any variation in that policy.

Assuming that is a correct statement, I'm happy to close the query?

nic


author: Daniel Borcherding
body: Nic,

There is currently no complexity requirement for Confluence. If this feature is implemented we will need to document how to set and enforce this requirement. I will add a private comment about making sure we document this functionality once it is relased.


author: Nic Hart
body: Wasn't sure what you meant by 'no complexity requirement'. But by experiment I discover that even a single character is allowed! But not null. That is what I mean by the complexity requirement. Though it is certainly minimal!

thanks and signing off


Tags: password
Can not get confluence to work through port 80
Asked by Peter Ebbelink:

Hi,

I am combining crowd, jira and confluence onto the same Linux (Ubuntu 12.10) machine.

I has successfully redirected jira to work through the standard port 80, by using apache mod_proxy.

No matter what I try, I can not get confluence to work through port 80.

Please see the M$ word document for screenshots of the things I set.

Add please excuse my ignorence, I tried to grasp the concept here, but could you please explain the relevance of the other ports that are being defined in the server.xml, and how they might affect the other installations (jira, crowd, docminer, rcsis, ..)

Some of them seems to the same (redirect port 8443): Is this valid? Or should all ports be unique when running on the same server?

That would be:

redirectPort=8443

\<server port="8000" \<="" p=""\>

port=9020

(marked blue in the attachment)


Answers:
author: Renjith Pillai
body: I would say, you should follow step-by-step the procedure from Dave at <https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache+using+SSL>Use a context as well. In that it talks about redirecting from Apache to JIRA. Repeat the exact same steps for Confluence as well.You will see in the instructions to add the below lines to httpd.confProxyPass / <http://jiraserver:8080/>ProxyPassReverse / <http://jiraserver:8080/>Repeat those two lines for confluence as well (do remember to gave a different context for confluence)(I have not read the document you mentioned)


Tags: base-url

mod_proxy

proxy
display incoming mail for a space within page
Asked by Nic Hart:

Hi

I want to use an inbound mail box for a space to populate sections of pages, populate notifications and possibly appear in blogs (it would be nice but not essential if there were some filtering (based on date?) or interactive selection capability too).

But it seems that the only way to view the mails is to go via Space Admin (and needing Admin priveleges) and navigate the Admin page to find the Mail tab...


Answers:
author: Adam Laskowski
body: With Confluence's existing functionality (including methods via the Remote API), there isn't a way to cross polinate your mail contents like that. The Mail Archive feature is geared toward storing conversations that happen in email relating to a project in a Confluence space. The mail content and attachments are searchable to anyone with access to the space using the normal search feature in Confluence, and can be viewed from Browse \> Mail (admin is not actually required). Users just need the Can Use global permission, and the View space permission to access Mail archives.

It may be possible within a plugin, however, and perhaps another Answers denizen will have more to say on that matter.


author: Ricky McGowan
body: There isnt even a way to add a label to the emails ? at least then we could use some macros to list them on pages

comments: author: Adam Laskowski
body: We have an open feature request to that end, but current do not have the functionality built into Confluence. The mail archive feature is a rather simplistic feature that currently just stores mail for viewing and indexes it for search. Beyond those functions, it currently doesn't do much else. It's the same situation as the accepted answer in that it would have to be added via a plugin to gain the feature.

Here's the aforementioned feature request:

[All labelling of mail items](https://jira.atlassian.com/browse/CONF-5086?jql=text~%22mail%20label%22%20and%20project%20%3D%20CONF)

It's an old one, but even old ones can still be implemented with enough votes, so be sure to add yours.


Tags: email
Incorrect content type set for uploaded files in Confluence
Asked by Dmitry Andrejev:

I've clicked Write a comment ... at bottom of the page and then dragged-in a file named testing_transition.patch into the editor.

File was uploaded and link was added to the editor, however in the database in ATTACHMENTS table CONTENTTYPE column was set to application/x-upload-data instead of text/plain, which is indicated in confluence-install/confluence/WEB-INF/classes/mime.types file.

Also it seems, that confluence provided mime.types file is very small comparing to one, provided in CentOS installation.


Answers:
author: Daniel Borcherding
body: Hello Dimitry,

Can you clarify what version of Confluence you are using?

We have the following bug that deals with an earlier version of Confluence (3.1)

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

That seems to suggest that there is a problem with the mime types when performing a drag and drop upload. Are your results different if you do not drag and drop?

I would like a chance to try to replicate this behavior on my test machine. If later than 3.1 we may be seeing a regression of this earlier bug.

comments: author: Dmitry Andrejev
body: I'm using Confluence 4.3.6 and this issue was confirmed by Attlasian support and bug report [https://jira.atlassian.com/browse/CONF-27969](https://jira.atlassian.com/browse/CONF-27969%20)was created.


author: Renan Battaglin
body: Hi Dmitry,

<br />

Can you confirm what is the consequence in Confluence of having the wrong mimetype?

Are you having to download the patch rather than view it in the browser?

<br />

Cheers,

Renan

comments: author: Dmitry Andrejev
body: Yes, because of incorrect mime content type detected patch is downloaded instead of being shown directly in browser.


author: William Zanchet [Atlassian]
body: Hi Dmitry,  

Yes, just to let the community to know, that we created a bug report for it, as you can see here:  

\* <https://jira.atlassian.com/browse/CONF-27969>  

Cheers,  

WZ

comments: author: Dmitry Andrejev
body: Still same problem in Confluence 5.2


Tags: attachment

mimetype
Adding Jira Calendar Gadget
Asked by Tom:

We have a trusted application link between our jira and our confluence instance. The jira issue macro works just fine in our confluence instance so I know the application link works.

I have added the jira gadget feed to our confluence instance. In the macro selector I see the jira calendar gadget show up and a couple of other gadgets from jira show up. However when I try to add the calendar gadget all that shows up in the preview pane is a loading bar.

I have also whitelisted the jira url and specifically added the calendar gadget to gadget specifications. They all produce the same loading bar and nothing happens.

Jira: v4.4#649-r158309  
Confluence: 4.2.12

And advice is appreciated


Answers:
author: Bruna Griebeler
body: Hi Tom,

It can be a network problem, so this is the first thing to investigate.

Things that you can check:

\* BaseURL - check if the BaseURL set in both, Jira and Confluence are the same URL used to access the applications.

\* Check if they are using the proper ports

\* Check if there is a proxy between Jira and Confluence

Hope it helps

comments: author: Tom
body: updated the jira base url but still no love. Ports look right. There is no proxy between them.

I've got a ticket open with Atlassian, I'll try to remember to update when we have it resolved.


Tags: gadget
Using SSO From Login Gadget
Asked by Chris Greenough:

We have just purchased a license for JIRA and I have setup authentication using our central SSO using CAS. Everything is working well on that front, but I would like to know how to modify the login page to direct users to the CAS login. I see there is a way to edit the login gadget and there is a way to disable the login gadget. Wanted to ask what the best, supported way is to handle this situation. I can't roll out the server until I solve this issue.

Thanks!!


Answers:
author: pkirkeby
body: This page specifies how to integrate CAS with JIRA:

<http://www.soulwing.org/jira-cas.jsp>

For other examples of integrating JIRA with Custom SSO solutions:

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

Cheers,

Pelle


Tags: authentication

cas

custom-field

jira

sso
Is there an incoming links macro available for OnDemand?
Asked by JamieW:

So, I found this question and answer: [https://answers.atlassian.com/questions/131635/how-do-i-tell-what-pages-link-to-the-current-page](/questions/131635/how-do-i-tell-what-pages-link-to-the-current-page)

However, that's for the downloaded version of Confluence. Is there a way that those of us using OnDemand could list on a page all of the other pages that link to this one?

Suggestions greatly appreciated.


Answers:
author: Jeison
body: Jamie,

I can't think of any bundled functionality in Confluence OnDemand that you could use for that, but I've filed an improvement request at <https://jira.atlassian.com/browse/AOD-6347> to have that ability implemented in the future. Make sure you add yourself as a watcher to it, to keep track of the updates, and also vote for it to increase its visibility.

Hope that helps.

Cheers

comments: author: NJR
body: Thank you for the info. I have added an upvote to the existing issue but I do not understand why the issue is closed? Does closed mean that it has been decided not to implement? If so, the upvotes are pretty pointless.


author: Monique Khairuliana[ServiceRocket]
body: Hi everyone, a little late to the party but [Linking for Confluence](https://marketplace.atlassian.com/apps/166/linking-for-confluence?hosting=cloud&tab=overview) by ServiceRocket has this functionality that you're looking for via its macro, Incoming links. It's available in Server, Data center, and recently, Cloud.

Hope that helps!


author: Jan Vervecken
body: You could consider giving feedback in JIRA issue <https://jira.atlassian.com/browse/CONF-35218> .


Tags: cloud

confluence-cloud
In Greenhopper Plan mode right clicking an issue is supposed to show a context menu, why is this not working?
Asked by George Agnelli:

I should be able to select multiple issues here and send them to a sprint or bulk change them. But the right-click menu shown here is not showing up. I've tried various browsers on Mac and Windows. Is this a bug?

<https://confluence.atlassian.com/display/GH/Ranking+an+Issue#RankinganIssue-Tipsandnotes:>


Answers:
author: Jeison
body: George,

I've got that same behavior, and filed a bug at <https://jira.atlassian.com/browse/GHS-7395> to hear from our development team. It seems like a bug, so make sure you add yourself as a watcher to that bug report to keep track of the process.

Cheers!

comments: author: George Agnelli
body: Thanks for letting me know it's not just me!


author: Renjith Pillai
body: I have updated the reported bug - <https://jira.atlassian.com/browse/GHS-7395#comment-436848>

OnDemand is still running on 6.1.1. This feature is introduced in 6.1.2.


Tags: cloud

jira-software-cloud
Customizing Confluence's Login page -- check for current page in global decorator?
Asked by Matthew J. Horn:

I am customizing my site's Login/Logout page. Most of the HTML that renders the page is in the Main Layout decorator (/admin -\> Look and Feel -\> Layouts -\> Main Layout).

What I'd like to do is modify that decorator to check if the current page is the login page. If it is, I'd like to hide/show certain parts of the header and footer.

Does anyone have a quick way to check which page is being drawn, or maybe which action is being used to draw that page?


Answers:
author: Jason Hensler
body: I could be wrong but, I believe for the login page, the velocity template that generates it is the file call login.vm. It's found on the disk in the folder \<confluence root install\>confluence\\login.vm. I don't believe that the login page is calling or being called from the main.vm file.

Additionally, you could check most pages by doing #if($page.title == "something") for pages layout. In the main layout I think it would just be #if($title == "something").

comments: author: Matthew J. Horn
body: The VM file that defines some of the elements is layout.vm. But I define my header and footer in the global page layout decorator. So, yes, I conditionalized some of the layout items using:

#if ($sitemeshPage.getTitle().trim() == "Log In")  
...


author: Carsten A.
body: How about checking current web-adress via javascript/jquery and show/hide the parts of header and footer according to that via jquery as well?

```
$(document).ready( function() {	var yourUrl = window.location.href;	if(yourUrl.indexOf("whereYou.WantTo.Be") &gt; -1) {		$(".someContents").hide();	}});
```


Tags: decorator

login
How can I move an issue from my sprint when is already started?
Asked by Stephane Nadeau:

My sprint 01 is already started and I when to move an issue from sprint 01 to my sprint 02.

The system don't let me do this.

Is there a solution for this problem or a workaround?

Thank you


Answers:
author: dleng
body: **To remove an issue from the active sprint,**

1. Log in to JIRA.
2. Click the **Agile**link's down-arrow in the top navigation bar, then select your preferred board from the resulting dropdown menu.

3. Your board will be displayed.
4. Click**Work** , then click the issue key to display the Issue Detail View at the right of the screen. Select **Remove from Sprint**

**<https://confluence.atlassian.com/display/GH/Removing+an+Issue+from+a+Sprint>**

After removing from the sprint, you can find the issue in the backlog again. You can then add it to the inactive sprint.

comments: author: Stephane Nadeau
body: works perfectly,

Thank you :)


author: dleng
body: Hi Stephane, kindly mark it as an answer if it has helped you. :)


Tags: cloud

jira-software-cloud
JUnit Macro not displaying names or failures properly
Asked by Meg Cassidy:

We have inserted the JUnit macro on to a few of our pages, but have been unable to get it to properly show test results. We have the three tests shown on this page named within the xml, but they are not showing on the test or on the page we inserted this macro onto. And we know for a fact that some of these have failed, but it is not showing the failures. We know it is connecting to the file because when we add a test, it will show a number 4. We have this folder saved to the C: drive of the computer we are running confluence off of.

Here is a screenshot of our setup window.

![Junit](http://i1301.photobucket.com/albums/ag111/mcassidyblackthorne/junitmacro_zps5c08068f.jpg)


Answers:
author: Meg Cassidy
body: This is still unresolved.


author: Meg Cassidy
body: This is still unresolved.


author: Meg Cassidy
body: This issue is still occuring. We even created a new subfolder in that junit-tests folder and tested there, it also isn't working.


Tags: junit
Cannot access Confluence documentation page anymore
Asked by nsavor:

Hi,

Since Atlassian introduced login on Confluence documentation I cannot access this page anymore:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=315326681>

Why is that? That page used to be public, why is Atlassian restricting access to documentation...:( ?


Answers:
author: Ryan Goodwin
body: If you're looking for information regarding clearing the plugin caches, you can access a similar article here:

<https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache>

The article you referenced is being revised for content.


author: hsuhailah
body: Turns out that the page has a view restriction set. Most probably by the author.
Possible to SSO into Confluence from Windows Authentication
Asked by trevoc:

I have Confluence and crowd installed and working authing confluence \> crowd \> AD no problem.

But,

After users logon to windows, they still have to type in their AD username/password for confluence again.

Is there a way to have confluence attempt to authenticate with the users current logon.


Answers:
author: MatthewC
body: we use a kerberos extension to work with confluence, crowd and AD.

Has benefit that once user has authed with confluence, they have a crowd cookie / SSO session and there is no more chatter to the AD.

<https://www.appfusions.com/display/KBRSCJ/NTLM+v1+or+v2+or+Kerberos>

comments: author: Ellen Feaheny [AppFusions]
body: Nice - thanks Matthew.


author: Bruno Vincent
body: Hi,  

We are proud to announce the release of our new add-on, Integrated Windows Authentication for Apps using Crowd (IWAAC) at <https://marketplace.atlassian.com/plugins/com.cleito.iwaac>  

IWAAC uses Kerberos to allow your Windows domain users to log into Jira, Confluence, Bamboo, Bitbucket Server, FishEye, Crucible or any other web app using Crowd as its user management system, without entering a password.  

Please check out <https://www.cleito.com/products/iwaac/> for more details.  

Best regards,  

Bruno


author: Ed Letifov _TechTime - New Zealand_
body: You can also just buy a working NTLM authenticator solution.

We sell our [NTLM Authenticator for Atlassian Confluence](http://turningright.co.nz/display/TurningRight/NTLM+Authenticator+Bundles "NTLM Authenticator for Atlassian Confluence") for NZ$150 + fees payable to [IOPlex](http://www.ioplex.com "IOPlex - the makers of Jespa") - the makers of the Jespa library that does the NTLM magic.

This solution is in use by dozens of customers all over the world, works with or without Crowd, supports NTLMv1 and NTLMv2. Trials and installation instructions are available for free [here](http://turningright.co.nz/display/TurningRight/NTLM+Authenticator "Free trial download"). Our "hands holding service" is free too.


author: Jobin Kuruvilla [Adaptavist]
body: You can try this technique used by Sharepoint Connector.

<https://confluence.atlassian.com/display/SPCON011/Access+Confluence+using+Integrated+Windows+Authentication+via+IIS>


Tags: active-directory

crowd

sso
Background image
Asked by Kay Hauser:

Can I use an image as background for an article or a template in Confluence?


Answers:
author: Kay Hauser
body: HTML did not work, the image seem to load but it was not displayed. We now implement header and footer graphics, which seems to be way easier than using macros...


author: Richard Lalancette
body: Seriously, 2021, and you need to embed HTLM to get a damn image behind a piece of text?  
:(

comments: author: Matthew Burke
body: Agreed!


author: dleng
body: This has already been asked here: <https://answers.atlassian.com/questions/65250/styling-a-single-page-with-css>


author: Sean King
body: If you have basic css knowledge you can add css to a page with "{style}". Add your css to the body of this macro and publish.

To find the classes and id's of the elements you want to change I recommend using Chrome's "Inspect Element" feature or the firebug add-on for firefox.


author: C. Faysal
body: did you tried using html?

its a macro wich must be enabled (disabled by default)

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


Tags: image

template
How can I comment out parts of wiki Markup?
Asked by Anselmo:

I want to keep some sophisticated macro settings or text blocks in an article, but just for a while (presentation) I want to make them disappear.

Right after that I want to activate this part of the article again.

How do I do that?


Answers:
author: MatthewC
body: You could just do a page edit, then use the page history to revert back to the previous version.

[https://confluence.atlassian.com/display/DOC/Page+History+and+Page+Comparison+Views](https://confluence.atlassian.com/display/DOC/Restoring+an+Older+Version+of+a+Page)

comments: author: Anselmo
body: Thanks, that's true. Just too simple for my master mind ;-)  

But is there indeed a way of hiding parts of the markup text? This could be useful to comment on macro settings. They're sometimes hard to find. Users with no programming ambition may like this, when they lookup wiki markup. So people don't need to study all options of a macro in confluence documentation.


author: Netkos Ent
body: I was just looking for this answer, but no luck outside of the "revert" method. However, I decided to poke around through all of the documentation, and found a solution for the next person that finds this thread. Hope it helps.

This will hide your wiki markup without having to delete it, then you can just remove the comment tags when you're ready for it to be used again.

```
{HTMLcomment:hidden}HTML comment text{HTMLcomment}
```


author: Dan Mish
body: Use the Cloak macro and put your content inside. The cloak should be set as initially hidden. If there is no toggle cloak macro that references it, the cloak will only appear on the edit screen.


author: Jeff louis
body: me any my agency [www.millionairelovers.com](http://www.millionairelovers.com) would like to thank you your organization for all the help and information. ...


author: Scott Gann (CarLoanStudent)
body: Nice post thanks it help me to [learn more](http://www.carloanstudent.com) about macros


author: Bob Swift (personal)
body: Creating a user macro as Matthew suggested is the simpliest way for what you described. [Hide macro](https://bobswift.atlassian.net/wiki/display/RUN/Hide+macro) has more sophisticated options.


author: MatthewC
body: I have a feeling there is another way, but can't remember it at the moment, but I can give you this...

if you write a user macro, it can take the body, macro with settings and ignore it. It will still be in the page but just wont be rendered. Or you could dump it into some HTML comments if you wanted.

```
## Macro title: comment-out## Macro has a body: Y## Body processing: Escape HTML## Output: Selected output option#### Developed by: Matthew Cobby## Date created: 01/02/2013## Installed by: Matthew Cobby## do nothing..... just hide the body in HTML comments&lt;!-- $body --&gt;
```


Tags: comment

hide