youngmon/atlassian-qna huggingface dataset:
New Space Template
Asked by Brad Richardson:

I'm trying to organize our (relatively) new confluence site into a logical fashion before it really gets going. I'd like to create a handful of new "Space Templates" I'm not sure if that is quite the correct term.

More specifically, I want to create some additional options for the type of space users can create (i.e. the options available in the first dialog box that pops up when a user clicks "Create Space")

Currently I've only got the four built-in options (blank space, knowledge base, documentation space, and team space), but I can't even figure out where those are listed, let alone how to create new ones.

So far the only documentation I have been able to find is on creating page templates. I've found the "System Templates" under global Templates, but there is no option to create new ones (and I'm not sure that's where I should create them, since the others aren't listed there).

Have I just been looking in the wrong places? Or is this not actually possible?


Answers:
author: Davin Studer
body: Here is some documenation for how to create a new space blueprint.

[](https://developer.atlassian.com/display/CONFDEV/Write+a+simple+Confluence+Space+Blueprint)<https://developer.atlassian.com/display/CONFDEV/Write+a+simple+Confluence+Space+Blueprint>

comments: author: Brad Richardson
body: I was afraid of that. I was hoping it would be similar to creating a page template. Guess I'll be going working through some tutorials today.

Thanks


Tags: confluence-administration
Confluence "CLOSE_WAIT" ?
Asked by Jason Turner:

We have just started troubshooting Confluence periodically being unresponsive. Most of the time we restart the service and things are good for a few days. Today a tech ran Netstat before we restarted and found this [](http://sdrv.ms/1bmVlkG)<http://sdrv.ms/1bmVlkG> Our local copy of Confluene seems to be trying to connect to Atlassian and about 10 of those connection have a status of CLOSE_WAIT.

Questions:

1. Is it normal for a download copy of Confluence to be trying to connect to Atlassian?

2. Could these connections be causing Confluence to be unresponsive?

3. Should we consider changing the windows timeout for such "Close_Wait" connections?


Answers:
author: Matthias Schulz
body: We?re also have these CLOSE_WAIT?s to pillar03, and we?re monitoring our Confluence Server, and it could be very annoying to have such messages during the night.

because of an apache in front of out confluence we also receive CLOSE_WAIT?s from apache2 service and the java service

netstat -anp\| grep CLOSE_WAIT \|awk '{print $NF}' \| sort \| uniq -c

12 19582/java  
9 19647/apache2  
8 19648/apache2  
7 19947/apache2

is it possible to reduce this without changing our monitoring template which will be used for many other servers/services.


author: William Zanchet [Atlassian]
body: Hello there,  

Pillar03 is our mirror, which after some seconds it gets redirect to [atlassian.com](http://atlassian.com). It could be stuck there, because it can't move forward as the next atlassian's website.  

I don't believe that Confluence being unresponsive would be due that Confluence is trying to reach out the outside world.  

cheers,  
wz
Set up step error
Asked by Don Severs:

I get the Setup Step error mentioned in this doc:

[](https://confluence.atlassian.com/pages/viewpage.action?pageId=390497283)<https://confluence.atlassian.com/pages/viewpage.action?pageId=390497283>

But I am already logged on as Administrator, and Administrator has permissions to the entire Confluence dir.

Please advise,

Don


Answers:
author: Septa Cahyadiputra
body: Hi Don,

If you are running Confluence in Windows, I would recommend you to right click the installer and choose "Run as Administrators".

Hope it helps.

Cheers,  
Septa Cahyadiputra
Is there way to manually configure config.xml to add smtp configration on Fisheye/Crucible?
Asked by Prakash Subedi:

Any example config related to this? (admin console is no longer accessible due to forgotten password.)

Thanks!

Prakash


Answers:
author: Prakash Subedi
body: following entry on config.xml

\<smtp sendEmailsAsActioner="false" starttls="false" from="codeadmin@somecompany.com" host="smtp.somecompany.com" debug="false"/\>  

did the trick


author: Prakash Subedi
body: Steve: I missed to mention that I've already tried resetting the hash (Then I get error that says "unknown user or password"). I am hoping I can get the system to send password via "Forgot Password" feature; if I can put in xml snippet for smtp on config.xml and restart the server. Kindly suggest ...

Thanks!


author: Steve Gerstner [bridgingIT]
body: Hi Prakash,

I believe this will help more then an example config:

[](https://confluence.atlassian.com/display/FISHEYE/How+to+reset+the+Administration+Page+password+in+Fisheye+or+Crucible)<https://confluence.atlassian.com/display/FISHEYE/How+to+reset+the+Administration+Page+password+in+Fisheye+or+Crucible>

Regards

Steve

comments: author: Prakash Subedi
body: Steve: I missed to mention that I've already tried resetting the hash (Then I get error that says "unknown user or password"). I am hoping I can get the system to send password via "Forgot Password" feature; if I can put in xml snippet for smtp on config.xml and restart the server. Kindly suggest ...

Thanks!


author: Prakash Subedi
body: Steve: the link you provided misses to answer my original question; I have already seen the link to no avail. Please let me know if there's xml snippet we can use to configure smtp gateway on config.xml.

Thanks!

Prakash
How do I integrate a Jira Chart into confluence?
Asked by Ryan Smith:

We have the jira macro installed but it only shows lists of issues from a specific project. My engineering team has many jira generated charts that would be great to embed into our confluence instance.

Thanks all!


Answers:
author: HosseinA
body: Hi,

You may be able to do this with External Gadgets in Confluence.

For more information on this please visit:

- [](https://confluence.atlassian.com/display/DOC/Adding+JIRA+Gadgets+to+a+Confluence+Page)<https://confluence.atlassian.com/display/DOC/Adding+JIRA+Gadgets+to+a+Confluence+Page>

Cheers
Passwordless open of secure content
Asked by Pepe:

Every occurrence of this macro requires Confluence password to be given separately even if you are already logged in and you have the access rights the macro occurencies require. An other thing is that this macro seems to work with local passwords, not with federated ones, for example. I am looking for a macro which shows it's content automatically if a logged in user has the required access rights (and I want that trusted content to be located on the same page with content open for all). Could this be implemented in this macro, maybe as an option? (Question moved from Marketplace review)


Answers:
author: Pepe
body: This is a feature request that we have. We specifically designed the macro to require a password every time to validate that the user at the keyboard is the logged in user but do plan to offer a passwordless option in a future release. Is your rating of the add-on really a 2 or are you trying to be neutral when asking a question? Please use the "Ask a Question" button under the Support tab or send feature requests to [sales@praecipio.com](mailto:sales@praecipio.com).

comments: author: Marko Memonen
body: OK, thanks! My rating is about how well at the moment this macro meets the needs I have for securing Confluence content. After the feature request fulfilled it should be perfect also for me.


Tags: addon-com.prcpo.confluence.plugins.secure-cont
Pages are displaying ? Unknown Attachment.
Asked by Thomas Sherman:

Some of my help pages are not displaying attachments. Not sure when this started happening, but some of my pages are displaying *? Unknown Attachment* rather than my attachments.

* Confluence 4.3
* File System based attachments
* Happens for both logged in and anonymous users
* If you 'View Attachments' on the page they are all there. If I re-add the images they display fine.
* Does not occur for all pages. I looked at some very new pages and some very old pages. Both display fine. Not sure what differentiates affected pages.

Any ideas?


Answers:
author: Mick Davidson
body: Thomas,

I've also had this problem on a random basis, but have no idea why it happens. I've cured it by doing what you did, by re-adding them to the page.

Cheers.

comments: author: Thomas Sherman
body: Do you think it has anything to do with copying spaces? I was using the copy space plugin yesterday and someone reported the problem today.


author: Mick Davidson
body: Not in my experience. The pages it's happened on are not part of a space that's been copied, unless it was over a year ago. In which case, I wasn't here. :)


Tags: image
How do I get admin access in Confluence?
Asked by Robert Park:

I'm clearly listed in the admin group for JIRA. But for some reason, I'm not in the admin group for Confluence. Upon further investigation, nobody seems to be in the admin group for Confluence except for [](mailto:noreply@atlassian.com)[noreply@atlassian.com](mailto:noreply@atlassian.com). What now? Whenever I try to do anything that requires admin access in Confluence, it tells me I have no admin access, but clearly neither does anybody else. :(


Answers:
author: Patrice Rompas
body: Hi Robert,

If that's the case. I'd suggest you to create a support ticket in [](https://support.atlassian.com/)<https://support.atlassian.com/>to get a better assistance on this.

Regards,  
Samuel


author: Robert Park
body: Sorry, but I'm using the cloud version... these instructions don't seem to apply in that situation?


author: Patrice Rompas
body: Hi Robert,

If you're using Confluence standalone, you might need to change the password for [noreply@atlassian.com](mailto:noreply@atlassian.com)and restore the administration right (see [documentation](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights))  
Then, you need to add the users to be member of admin group manually, by following [this guide](https://confluence.atlassian.com/display/DOC/Adding+or+Removing+Users+in+Groups).

Cheers,  
Samuel


Tags: confluence-administration
How Confluence implement downloads
Asked by Lawrence Robinson:

I am trying to create a 'hit-counter' of sorts and would like to know how confluence handles client downloads (server-side) when a link on a page is clicked. The counter is intended as a way of tracking how many time a piece of in-house software (a tarball linked to a page) is downloaded by customers.

More specifically my question is:

How does the confluence application know the following when a link in a page is clicked:

1. Whether the download is cancelled when the File Download dialog box is presented by the client browser
2. Whether there is some interruption in the connection before the download completes


Answers:
author: Matthew J. Horn
body: What you want to do is very complex because of the nature of HTTP and the cross-browser incompatiblities. There might be a JavaScript library that supports such features, so I would start there.

comments: author: Lawrence Robinson
body: So I am not opposed in anyway to implementing a solution with JavaScript however, at this point I am more so interested specifically in what is the current implementation of initiating the download once a link is clicked.

For instance, is one of the servlet processes that is always waiting for such a request to come from any link in the running tomcat instance?

Or something more like a download server routine running?


author: Lawrence Robinson
body: I would like to further clarify that I am asking this:

Does confluence implement anything like a download manager to handle serving files that maybe embedded by way of a link?

or

Does clicking on an embedded link simply load the URL into the clients browser using default browser behavior?
Moving a User from Confluence-Administrators to Another Group
Asked by Chuck Minarik:

I want to move our tech writers out of the "confluence-administrators" group to their own group. This is because there is no way to prevent members of "confluence-administrators" from downloading add-ons.

However, when I do this, I need to replicate the Space Permissions that they assigned to the "confluence-administrators" group.

Can I do this with the following SQL?...

```
INSERT INTO [confluence].[dbo].[SPACEPERMISSIONS] SELECT  [PERMID]       ,[SPACEID]       ,[PERMTYPE]       ,'tech-writers'       ,[PERMUSERNAME]       ,[CREATOR]       ,[CREATIONDATE]       ,[LASTMODIFIER]       ,[LASTMODDATE]   FROM [confluence].[dbo].[SPACEPERMISSIONS]  WHERE [PERMGROUPNAME] = 'confluence-administrators'
```

...or do I need to manually recreate the Space Permissions they set up?

TIA...Chuck


Answers:
author: Davin Studer
body: Use the web interfce or the API to make a change like that ... bad idea to do it in SQL.

comments: author: Chuck Minarik
body: So, are you saying there's a way to do this in one fell swoop using the web interface, or through an API?

Or are you saying I have to do set up the permissions one-at-a-time?


author: Davin Studer
body: There are API methods for dealing with groups, users, and permissions. The link is below. Another option would be to use Bob Swift's Conflunce CLI (command line interface) utility to automate the process. He has options for iterating through a csv and performing actions for each line of the csv ... it might make the process a little easier.

<https://developer.atlassian.com/display/CONFDEV/Remote+Confluence+Methods#RemoteConfluenceMethods-Permissions.1>


Tags: confluence-administration
I want to integrate a self hosted (downloaded) instance of Jira with OnDemand Confluence. Is that possible
Asked by Pete Callaghan:

I would like to have single sign on to my local Jira and Confluence OnDemand, as well as integrating my local Jira issues and reports from Confluence OnDemand.

Is this possible?


Answers:
author: Ryan Goodwin
body: It is possible to link the applications with Oauth, however, true single sign on will probably require a 3rd party to handle authentication. You can delegate user management to jira (possibly) but that still requires a login to both applications. You'd need a solution like crowd in the mix supplying user directory to both applications as well as implementing the sso authenticator for both applications.

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


Tags: confluence-cloud

jira
Confluence drop down v5.4
Asked by Wayne Gasson:

I am trying to create a drop down menu in Confluence, on the older version we were supported by the scaffolding plug-in but now I believe we are getting errors as the plug-in doesn't work on this version.

Where do I start in creating a drop-down menu?


Answers:
author: Stiltsoft Support
body: Hello [@Wayne Gasson](/t5/user/viewprofilepage/user-id/723697) ,

You could have a look at our [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=server&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=_dropdown) app. Handy Status, one of its macros, can be used to create status sets with unlimited custom options. You can switch the chosen variant whenever you need it in the page view mode.


author: Steve Gerstner [bridgingIT]
body: Ok, to make it short, you then will need to write a plugin.

Read this:

[](https://developer.atlassian.com/display/CONFDEV/Writing+Confluence+Plugins)<https://developer.atlassian.com/display/CONFDEV/Writing+Confluence+Plugins>

and take a look on this tutorials:

[](https://developer.atlassian.com/display/CONFDEV/Tutorials)<https://developer.atlassian.com/display/CONFDEV/Tutorials>

In detail, you need.

* a macro with your markup
* a web resource module with a little javascript magic
* a xwork action to handle the ajax request from your dropdown choice
* a component for your service class

Or, if thats all static, you will only need the macro and components module.


author: Wayne Gasson
body: ok I'll take a look at the links.... and get back to you :) wish me luck!


author: Wayne Gasson
body: Hi Steve,

We are trying to build a report document with up 100+ options in some cases, so I suppose you would call it navigation structure, just not sure where to begin! I must mention we are 2 complete novices that have been thrown in the deep end to learn :)


author: Wayne Gasson
body: Hi Steve,

We are trying to build a report document with up 100+ options in some cases, so I suppose you would call it navigation structure, just not sure where to begin! I must mention we are 2 complete novices that have been thrown in the deep end to learn :)


author: Steve Gerstner [bridgingIT]
body: What is your intention on creating such a dropdown? Contentcreation/manipulation? Some navigation structures?


Tags: encoding

select-list
Confluence CLI has problems with markdown ModifyPage
Asked by Timothy Brown:

I am trying to append content to an existing Confluence OnDemand page using the CLI. My command is something like:

```
./confluence.sh -a modifyPage --space xxx --title "Open Project Notes" --noConvert --markdown --content2 '# This is a test.This is a test.'
```

However, this change ends up rerendering my content and making existing Confluence macros "show up" in the existing content. Is there a way to prevent this behavior? The simulate option doesn't simulate the change, but debugging seems to indicate that the entire page is rerendered into Markdown, thus deleting the macro prefix (as if I pasted the whole thing into the editor and it was all treated as paragraph text).

I'm using 3.8.0 of the CLI.

My use case is providing a Markdown file or short string to append to the end of the page (project notes), but I don't want to have to manually use the Confluence web interface to do so as we would have our other systems do this automatically using an employee-provided Markdown file.


Answers:
author: Bob Swift (personal)
body: It is most likely a bug. Can you please [open an issue](https://bobswift.atlassian.net/browse/CSOAP) to track it and I will look at it.

comments: author: Timothy Brown
body: CSOAP-274. ([](https://bobswift.atlassian.net/browse/CSOAP-274)<https://bobswift.atlassian.net/browse/CSOAP-274>)


Tags: cli
Confluence Migration Problem
Asked by srinivasp:

I tried to upgrade our existing confluence 4.1.6 version manually to confluence 5.4.2.

I followed the steps mentioned in the atlassian documentation but I dont know where I am doing wrong but the migration is not kicking..

Below steps I followed.

* I have downloaded the confluence bundle
* configured the confluence-home in confluence-init.properties file
* configured production database snapshot in server.xml file
* copied atlassian-user.xml file and osusers.xml file to classes folder from existing production installation
* started confluence.

There are no errors in the log file but it is just connected to HSQL db but not to existing database.

[](https://community.atlassian.com/t5/Confluence-questions/Confluence-Migration-Problem/qaq-p/394813?attachment-id=3687){#link_119437a9005b97}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/66889/1/DB%20Configure%20Err.JPG){#display_119437a9005b97_0}


Answers:
author: srinivasp
body: No.. Production system runs on Oracle


author: Steve Gerstner [bridgingIT]
body: Does your confluence 4 run on hsql?


author: Nic Brough -Adaptavist-
body: What does "configure the production database snapshot in server.xml" mean?

Anyway, it doesn't sound like you've followed the documentation. If you had, it would have asked you what database you want to connect to.

comments: author: srinivasp
body: I mean I have configured the user which was a snapshot taken from Production user. I followed the below atlassian document for reference

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence+Manually>

I selected oracle database and entered the Username/Password but I got the below message

Following errors Occured : Confluence tables already exist in the selected database. Confluence data already exists in the selected database. You can either overwrite the existing data or go back to the database selection page:

Does it sounds something wrong?


author: Hitesh Veeramachaneni
body: Hi Srinivas,

How did you overcome this problem? I am trying to migrate Confluence from one server to another. I took a MySQL dump of existing db and restored it on my new DB Server. When I try configuring the DB from Confluence Setup Wizard, I get the same message as you got!

After all, we need all that data right? Why is it prompting an option to overwrite the existing data?

Would someone please help me overcome this problem so that I can go-ahead and complete the setup of my application.

DB Configure Err.JPG
How to stop "hilight and open jira issue" from adding jira macro to the page?
Asked by Derek Sheeman:

We are testing an update to Confluence 5.4 and very much look forward to the better JIRA integration. Hilighting text on a confluence page and using it to open a JIRA issue is quite handy. Having this process automatically add a jira-issue macro to the confluence page as part of this process is not.

Documentation Reference:

[](https://confluence.atlassian.com/display/DOC/Working+with+JIRA+in+Confluence?&#comments)[https://confluence.atlassian.com/display/DOC/Working+with+JIRA+in+Confluence?\&#comments](https://confluence.atlassian.com/display/DOC/Working+with+JIRA+in+Confluence?&#comments)

* Choose **Create** - the issue will be created in JIRA, *and added to your page.*

How do you prevent this process from adding a jira issue macro to the confluence page? Revoking page edit permission to users is not an acceptable solution.


Answers:
author: Derek Sheeman
body: After discussing the issue with support, the intended behavior of this feature is to interface with the Jira Issue macro and to add the issue macro to the page. Opening a ticket is a function of the macro.

After discussion and to prevent our users from adding issue links accidentally to our documentation pages we disabled the pop-up portion of this feature. When I disabled the "Confluence and Jira Content Connector" Plugin, the popup stopped showing up.

It's a nice feature, but is not needed in our implementation at this time.


Tags: confluence-administration
Why does my page URL contain viewpage.action
Asked by Patrick Foley:

Most of my pages have a URL with mysite.com/help/name+of+page where the name of the page is echoed in the URL. I have one page that uses a viewpage.action URL instead. Why? Is there any way to override that?


Answers:
author: Matthew J. Horn
body: It's because there are "special characters" such as an apostrophe or a colon in the title of the page. The only workaround is to rename the page.
Anonymous comment page
Asked by Deborah Nava:

How do you make an anonymous comment page? want them to be able to enter questions anonymously.


Answers:
author: Deborah Nava
body: I see that but it's not working. You don't have the option of commenting if you are not signed in and if you sign in, it automatically posts your name. At least it did when I tried. Also, the space I need it to be in is restricted to users so they have to sign in to even see the page.


author: Matthew J. Horn
body: In the admin, for the permissions, allow anonymous comments by checking the "Comments" column in the "Anonymous" row.