youngmon/atlassian-qna huggingface dataset:
How can I delete a space?
Asked by LYY:

I made some mistake on setting my space, so I can't enter my space setting now.

Is there any other method to delete a space just like use terminal or something?


Answers:
author: Patrick Cartier [Candylio]
body: To delete a space you must be the administrator of the space. Assuming you created it, you should be the admin.

Here's documentation on how to delete a space:

<https://confluence.atlassian.com/conf59/delete-a-space-792498674.html>

I'm not sure about deleting a space with terminal, maybe someone else can help with that :) .
how can I add .js file ?
Asked by LYY:

I tried to put the .js file in \\confluence\\includes\\js\\my.js, and I add

```
<script type="text/javascript" src="/confluence/includes/js/my.js"></script>
```

in my Custom html setting.

I reload the page but nothing happened.

I miss something?


Answers:
author: Sloan
body: Hi [@LYY](/t5/user/viewprofilepage/user-id/1204391)

Did you follow this Knowledge Base page? [How to use JavaScript in Confluence](https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html)
I can't import xml that export A space.
Asked by Son SuJung:

Hi

I'm use Confluence 6.4.2

I want to import to B space with XML file exported A space.

But I can't select directory.

[http://doc.brighticsiot.samsungsds.com:8090/x/CwAB](http://doc.brighticsiot.samsungsds.com:8090/x/CwAB "Image")

Export Directory is

/home/iotadmin/atlassian/application-data/confluence/temp


Answers:
author: Edwin Kyalangalilwa
body: Hi Son,

A space is imported from Administration.

![Screen Shot 2018-04-15 at 21.27.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/19644i25611E27BC9B56DF/image-dimensions/168x187?v=v2 "Screen Shot 2018-04-15 at 21.27.57.png")

Then you can select the XML in **Upload and Restore**

![Screen Shot 2018-04-15 at 21.28.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/19645i3D95B33D3E2E0D6C/image-size/large?v=v2&px=999 "Screen Shot 2018-04-15 at 21.28.08.png")

comments: author: Son SuJung
body: I know that, But It will be imported Same Space Name(Space ID).

I want to import other space.

For example

I exported XML from A1 space, and then I want to import that to the A2 space.


author: Edwin Kyalangalilwa
body: Is this on the same instance or two Confluence instances?

Do you want to copy the space?


author: Son SuJung
body: Yes!!

There are one confluence instance.


author: Edwin Kyalangalilwa
body: It is not possible for one instance.

You can use a plugin to copy the space

[Copy Space for Confluence](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace/versions)


author: Son SuJung
body: Thanks.

But that plugin not support Confluence v6.4.2..
Can't login to confluence
Asked by ??????? ????????:

after restore from backup i can't login Error code:

The following error(s) occurred:

* Sorry, a network error occurred trying to log you in. Please try again, and contact your administrator if the problem persists.


Answers:
author: Shannon S
body: Hello,

Could you let me know where your logins are stored? Is it in Crowd, Jira, or locally to Confluence?

Can you check your Confluence server logs and let me know what error occurs in the logs at the same time that you see that error in the browser?

Shannon
Upgraded to Confluence 6.8.1 and getting 500 server errors
Asked by Gilad David Maayan:

We upgraded a Confluence instance to version 6.8.1 and are getting thousands of 500 server errors, which look like the below. Can you advise what is causing these errors and how to prevent them?

```


{? "_index":?? "_type": "nginx",? "_id": "AWLIoO24uyZAlXugjbtC",? "_score": null,? "_source": {? ? "request": "/visualweb/s/it_IT/7701/445126ab56584205167f1c035c86df495c7c4192/1.0/_/download/resources/confluence.web.resources:ajs/images/brand-images/programs/atlassian-developer-white.svg",? ? "agent": "axios/0.17.1",? ? "role": "ui",? ? "auth": "-",? ? "ident": "-",? ? "type": "nginx",? ? "rails_timestamp": "2018-04-15T09:26:50.000Z",? ? "http_host": "cloudinary.com",? ? "geo": "us",? ? "request_time": "0.239",? ? "rails": "false",? ? "@version": "1",? ? "cld_version": 414,? ? "host":?? ? "host_ip":? ? "x_cld_error": "-",? ? "input_type": "log",? ? "verb": "GET",? ? "bytes_sent": "62346",? ? "tags": [],? ? "x_forwarded_for":?? ? "referrer": "-",? ? "elb_ip": "10.0.2.179",? ? "@timestamp": "2018-04-15T09:26:51.014Z",? ? "instance_id":?? ? "request_length": "392",? ? "response": "500",? ? "bytes": "61806",? ? "az":?? ? "httpversion": "1.1",? ? "region":?? },? "fields": {? ? "@timestamp": [? ? ? 1523784411014? ? ],
```


Answers:
author: KC Integrations
body: What the outcome from this, I am now getting hundreds of these error in Confluence 6.15.3


author: Edwin Kyalangalilwa
body: Hi Gilad,

Please post the error from Confluence logs.

What version did you upgrade from?

comments: author: Gilad David Maayan
body: Here is the log showing the error:

[https://drive.google.com/file/d/19jSLsKk7ygBcQS29T6M-lFtxk4M5HaU6/view?usp=sharing](https://drive.google.com/file/d/19jSLsKk7ygBcQS29T6M-lFtxk4M5HaU6/view?usp=sharing "error log")

We upgraded from 6.1.2. Thanks for your help!
Confluence Cloud vs. Server / copy and paste, browser, ... what other differences?
Asked by Brian Catanzaro:

I used Confluence at a client's place. Now I've set up Confluence Cloud and am trying to get up and running.

++**Copy and Paste**++

* Ctrl+C and Ctrl+V to copy and paste text. Why doesn't this work?
* Even the right mouse button won't allow me to copy / paste

++**Browser Preference**++

* It used to work fine at my client's with Firefox.
* Cloud doesn't seem to work very well with Firefox (lot's of hangs, lost edits, ...)
* I'm using Explorer (Win 7 / 64-bit). Is that the reason for the copy / paste issue?


Answers:
author: Patrick Cartier [Candylio]
body: Hi [@Brian Catanzaro](/t5/user/viewprofilepage/user-id/1157234)

I'm using Confluence Cloud chrome and ctrl+c and ctrl+v works for me, right mouse button as well. Maybe this is something on your own machine.

I have seen this issue before like here:

<https://community.atlassian.com/t5/Questions/Copy-paste-doesn-t-work-in-Confluence/qaq-p/440817>

Maybe it's a plugin that is prohibiting your copy and paste?

Atlassian supports Firefox according to this: <https://confluence.atlassian.com/cloud/supported-browsers-744721663.html>

Maybe this is also related to an add-on that you have installed. I would start running through the documentation for your add-ons and seeing if Firefox is supported in all.

Some of the other main differences between cloud and server are here:

<https://confluence.atlassian.com/cloudkb/pros-and-cons-of-cloud-vs-server-691011844.html>


Tags: cloud

server
Cannot preview 'c' files
Asked by Mike Hodel:

On a file list page I can preview 'h' and 'cp' files but for 'c' files I get the message

"We can't preview this file.   
You'll have to download the file to view it."


Answers:
author: Shannon S
body: Mike,

Can you please clarify what you mean by 'c' files? Do you mean that you can't view any files which start with 'c'?

Does this occur in multiple browsers? What version of Confluence are you running?

Shannon

comments: author: Mike Hodel
body: Shannon,

I'm running the cloud version of Confluence from Google Chrome. By 'c' files I mean files with the extension .c, for example main.c. The interesting part is that previewing a file named main.h works fine.

Mike


author: Shannon S
body: Hi Mike,

So these should all be previewing as text files?

Can you go to the files list and click on Properties and compare the New Content Type field for the .c files vs the .h or .cp files?

Shannon


author: Mike Hodel
body: All contain "text/plain"


author: Shannon S
body: Mike,

I tested this on my Cloud instance and for .c, .cp, and .h files all are previewed without issue. However, I don't write code so my files are all just plain text saved as the appropriate file extension.

I'm using the latest version of Google Chrome.

Does this occur with 100% of your .c files? We will likely need to see the error logs themselves so I will need to raise a support ticket for you. Can you confirm your working hours so I can raise the ticket with the appropriate team?

Shannon


author: Mike Hodel
body: This does occur with 100% of my .c files. I've also tried with Microsoft edge and Internet Explorer with the same result, only ".c" files. I'm in California and be reached most anytime from 5am till 7pm PST.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/19816i304BD94C7AF5D661/image-size/large?v=v2&px=999 "image.png")


author: Shannon S
body: Thank you, Mike!

I raised a ticket so we can look at the issue directly on the URL. I just noticed you shared the URL in your screenshot so I will update the SEN on your ticket, but if you can still reply to the question with some example pages, it will help!

Regards,

Shannon


Tags: confluence-cloud
Set up restricted spaces for clients / setting default group for new users
Asked by Brian Catanzaro:

I want to invite new users, and by default put them into a client space where they can only access their own spaces. For example:

* Group Corporate / Access all spaces
* Group / Client A / Access only Space A
* Group / Client B / Access only Space B

It seems that inviting new users puts them into the (Confluence-Users) group automatically, which gives them access to all spaces by default.

Can this be solved by:

1. All new users go into a Restricted Group which cannot view anything. Then later put them into their Client Group?
2. When you invite a user you can specify their Group?
3. Something even more convenient?


Answers:
author: Shannon S
body: Brian,

The confluence-users group is likely your default group for Confluence access, so the moment you add someone to have Confluence access, they'll be in that group.

You'll want to follow a procedure similar to the one here: [How to grant access to one space only to a user in Confluence](https://confluence.atlassian.com/confkb/how-to-grant-access-to-one-space-only-to-a-user-in-confluence-815244321.html) Note that the instructions there are for Cloud so if you're on Server then you'll need to follow the steps in Groups and Global Permissions rather than Application Access.

Essentially:

1. Create the user.
2. Remove the user from confluence-users
3. Create a special group for these users, make sure it has **Can use** permissions for Confluence.
4. Add the new user to that group.
5. Ensure the new group is not in **Default Space Permissions**.

Keep in mind that each user creates their own personal space, so once they've done that you may need to go in and double-check that they have access to their own space.

Let me know if you have any questions.

Shannon


Tags: restriction

user-management
How to put clock with different timezone
Asked by Ramiro Espinosa:

Hi Guys,

I'm creating a homepage for our organization and would like to put a time clock to show different timezone (London, US, and India). Thanks in advance.


Answers:
author: Sarah Gray
body: If you're using Confluence cloud, you can insert a clock using the iframe macro. I was able to do this by:

1. Generating a clock for the timezone of my choice here: <https://www.timeanddate.com/clocks/free.html>

2. Copying the generated iframe html, for example: \<iframe src="<https://freesecure.timeanddate.com/clock/i6e3da3w/n264/fn2/tcccc/bo2/tt0/tw1/tm2/ts1/ta1>" frameborder="0" width="314" height="23"\>\</iframe\>

3. Inserting the Iframe Macro onto the confluence page

4. Copying the url into the URL field for the macro. So for the example above: <https://freesecure.timeanddate.com/clock/i6e3da3w/n264/fn2/tcccc/bo2/tt0/tw1/tm2/ts1/ta1>

5. Setting height to the specified height in the html, in this case 23

Note that this will not work with http, so you have to specify https.

comments: author: Michael Simmons
body: AWESOME - Thank you!


author: Stephen Deutsch
body: I wrote this user macro a while ago; you can use it if you are running a server instance:

<https://community.atlassian.com/t5/Confluence-questions/Multiple-timezones-displayed-in-confluence/qaq-p/6423#M1075>


author: Patrick Cartier [Candylio]
body: Hi [@Ramiro Espinosa](/t5/user/viewprofilepage/user-id/1223656)

Are you on cloud or server?

If server, what version are you running?

Do you want it to show the current time based on where the user is? Or are you looking to display multiple clocks with multiple different times for everyone to see?
Can you change the calendar view configuration?
Asked by Heth Siemer:

We've created a calendar that is tied to a Jira Filter. For the most part, it works exactly as intended, aside from one thing...

This ticket has a start time of 2pm and an end time of 4pm. Instead of showing up in a single 2-hour block, it is showing up in two 30-minute blocks.

Is there a setting I'm missing?

![deployment calendar.png](/t5/image/serverpage/image-id/19600iADAD24C356E58C4C/image-dimensions/371x309?v=v2 "deployment calendar.png")


Answers:
author: Shannon S
body: Heth,

Can I see where it's getting the start and end dates from on the Jira issue? Is it a custom field?

Shannon


Tags: team-calendars-for-confluence
Update Confluence page automatically
Asked by Michael Wojtowicz:

We are building a taxonomy database and this database will be updated as new taxonomy information is discovered. We want to create and update a confluence page that can be refreshed every day from this database (using a query) to publish the latest Taxonomy information.

Any suggestions ?


Answers:
author: Kurt Klinner
body: [@Michael Wojtowicz](/t5/user/viewprofilepage/user-id/570578)

Hi Michael

one option could be to embed the data from your taxonomy databases directly to a confluence page by using one of the sql-query add ons available at the marketplace

<https://marketplace.atlassian.com/search?query=sql>

i used the "SQL for Confluence" addon to realise direct db access.

Another option would be to use a custom script that queries your database and adds the data afterwards to a confluence page by using the API

BR

Kurt

comments: author: Michael Wojtowicz
body: Thanks - trying the plug in first. Trying to keep the technical debt manageable but keeping custom scripts to a minimum.
In Confluence is it possible to rename the Space Directory to Mission Control?
Asked by Jason Romero:

Mission Control would make a lot more sense to our users.

Thanks!


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: You should submit this as a suggestion to Atlassian:

<https://jira.atlassian.com/secure/CreateIssue!default.jspa>

<https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html>
Two Views of Spaces/Pages - How to get one set for all users?
Asked by Andrew Fabricius:

I'm currently revising an internal wiki page for my sales team, but am learning that everyone does not have the same UI setup. Does anyone know how to control views so everybody is seeing our portal the same way? I would like it to default to #2 so everyone can see the space shortcuts.

Thanks

Andrew

![Confluence Image #1.png](/t5/image/serverpage/image-id/19584i511B44B066DEE09A/image-size/large?v=v2&px=999 "Confluence Image #1.png")![Confluence Image #2.png](/t5/image/serverpage/image-id/19585i5127F02E626558DB/image-size/large?v=v2&px=999 "Confluence Image #2.png")


Answers:
author: Veera
body: Hi Andrew,

In the first screenshot, the sidebar is collapsed. Please ask the users to press '\[' button to toggle space sidebar view.

Alternatively, users can hover the mouse close to the sidebar so that they can see the '\>' symbol to expand the space sidebar.

I have responded to you through the support case as well.

-Veera
Sending email through Confiform adds [confluence] to subject
Asked by Rebecca Bever:

Can this "\[confluence\]" text that gets automatically added to the Confiform IFTTT subject be removed somewhere? I don't seem to have control over this through the confiform.

Thanks in advance!


Answers:
author: Rebecca Bever
body: I discovered this had to do with our Prefix set up in our Mail Server Configuration. Not longer needing assistance. Thanks!


Tags: confiforms
G Suite username changed and now it asks for old username for access
Asked by Matthew Wanamaker:

We've updated a username in G Suite for a user and when G Suite synced, it updated the email address but not the username field. Now when that user tries to access embedded google files within Confluence, it asks for the old username credentials that no longer work with a Google log in. How should I sync over the appropriate username?


Answers:
author: Paulo F_
body: Hello **Matthew**

It is possible to edit the username in the Jira Administration page under User Management. This would need to be done by your Site Admin.

1) Click Users in the User Management section

2) Select the user

3) Click on Edit in the top-right corner

4) Edit the username and hit save

Cheers,  
Paulo


Tags: cloud

confluence-cloud
Confluence hyperlinks redirected
Asked by Mauricio Cant?:

Hi  
I have an excel document with links to confluence pages, but when I upload the excel document to a confluence page, the link redirects to another place, sending me to an unexisting page, because it change the context path from "localhost:8090/confluence" to "localhost:8090" and the link doesn?t work well.

Does somebody know something about that?.


Answers:
author: Alana Fernando
body: hi [@Mauricio Cant?](/t5/user/viewprofilepage/user-id/1202769),

this is based on what i understood from your question

I guess you have to change the links in the excel pointing the current path. If you have changed path from "localhost:8090/confluence" to "localhost:8090"; you have to change the links in the excel to "localhost:8090" as well.

comments: author: Mauricio Cant?
body: Hi [@Alana Fernando](/t5/user/viewprofilepage/user-id/1134267)

Actually i have the excel links pointing to the current path "localhost:8090/confluence", but when i upload the excel in confluence, the links change to "localhost:8090".

If i download the document and change the links, when i upload it in confluence the links change to the previous path.


Tags: ms-excel
Help with header and footer
Asked by Adam Janecke:

I cannot get the header/footer figured out for a space or even globally. I will put something in there (text/macros) and nothing will show up on the pages within a space. I can get the sidebar to populate a search bar and text but not the header/footer.

Globally nothing is set for the header/footer and even at a local space I cannot see the header or footer.

What am I missing or doing wrong? ![Untitled.png](/t5/image/serverpage/image-id/19573i4AD00A37F1AA0555/image-size/large?v=v2&px=999 "Untitled.png")


Answers:
author: Alana Fernando
body: hi [@Adam Janecke](/t5/user/viewprofilepage/user-id/454590),

You have to define the changes using [wiki markup](https://docs.atlassian.com/confluence/docs-62/Confluence+Wiki+Markup) .

I have tried using wiki markup and it worked perfectly for me. **(refer screenshots)**

**![screenshot-confluence.millenniumit.com-2018.04.15-09-33-01.png](https://community.atlassian.com/t5/image/serverpage/image-id/19626i6DA0B75DBADF5033/image-size/large?v=v2&px=999 "screenshot-confluence.millenniumit.com-2018.04.15-09-33-01.png")![screenshot-confluence.millenniumit.com-2018.04.15-09-34-21.png](https://community.atlassian.com/t5/image/serverpage/image-id/19627iCE51373DFBF76F81/image-size/large?v=v2&px=999 "screenshot-confluence.millenniumit.com-2018.04.15-09-34-21.png")**
> Customise the appearance of your space with a header and footer or custom content in the sidebar. Use [wiki markup](https://docs.atlassian.com/confluence/docs-62/Confluence+Wiki+Markup) to add text, links, macros and images (from the web or attached to a page in the space)

**Reference** **:**

* [Confluence Wiki Markup](https://confluence.atlassian.com/conf62/confluence-wiki-markup-902074409.html)
* [Another related community Q](https://community.atlassian.com/t5/Confluence-questions/Hot-to-add-macros-to-a-header-footer-or-sidebar/qaq-p/623306)

Hope this helps :-)

comments: author: Adam Janecke
body: Thanks for that, I thought I tried using a heading type to show text but I guess I didn't in the header/footer. I was surprised that you could just type plain text into the sidebar and it appeared but in the header/footer you needed to use headings in order for text to show. Thanks again!


author: Alana Fernando
body: :-) [@Adam Janecke](/t5/user/viewprofilepage/user-id/454590) glad to help you!


author: Mireille Gennaro
body: [@Alana Fernando](/t5/user/viewprofilepage/user-id/1134267) - I have done the same steps you've presented above but still the footer does not seem to work for me. I would like to add a copyright block in the footer so that it appears on all pages... please help!


author: Mireille Gennaro
body: [@Adam Janecke](/t5/user/viewprofilepage/user-id/454590)   

So you added h1 and h2 so that your text finally appeared?


Tags: footer

header
Moving Jira/Confluence with different username mappings
Asked by Eugene Kim:

Greetings,

My team is moving our Jira projects and Confluence spaces out of a corporate-wide Atlassian Cloud instance into our own Atlassian Cloud instance. All the people have accounts on both the old and the new instances, with a few caveats:

1. Their email is different (john.doe@**xyz.com** versus john.doe@**xyz.io**); and
2. For some users, their Atlassian username is also different (**john** versus **john.doe**, for example).

How can I migrate the projects/spaces preserving the right ownership mapping, e.g. so that the Atlassian username **john** in the old instance becomes the Atlassian username **john.doe** in the new instance?

I understand the last resort is to hand-fix or maybe use an API to search for and replace the old username with the new ones, but 1) I want to avoid having to do this, having 100+ users, and 2) I need all the places where the username may appear so that I can search the right places/fields.


Answers:
author: AnnWorley
body: I am hoping we won't have to resort to the last resort.

Please review: [How to merge two different JIRA Cloud applications together](https://confluence.atlassian.com/jirakb/how-to-merge-two-different-jira-cloud-applications-together-779160767.html).

We have a request open to make the process easier: [Ability to merge Atlassian accounts to a single account with secondary emails](https://jira.atlassian.com/browse/ID-240) It's on a public facing Jira issue tracker in case you would like to communicate directly with the development team.


Tags: confluence-cloud

jira

jira-cloud