youngmon/atlassian-qna huggingface dataset:
Configuring Mail Servers For GMAIL SSL
Asked by Juan R Bonfante:

I followed the instructions for adding a JNDI connector to my server.xml file, setup the path, copied over the activaiton and mail jars to the confluence/jre/lib directory. But I'm still getting a no class found error:

...

Caused by: java.lang.NoClassDefFoundError: javax/mail/Authenticator

at org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessionFactory.java:105)

at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)

at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)

at org.apache.naming.NamingContext.lookup(NamingContext.java:793)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)

at javax.naming.InitialContext.lookup(Unknown Source)

...


Answers:
author: Septa Cahyadiputra
body: Hi Juan,

Judging from your issue description, it seems that you move the mail jar to a wrong directory. Please try to move it to \<Confluence_Install_Dir\>/lib/ directory if you are using the standalone version, restart and see how it goes.

If you are running Confluence using WAR, then you should moved it to \<Tomcat 6 Install\>/lib/ directory. Restart Toncat and see how it goes.

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: email

gmail

smtp
How long depth is Cobfluence page?
Asked by Yongpyo Hong:

Hi, I'm Hong who use Confluence

I have some interested question.

"How long depth is Cobfluence page?"

I can make 20 pages hierarchically.

What is limit number of page hierarchy?

Regards.

Thanks.


Answers:
author: BernardoA
body: There is no problem to create these 20 pages, Confluence works well if you put a large number of pages.


author: LuizA
body: Hello There,

Actually we don't have a specific number or a limit so I guess 20 pages can be possible, but to confirm this information I would suggest you to raise a support ticket and so this can be tested per our Engineers.

I hope this helps.

Thanks and Regards.

LJ
Confluence and JIRA are in same server and the login screwed out
Asked by Pangianto Pang:

Hi Support,

I have Confluence and JIRA on a same host with different port no.

They are using SSO login function. But apparently, they cannot be logged in at a same time.

One will log out another when the later application is logged in.

Is this something can be configured? Is the session need to be configured in some way to let them have different session pool or something?

Thanks for your help in advance.


Answers:
author: Septa Cahyadiputra
body: Hi Panguin,

It is necessary for Confluence and JIRA to have a context path to avoid such issue. Please refer to this knowledge base article for detailed information on this:

* [User is Logged Out of JIRA after Confluence Login](https://confluence.atlassian.com/display/JIRAKB/User+is+Logged+Out+of+JIRA+after+Confluence+Login)

Hope it helps.

Cheers,  
Septa Cahyadiputra


author: Joe Clark
body: You need to configure Confluence and JIRA to have unique context paths, or else they will overwrite each other's session cookie - <https://confluence.atlassian.com/display/JIRAKB/User+is+Logged+Out+of+JIRA+after+Confluence+Login>


Tags: login
Not able to drag and drop Pages in List Pages - Tree View
Asked by Henry Tano:

I am not able to drag and drop Pages to change their positions in the List Pages - Tree View. I used to be able to do it, but have not been able to for the last few days.


Answers:
author: Nick Mason
body: Hi Henry,

This is due to a [bug in Confluence](https://jira.atlassian.com/browse/CONF-26647), it'll be fixed with the OnDemand upgrade tonight. :)

comments: author: Henry Tano
body: Thanks Nick.


Tags: cloud

confluence-cloud
SharePoint Connector for Confluence...but for SharePoint Online (office365)
Asked by shahzad h:

Hi,

From within SharePoint, I need the ability to index confluence content and show the results as a unified (SharePoint and Confluence content). To my knowledge, It is achieveable only by using SharePoint Connector for Confluence; however, there is no connector for Office365 yet?

Can someone please confirm this? Also, has anyone tried indexing the Confluence content with SharePoint Online (Office 365)? If yes, could you pleas share your experience and anything that might be helpful for me.

thank you for your help!


Answers:
author: hsuhailah
body: Hey there!

I'm afraid Office365 is not supported and there is no connector for Office365 available yet. Also, OnDemand instance does not have this feature nor SharePoint feature available.

comments: author: shahzad h
body: Hi Hanis,

Thank you, i have few more follow up inquiries:

1. When you say 'OnDemand instance does not have this feature'? Could you please elaborate on that.
2. Also, if you happen to know, what is the roadmap for supporting Office365; moreover, SharePoint 2013?

Since Office365 is not supported, so now I am looking to **host** the **SharePoint** 2013 (SP2013) **on premise**. Assuming that the Confluence SharePoint Connector works with SP2013 on premise, are there any limitations on the Conluence OnDemand version?

I am trying to determine if hosting SharePoint on premise is enough or do i need to host the confluence on premise as well for the SharePoint connector to be fully functional.

My end goal is to be able to index Confluence/Jira content from within SharePoint and show the results as unified content (SharePoint and Confluence/Jira) content.

thanks for your help.


author: Ole Kristensen
body: Any news on this relevant question?


author: Tom Regner
body: There are actually TWO questions:

1. Is there a timeline for when Confluence SharePoint Connector will be supported in Office365?
2. Does Confluence SharePoint Connector ALSO require that Confluence run locally, or can it be the online version?

We are approaching a critical need that this solution might very well fill. If this drags on indefinitely, my organization will be forced to look for solutions from other vendors.

Atlassian, please feel free to add to this discussion any time now...


Tags: cloud

confluence-cloud
Can't import spaces from OnDemand Confluence to downloaded Confluence due to version conflict
Asked by ndh:

It seems, the OnDemand version of the Confluence is not available for downloading.

I was confirmed, that it will be possible to import the content when I started the Trial.

Can you please tell me how to proceed?

Thanks


Answers:
author: Abdoulaye Kindy Diallo
body: Hey Nico,

Kindly have a look at [this documentation](https://confluence.atlassian.com/display/DOC/Migrating+from+Confluence+OnDemand+to+a+Confluence+Installed+Site). It should be useful.
LDAP Configuration question
Asked by Jonas Berlin:

We have two domains domain1.local and domain2.corp, both running MS Active Directory 2008. There is a trust relationship such that domain1 trusts domain2, but not the other way around. The group confluence-users is located in domain1's AD, and Confluence is set up to use domain1's AD as the LDAP server. The confluence-users group contains users from both domain1 and domain2. The users in domain1 can be synchronized with Confluence and all users in domain1 can log in and use Confluence just fine. Users from domain2 do not show up in Confluence, and they can't log in.

I have checked the Follow Referrals box under Advanced in the directory configuration.

Is this supposed to work? Is this a Confluence configuration issue or an AD configuration issue?

Thanks

Jonas


Answers:
author: Bruna Griebeler
body: Hi Jonas!  

I believe that in this case, you must **configure 2 User Directories in Confluence** , **one for domain1 and another for domain2** since Confluence will search for users and groups just below the BaseDN you have configured, like [example.domain1.com](http://example.domain1.com).   
So, even if domain1 trusts domain2 Confluence doesn't know that since it is an Active Directory internal configuration.  

Hope it helps! :)


Tags: crowd

ldap
Move Mail to New Space
Asked by RIsk:

I have a Mail account setup in one space where messages from that mailbox are archived. I need to delete that space because it is no longer relevent but don't want to lose the mail archive.

How can I move a mail account from one space to another?


Answers:
author: GuilhermeA
body: Hello RIsk,

I believe that unfortunately Confluence has no such feature. BUT! We can see them with this query here:

```
select * from bodycontent b inner join content c on b.contentid=c.contentid where c.contenttype = 'MAIL';
```

But I don't know how exactly would we convert this to mbox, which is what Confluence support for "[Import](https://confluence.atlassian.com/display/DOC/Importing+Mail)", but you could simple setup it again, I mean setup this mail in the new space, and fetch it, and delete it from the old space.

I think that it should help you in someway :D

Cheers,

Guilherme


Tags: email
TOC on every page by default
Asked by Ryan Goodwin:

Wanted to add this capability for those out there looking to unify page layouts within a space:

Goal here was to have a table of contents on every page in a given space, but this could be used to render any macro on pages in a given space.

\* Navigate to a space, Browse \> Space Admin

\* In the Look \& Feel Section \> Layouts

\* Page Layouts \> Create custom

In velocity templates, you can call a Confluence macro using notation like this:

$helper.renderConfluenceMacro("{toc}")

Depending on where you want this to render determines where you place it. In my case, I wanted the toc to render above the main content section, so I put this after the metadata section but above the main-content section.

Hope this helps!


Answers:
author: Ryan Goodwin
body: answered to close this out.


author: Sorin Sbarnea (Citrix)
body: But it doesn't work if you try to add it to all pages, see bug <https://jira.atlassian.com/browse/CONF-14004>


author: SimonS
body: This might be a good "how to" article in the Confluence Knowledge Base space too.


Tags: custom-field

macro

table-of-contents

velocity
Upgrade from 2.5.1
Asked by Peter Zylla:

We try to upgrade Confluence 2.5.1 to the latest version.

If I understand your guides, we have to upgrade to version 2.7.4.

And from there upgrade to 4.3.1.

Is this correct?

Are there any guides leading me step by step to the latest version from 2.5.1 ?


Answers:
author: Abdoulaye Kindy Diallo
body: Based on experience, I think the best solution would be to go through stages as highlighted above: 2.5 -\> 2.7 -\> 3.5 -\> 4.x

Yes, it's tiring but it's safer :)


author: Nic Brough -Adaptavist-
body: You almost certainly need to go through version 3.5 as well. You might be able to do 2.5 to 3.5 directly (without 2.7), but I'd still plan on 2.5 -\> 2.7 -\> 3.5 -\> 4.x


Tags: upgrade
Viewing a password protected Excel file within a confluence page
Asked by Jason Pepper:

I've staged a password protected Excel file on a confluence page.

Using the 'View' option to view the contents in the browser (IE) it produces an error;

viewfile: com.benryan.conversion.ConversionException: com.aspose.cells.CellsException: Please provide password for the Workbook file.

Is there any way to do this (i.e. storing the workbook password as an attribute of the attachment), other than opening the file fully within Excel?


Answers:
author: Bruna Griebeler
body: Hello Jason,

Seems that you are experiencing the bug reported here: [CONF-20943](https://jira.atlassian.com/browse/CONF-20943)

Unfortunatelly there's no workaround yet. So I'll ask you to vote on this bug so the developers can check this!

Cheers!


Tags: ms-excel
Is there a work around for the borken Spacelist macro in Confluence 4.3.1?
Asked by Jason Plumhoff:

Hi,

Our Confluence site has several dozen spaces, with more added all the time. To make navigation easier for our users, we customized our dashboard with a **spacelist macro** in category mode. This means that the users were presented a with filtered list of available spaces based on the category (space label). Unfortunately, this macro was broken in Confluence 4.3.1:

\[[https://jira.atlassian.com/browse/CONF-26745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel](https://jira.atlassian.com/browse/CONF-26745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel "CONF-26745")\]

Is there another good way to display a filtered space list to our users?

Thanks,

Jason


Answers:
author: Jason Plumhoff
body: Just to close this out - issue was fixed in Confluence 5.2
Show user's authorizations
Asked by Luca Tanieli:

There is a feature or a SQL query to displays a user's authorizations (Space and/or pages) ?

For example something like View Project Roles for User

Best regards

Luca


Answers:
author: PeterKoczan
body: Hi Luca,

As you have found out, there is no native way to do so, however as you posted there is a [feature request](https://jira.atlassian.com/browse/CONF-26361) that describes a similar functionality.

Just for the record, I would also mention the [Confluence CLI](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-getPermissionList) which provides the ability to report permissions on space level, however this is clearly not reporting on user level.

Cheers,

Peter

comments: author: Bob Swift (personal)
body: Further to Peter's comment, [How to get all space permissions](https://bobswift.atlassian.net/wiki/display/CCLI/How+to+get+all+space+permissions)
Search Macro
Asked by MPal Pal:

Hi All,

Is there a search macro/plugin that searches content of a particulr page ONLY.

Thanks


Answers:
author: MPal Pal
body: Thank you Jhon. Seems the plugin is not compatible with 4.2.2 version


author: MPal Pal
body: Thank you Jhon. Seems the plugin is not compatible with 4.2.2 version


author: JohnA
body: Hi there,

There is a plugin by Adaptavist, the Advanced Search plugin, which will allow you to search the content of just one page, you can check it out here: <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.advancedSearch>

Howeevr, you may find that the content on the page isn't searchable because it is contained in a macro and hasn't been indexed. In this case then you would also want to install the Macro Indexer plugin to ensure that the required content is available to the search index: <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.confluence-macro-indexer-plugin>

All the best,  
John


Tags: app

content

macro

page

search
Wiki Markup Code
Asked by MPal Pal:

Hi All,

Is there a way to change the wiki markup code of all pages in a space at once?

Like when I want to replace "Space ID" appearing in the links of all pages with "Space ID 2".

Thanks


Answers:
author: Bob Swift (personal)
body: [How to automate adding text to Confluence pages](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+automate+adding+text+to+Confluence+pages) - specifically the findReplace section. In your case, use the [runFromPageList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-runFromPageList) alternative.


author: JohnA
body: Hi there,

I think the easiest way to do this, (assuming that you only want to change certain keywords across the Space), is to export the Space to XML from the Space Admin, edit the text of the entities.xml file in a text editor using "Find+Replace" and then re-import the Space back into the instance.

However, you should first try re-importing the edited Space into a test instance to make sure that the changes have been made successfully and there are no problems before you re-import that Space into your production instance.

All the best,  
John


Tags: markup

space-key
connecting events/people calendars
Asked by Selcuk Savas:

Dear All,

I am currentlt testing the Team Calendar plugin.

I succesfully created 2 event calendars: general and team specific.

I would like to post team specific events on their calendar and general events on general calendar. Also we required that general events should flow through to team specific calendars automatically.

All general events should be seen on team calendars.

Team events should be seen respective team calendar.

Is that possible? How can I do it?

Cheers,

Selcuk


Answers:
author: MatthewC
body: You can do this by setting us pages with calendars using the calendar macro.

When you go to browse \> calendars to see you calendars, think of these as your data sources.

Each team creates a page with a calendar macro in it, This is your team view on the calendar data sources.They add their own team calendar \& the general one.

We do something similar. We have a central google ical feeds for UK/DE/US/NL/SG holidays. teams can then also include these on their team pages which hold a calendar.

<https://confluence.atlassian.com/display/TEAMCAL/Using+Team+Calendars#UsingTeamCalendars-IncludingCalendarsonaConfluencePage>

comments: author: Selcuk Savas
body: Hi Matthew,

Thanks for point me to the correct direction. I managed to display various calendar in one .

Hi Sergio,

I am new for Confluence and my knowledge is very limited.

As far as I know there is an funtilonality that you can subcribe to another calendar: <https://confluence.atlassian.com/display/TEAMCAL/Subscribing+to+Other+Calendars+From+Confluence>

and also you can export (share) your team calendar:

<https://confluence.atlassian.com/display/TEAMCAL/Exporting+Team+Calendars+Content+to+Other+Calendars>

And check this as well:

<https://confluence.atlassian.com/display/TEAMCAL/Subscribing+to+Team+Calendars>

I believe we are trying to extend and expand the funtionalities of Confluence beyond its intentions, especially information structure. If you haven't seen confluence concept diagram I try upload the image. I hope it'll give you an idea how Confluence has designed and reveal its limitations.


author: Sergio Storch
body: Great issue! I d like to extend the scope of the question. In case a customer also uses Salesforce, that has its own calendar:

* what are the best practices in integrating information from Team Calendar, Google Calendar and Salesforce;
* what ideas of Confluence pages have you guys designed to best segment the information that s relevant to each person and each team?

So the question goes beyond the technical aspect, rather gets into information architecture considerations.

Anyone who d like to share experiences and think together?
Move users across from one LDAP directory to another?
Asked by Jeroen van Leeuwen:

I am trying to move users from an Delegated LDAP directory to a new directory that does Delegated LDAP over SSL. All the same user names occur in both instances.

I want to remove the old LDAP directory in favour of the new one, but all user accounts seem to have attached themselves to the original one. Even if I move the new directory above the old one, it does not appear to re-evaluate the origin of the account.

I don't want to delete the existing accounts and risk leaving the exisitng content orphaned. I just want to update all user accounts to now refer to the new directory instead.

Is there some way I can update just that one reference without destroying information?!


Answers:
author: joe
body: If the two directories are both Delegated LDAP and contain the same users then you can update the connection details for the existing connection, rather than creating a new one. Is that an option here?


author: Septa Cahyadiputra
body: Hi Jerry,

Since this is a new directory, you will need to add the user manually from sracth or configure Confluence to add the user automatically during the log-in process.

We are sorry to inform you that Confluence does not support cross-directories membership, then it is necessary for you to build the membership fom scratch if you wish to work with the newly created directory. Also, for your information, currently Confluence is not able to move users across directory, although we do have a new feature request created here:

* [Ability to Copy or Move Users/Groups from One User Directory to Another](https://jira.atlassian.com/browse/CONF-22297)

Please add your vote into it to raise the popularity of the mentioned request, watch it so that you would be updated and please feel free to address your concern directly into it. For more information about how Atlassian implement New Features, please see the [Implementation of New Features Policy](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy).

Cheers,  
Septa Cahyadiputra
Icon in navigation tree for restricted pages
Asked by Adam Jacobson:

Hi all,

I'd like to make it easier for users to recognise within the left navigation tree that a page that a user can see actually has a viewing restriction applied. This will give them some confidence that child content they create will also be restricted.

I'd just like this to be the usual lock symbol next to the page name. Something like this:

![](../../upfiles/mockup_2.png)

Any ideas on how this might be done?

Thanks.


Answers:
author: Dave Hergert
body: Hey Adam -

Did you know that when you are viewing a page that has restrictions, there is a little padlock that appears beneath the page name, right next to the "Added by Smith, John, last edited by..." line. This padlock appears when the page itself has restrictions directly or indirectly from a parent in its lineage.

When you create a child page, typically you are on the page that will be its parent so by seeing that padlock before you click "Add \> Page" you should know your child page will have some restrictions.

comments: author: Adam Jacobson
body: Hi, thanks a lot for your answer.

I did know about the padlock icon on the page, but for our many new users to Confluence it's just too subtle to notice. I guess this is really a training issue for us.

I've seen some neat stuff that people have done to customise their sidebar, so guess I was looking for some leads on how to create something obvious to our users.


Tags: page-tree

restriction
Granting edit permission in personal space fails
Asked by John Douglas:

users are trying to do cross editing on pages in their personal spaces. Page restrictions display that the other user has edit permission, but unlike a common/ public space Edit button only shows for owner.

.

COuld not find personal space edit priv difference in the docs.


Answers:
author: nriley
body: A personal space uses the same permission scheme as other common/public spaces. In order to view a page within a space, a user must have permission to the page, the parent pages (if any), and the user's personal space. To edit the permissions of the space, navigate to that user's space, click Browse \> Space Admin \> Permissions.

More info can be found here:

<https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>