youngmon/atlassian-qna huggingface dataset:
Confluence permission scheme details
Asked by srinivasan radhakrishnan:

HI,

In our company purchased on demand instance of JIRA and Confluence.

1. In JIRA we created a common permission scheme and shared that to more than one project

2. But we can't achieve this scenario in confluence.

In confluence for each space using "Space Permission" to enable or disable the permisson right now. Is any way available to achieve the JIRA permission scheme scenario in on demand Confluence.

Thanks in advance.


Answers:
author: Bob Swift (personal)
body: No, not really. Confluence manages permissions on the space level (no cross space schemes). About the best you can do is set the default space permissions for new spaces that get created (Admin -\> Space Permissions).


Tags: cloud

confluence-cloud
Confluence DataBackup
Asked by AKASH BHARDWAJ:

Hi Genius out there,

I want to take database back up of Confluence database,

From my Linux terminal

I am using pg_dump \[Databaase name\] \> \[NewDatabase\].sql

But still database back up is not happening.

Is there any other way or guide to take a backup of Confluence database.

Also what are the precautions that i should take while backing up the Database.

Thansk All,


Answers:
author: Tiago Comasseto
body: Hi, according to Postgres [manual](http://www.postgresql.org/docs/8.1/static/backup.html) the command you're using should be working. What's exactly the problem you're facing with the database backup?

Additional to this, the [XML backup](https://confluence.atlassian.com/display/DOC/Site+Backup+and+Restore) is an alternative to substitute the database backup, but we usually suggest to also create a backup of the entire [home directory](https://confluence.atlassian.com/display/DOC/Confluence+Home+Directory) and [install directory](https://confluence.atlassian.com/display/DOC/Confluence+Installation+Directory). This way your backup rotine will also include any customization to Confluence files you may have and your installed plugins.

Cheers


author: rambabu patina
body: Hi Akash,

Have a look on confluence documentation about [backup data](https://confluence.atlassian.com/display/DOC/Migrating+to+Another+Database#MigratingtoAnotherDatabase-Step2:Backupyourdata.1).

Hope this helps you,

Patina


Tags: database
How to inlcude JIRA project components to corresponding confluence project space in On demand ?
Asked by srinivasan radhakrishnan:

HI,

I have the below two on demand instance

1. JIRA

2. Confluence

When i create a new project in JIRA, automatically a new space is allocated for new project in Confluence with same KEY. It is perfect.

When i edit the page in this space, i can access the JIRA users . I need to include the project componet details like browsing a user in edit page.

It is possible in on demand Confluence.

Thanks in advance.


Answers:
author: Nic Brough -Adaptavist-
body: Could you explain "I need to include the project componet details like browsing a user in edit page" in more detail? I don't understand what the goal is here?

comments: author: srinivasan radhakrishnan
body: Hi Nic Brough,

In confluence edit page we pick up the user list by typing "@" macro , It is any way to inlcude the project component details in particular project space using macro.


author: Nic Brough -Adaptavist-
body: @ mentions are for mentioning people. I don't see much use for mentioning project components and what would you actually do with the mention? Think of it this way - in a car-related project, you say "@bob fixed something to do with an @tyre". Bob gets notified that someone has mentioned him, you can click on his profile, get more information about him. There's nothing of any use I can think of that a mention of @tyre would do.

Of course, you can code something to do it, but I'm really not sure why you'd bother.


Tags: cloud

confluence-cloud
What versions of Chrome and IE are supported for Confluence OnDemand?
Asked by Jamie Jamie:

Many thanks!


Answers:
author: Bharadwaj Jannu
body: <https://confluence.atlassian.com/display/DOC/Supported+Platforms>

see also <https://confluence.atlassian.com/display/AOD/Internet+Explorer+8+End+of+Support>


author: Jamie Jamie
body: Thank you for responding so quickly. The requirements in the

<https://confluence.atlassian.com/display/DOC/Supported+Platforms> document - does the Java JRE requirement apply to OnDemand or only the locally installed version?

Many thanks,

Jamie


Tags: cloud

confluence-cloud
'Unable to create an ActiveX object to open the document. This is most likely because of the security settings for your browser.'
Asked by Jered Biard:

We are using Confluence version 5.3 and have enabled the Office Connector. We have many users who are having no trouble at all using the Edit Document link to edit an embedded Excel spreadsheet. However, we have a few users who receive the above error every time they try. We have been through all of the security settings in both IE8 and IE9 to no avail, even on the same machine. We are using Office 2010. I have verified the Sharepoint entries are set to Run from My Computer, though none of them seem to be the same as the related articles Google turns up for this. Please help!


Answers:
author: Ryan Goodwin
body: Hi Jered,

Do those affected users experience the same behavior when trying to access from another machine? Wondering if there's any relation to confluence and the user or if it is strictly due to browser.

Is this happening with users from a certain geographic location? Office? Remote access? etc?

Just in case you didn't see the suggestions here:

[https://answers.atlassian.com/questions/94138/unable-to-create-an-activex-object-to-open-the-document](/questions/94138/unable-to-create-an-activex-object-to-open-the-document)

I would do some additional troubleshooting use HAR exports to see if you can examine the network traffic of the affected users.

comments: author: Jered Biard
body: Thanks. I had seen that, but it took another pair of eyes to make me look closer. The problem was to do with 64 vs 32 bit browser versions.
sysadmin login ondemand
Asked by Mike Myers:

can you login as sysadmin with ondemand confluence


Answers:
author: Nic Brough -Adaptavist-
body: No. The top level of admin is reserved for Atlassian support.


author: Nic Brough -Adaptavist-
body: No. The top level of admin is reserved for Atlassian support.


Tags: login
License key for confluence upgrade test
Asked by Bill Bernhardt:

If I'm upgrading a test instance of Confluence ( just to test the upgrade process ), what should I use for a License Key?


Answers:
author: Bill Bernhardt
comments: author: Bill Bernhardt
body: Thanks Nick. I'm trying to do this as a dry run of the production upgrade. I'll have to use a "real license" when I get to the production upgrade.


author: Nic Brough -Adaptavist-
body: That's what development licences are for! Have a look under your licence key in your my.atlassian account. (Although you only get them for commercial licences if I remember right)
How can I update my name in personal space in Confluence?
Asked by Ravi Kumar:

Hi,

I am using Confluence 5.3.

I managed to update my name with First name and last name on the profile page (Profile originally only had first name), but it is still listed as my first name only in the Personal space that I created prior to adding the last name.

Is there any way to update my name in existing personal space?


Answers:
author: Adrien Ragot 2
body: If it's just your page title, you can just edit the page.

For the space name, you should be able to go to Space Tools -\> Overview -\> Edit Space Details.

comments: author: Ravi Kumar
body: Thank you Adrien.

It was the space name that I wanted to change and I used your instructions.


author: Ravi Kumar
body: Thank you Adrien.

It was the space name that I wanted to change and I used your instructions.
Filtering Confluence Content
Asked by Patty Blount:

Is there a way to filter documentation based on labels? For example, like shopping for shoes, users can filter a large list of search results by size, color, shoe type, etc., and reduce the list of results with each option. "I want to see all shoes that are red in size 9 with a high heel."

Is there a way to do the same in doc so we can filter a list of search results by user role, by software feature, content type? For example, "I want to see all wiki pages labeled Developer Documention for the Backup feature, of content type Troubleshooting."

It looks like there is only one filter that can be selected, not a series of filters. Do you have any suggestions?


Answers:
author: Matthew J. Horn
body: You can use boolean AND to match only pages that share one or more labels:

<https://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax>

According to that page, something like this will work:

labelText:backup AND labelText:`dev_docs`

As for "content type", you mention "Troubleshooting". If that's the name of the space, then you can search by space like this:

spacekey:troubleshooting

So, to put it all together, this might work:

spacekey:troubleshooting AND labelText:backup AND labelText:`dev_docs`

But I suspect you're looking for something a bit more robust and customizable.

comments: author: Patty Blount
body: Yes, something that wiki users could pick and choose to help them find the right information. Ideally, I want users to be able to customize the content they see, based on the labels that filter the search results.

We're designing a labeling strategy. We have audience (Developer, Partner, Customer), feature (various), content type (administration, implementation, development, troubleshooting).

Would love your suggestions on aiding search.


author: Matthew J. Horn
body: Well, we ultimately abandoned the Lucene-based search in Confluence and paid for GSS (Google Site Search) for our sites. You can check it out here:

<http://devcenter.verivo.com>

The GSS search box is in the upper right; the search results pages look pretty good.

GSS uses Google search results, so the content you index with it must be public. But with GSS, you can use customize refinements, auto-complete, synonyms, restrictions, sorting, and other features. You can also use GSS for "federated" search, meaning you can search across multiple sites and content types (Confluence, JavaDoc, HTML, etc).
directories that can be cleared in /var/atlassian/application-data/confluence?
Asked by Matt Uebel:

I am running out of room in /var/atlassian/application-data/confluence . Are there any directories that can be purged?

In particular, there is a directory called "bad2." This directory seems to contain backups of the plugin directories (bundled-plugins plugins-cache plugins-osgi-cache plugins-temp). I suppose this could have been created by another admin, but is this otherwise something Confluence creates on its own for some reason? Can it be removed?

UPDATE: The bad2 directory was indeed created by another administrator. Confluence did not create it.


Answers:
author: Matthew J. Horn
body: According to the Confluence docs, you can safely remove several of the plugins cache directories:

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

From my own experience, some of the cache files are not recreated on restart, so this will save you some space.

comments: author: Matt Uebel
body: have you ever seen a directory called "bad2"? Further details in the edited question.


Tags: confluence-administration
Can you duplicate Space hierarchies?
Asked by Noelle Adarme:

How can I duplicate a space hierarchy so that it can be used by another space?

e.g. If two teams need to have different information under the same headings (e.g. Contact Info, Release Process etc.)


Answers:
author: Christian Czaia _Decadis AG_
body: Maybe you could create "space templates" ans use the copy space plugin

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace>

Cheers


Tags: confluence-administration
Alternative include macro
Asked by Josch Bencke:

Hi,

I think I remember an alternate "include" macro in V3.5 where the included macros are rendered in the target-context, not in the source-context. Has this been abandond or do I just not find it ?   

**Example:**

"HostPage" contains following content
>
> ```
> .h1 Title heading.h2 included file
> ```
>
> ```
> {include PageToBeIncluded}
> ```
>
> ```
> .h2 second sectionabd.h1 finish linethe end
> ```

"PageToBeIncluded" contains following content
> {TOC macro}
>
> .h3 one
>
> .h3 two
>
> .h3 three

<br />

Now - the rendered "TOC" could look like
> \*\*\* one
>
> \*\*\* two
>
> \*\*\* three

or could look like
> \* Title heading
>
> \*\* included file
>
> \*\*\* one
>
> \*\*\* two
>
> \*\*\* three
>
> \*\* second sction
>
> \* finish line

How do you do that today ?

Thanks in advance,

Josh


Answers:
author: Josch Bencke
body: Outch - the second I post this question - I remember a "potential macro name" ...   

It was the Import macro from the Theme-Builder plugin.   

<http://www.adaptavist.com/doco/display/Builder>

Answered :D
[Team Calender] Creating new event types
Asked by Lars B?hnke:

Hi,

we're only using Confluence, not JIRA. Is it possible to modify the exisiting four event types and to create new one?

Cheers

Lars


Answers:
author: Ryan Goodwin
body: Hi Lars,

It's not possible at this time. Had another request for this so we generated a feature request:

<https://jira.atlassian.com/browse/TEAMCAL-523>


Tags: confluence-administration

team-calendars-for-confluence
How to include a page with parameters ?
Asked by Anja Fust:

I would like to include a page like:

```
....DB+Schema+-+Description?run_DDLReport_SchemaName=PORTAL&run_DDLReport=run

but I did not find a way to extend the include page macro with parameters /-)

Reason for it is, that I would like to combine Database Schema specific content 
(one page for each schema) with general data like show all tablenames for the given schema
?(one page for all DB schemata, which will get the schema name to query for all schema tables)
```


Answers:
author: Anja Fust
body: I m still getting mails to follow up, but not sure how ?


author: Anja Fust
body: Dear Bob, did you meanwhile checked my email I ve written, with addtional screenshots I included for clarification ?

Regards Anja


author: Anja Fust
body: I created:

<https://bobswift.atlassian.net/browse/RUN-123>


author: Bob Swift (personal)
body: I don't know of a way to do this, but it would be useful in a number of cases. Could you please open an improvement request (https:/bobswift.atlassian.net/browse/RUN) and I will investigate the feasibility.

Actually, [RUN-120](https://bobswift.atlassian.net/browse/RUN-120) might be enough support for some situations.

comments: author: Anja Fust
body: Hi Bob,

thanks for the quick response, I m not sure, if I requested the improvement correct, could you please check.

Regards Anja


author: Bob Swift (personal)
body: I don't see anything. Did you follow the link: open an improvement request


author: Anja Fust
body: It s somehow confusing, if I click now from the browser on the link, the page changes in the right side for milliseconds and goes back and if I click on the link from the mail I get:

404 Not Found

No clue how to place the improvement /-)


author: Bob Swift (personal)
body: Fixed the link to https:/bobswift.atlassian.net/browse/RUN.

Something wrong with answers insert link dialog :(.


author: Anja Fust
body: Sorry, but still not working, I tried with severeal browsers, but the page doesn t really change after clicking on you link, so still no clue how to open the improvement /-)


author: Bob Swift (personal)
body: Go to [RUN-120](https://bobswift.atlassian.net/browse/RUN-120) and see if that satisfies your specific need. If not, use the create issue button from there to create a new issue.
Confluence On Demand - Any way to grab user input?
Asked by Darian:

When using On Demand, is there anyway to build any type of form to obtain user input? I'd like to buid a simple form with custom prompts to get information from an integration partner.


Answers:
author: Renjith Pillai
body: If you are also using JIRA in OnDemand, use Issue Collector which is meant for this - <https://confluence.atlassian.com/display/JIRA/Using+the+Issue+Collector>


author: Mauro Badii
body: Darian,

I don't think that functionality is available on any plugin for OnDemand Jira. You can search all the plugins available on this documentation: \[Atlassian OnDemand and Add-ons (Plugins)\|https://confluence.atlassian.com/pages/viewpage.action?pageId=315326753\] and maybe find something useful.

Cheers!


Tags: cloud

confluence-cloud
Commenting: How do I disable the Sign up message that anonymous commenters see?
Asked by SuchiG:

Hi,  
We've set up a little site and disabled anonymous user signup--they only have View rights and Add Comment rights.

Here is the problem. When anonymous users click in the comment box, they get shown a message saying that they can sign up (see attached image). But, of course, when they click the Sign-up link, they get shown a login page and it says that the Admins haven't enabled Public Signup.

I'm not sure what is happening here. We would like to disable the message appearing in the comments box.

-Suchi![](../../upfiles/usersignup_message.png)


Answers:
author: HosseinA
body: Hi,

I would like to mention that you can actually customize this message and remove the sign up from in the message by following the steps below.   

1- Stop your Confluence.  
2- Navigate to \<Confluence installation dir\>/Confluence/includes/  
3- Find \*alert-anonymous.vm\* and edit it to remove the signup form and you can also provide your own message there.   
4- Save the file with the changes  
5- Start your Confluene.

comments: author: SuchiG
body: Thank you. That was what I was looking for!


author: Renjith Pillai
body: Suchi, in fact you should disable Add comment rights for Anonymous users. Do you really want anonymous people to comment?

This might be a bug in Confluence in that specific usecase. Which version of confluence are you using?

comments: author: Renjith Pillai
body: So remove that permission and that comment button itself won't be visible for anonymous users.


author: SuchiG
body: Er, we do want anonymous people to comment. :)

We don't want them to sign up--because I believe it will use up our licenses.  

We're using Confluence 5.3.


Tags: confluence-administration
Regarding confluence
Asked by kA:

Hi friends,

Whether it is possible to update the user details from jira to confluence through programmatically(C#)?


Answers:
author: Nic Brough -Adaptavist-
body: Using code, no, because you can't upload plugins into OnDemand (and I don't think Connect is going to be that powerful)

Also, what does "from Jira to Confluence" mean? Where are you trying to update and what effect should it have on the other system? Even then, the answer is probably "depends entirely on what user management system you are using"


author: Liviu Constantinescu
body: You can have JIRA do this for you by using the JIRA User Server.

Just do this to connect JIRA and Confluence:

<https://confluence.atlassian.com/display/JIRA044/Allowing+Other+Applications+to+Connect+to+JIRA+for+User+Management>

After that, you can just go to the Confluence Admin page and under User Directories press "Synchronize".


author: Renjith Pillai
body: If you are using OnDemand, you anyway have centralized user management. Are both your JIRA and Confluence hosted in OnDemand?

comments: author: kA
body: Hi Renjith,

i can able to perform this one manually in the UI on Ondemand JIRA but i need the detail of how can i achieve through the REST API. By using REST API how can i activate and deactivate the user in confluence based on the JIRA user. It is possible to perform this one.

Thanks,

Karthik


author: Renjith Pillai
body: OnDemand does not allow to do this as I read from <https://answers.atlassian.com/questions/76666/how-to-deactivate-a-user-in-atlassian-ondemand>


Tags: cloud

confluence-cloud
Jira + FishEye Smart Commits produce a RemoteAuthenticationException
Asked by David M?ller:

We set up Smart Commits according to the documentation, meaning we [enabled smart commits](https://confluence.atlassian.com/display/FISHEYE/Enabling+Smart+Commits), [added an application link](https://confluence.atlassian.com/display/FISHEYE/Adding+an+Application+Link) and set up the users mapping for the project accordingly.

However, on every smart commit an email like the following one is sent to the admistrator and the smart commit fails:

*Errors processing MYPROJECT-74 #time 5m*

*FishEye was unable to log '5m' against the issue 'MYPROJECT-74' because it could not be found, or you do not have permission to view it on any linked JIRA server.*

*FishEye was unable to log '5m' against the issue MYPROJECT-74 due to the following unexpected error: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: Invalid username or password.*

What can we do to fix this permission issue?


Answers:
author: Felipe Kraemer
body: Hi David,

1) So, you're using JIRA to manage your FishEye users. Do you have all JIRA users in FishEye? This can be seen if you click the *Next \>\>* button as shown in the screenshot. Please check if you're syncing with the *jira-users* group. If this is true, please make sure that you're using **only** Trusted Applications as authentication method.

2) As can be seen in the screenshot, you're using Basic Authentication as well, which means that FishEye will make requests to JIRA using the credentials of the "fisheye" user that can be seen in the screenshot, instead of the credentials of the real user who triggered the Smart Commit. The "fisheye" user probably does not have permission in the JIRA project MYPROJECT in order to perform the operation you've requested (log work), and that's probably why the administrator receives that email. Please disable Basic Access and try to use Trusted Applications only. Also, from JIRA side, please make sure that Incoming Authentication and Outgoing Authentication are configured as recommended in [this document](https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+FishEye#IntegratingJIRAwithFishEye-Step2.ConfiguretheFishEyePlugininJIRA), making sure that IP Patterns and URL Patterns are correctly configured.

comments: author: David M?ller
body: Thank you so much, got it working with your help finally!


author: Felipe Kraemer
body: Hi David,

It looks like the credentials of the user logged in FishEye are note the same of the user logged in JIRA. Could you please check if the username and password of the user logged in is the same in both sides?

Also, please check that you're not using Basic Authentication in the Application Link between JIRA and FishEye.

comments: author: David M?ller
body: Hi Felipe, thanks for your answer!

1) I don't think that our fisheye actually has an own user base - like it seems to me, they are directly taken from Jira. See here:

![](http://i.imgur.com/mDcX2C7.png)

2) I'm not sure if I got this right:

![](http://i.imgur.com/KVKREEX.png)

And:

![](http://i.imgur.com/O8S2rds.png)

Does this make sense to you?


Tags: fisheye-crucible