youngmon/atlassian-qna huggingface dataset:
How do I turn off my website for a while?
Asked by Mike Rose:

I just want to turn off my web site for a few days until I make a few external decisions.


Answers:
author: David at David Simpson Apps
body: If it's Confluence Server fronted by Apache or nginx (or anything else) you could just shutdown Confluence and have a catch all/404 page saying "come back in a few days".

Or just stand up a fresh web server service with a catch all page.


author: Jonathan Smith
body: For server, stopping the confluence service is routinely done for scheduled maintenance. You could take this approach for "turning off Confluence".

[@AnnWorley](/t5/user/viewprofilepage/user-id/502040) If he is in the confluence-administrators group yet not a sys admin, could he potentially go to global permissions and mark confluence-users as "can't use"? Check mark "can use" when ready to turn it back on. Just seeing if that is a safe option.

comments: author: AnnWorley
body: That's an idea....As long as no one else is in confluence-administrators he could take out all the can use global permissions for all the individual users and groups. The users would see "not permitted" when they try to log in.

You and I discussed the confluence-administrators group before: [Instance health - Internal administrator user error - I have an internal admin account](https://community.atlassian.com/t5/Confluence-questions/Instance-health-Internal-administrator-user-error-I-have-an/qaq-p/781956#). You can't remove them from global permissions.

Note: Just un-setting "can use" for confluence-users will not take away permissions that are individually granted or granted via other groups. I have seen systems where the most restrictive permissions apply but in Confluence if you have "can use" individually but belong to a group that lacks the permission to use Confluence, you can still log in and use it.

Follow up questions or comments are welcome. :)


author: AnnWorley
body: Hi Mike,

II am not sure whether you are seeking instructions for shutting down your self hosted Confluence server or if you have a Confluence Cloud instance and you want it made inaccessible or deactivated. I am happy to help with either one.

If it is your own server, please let me know the version and operating system and whether it is stopped and started with a service or a script, if you are the server administrator. If you are not, then the admin should be able to simply shut down the application or make it inaccessible using network devices (proxy, etc). When you want it back on the admin could start it back up and it should be the same as it was.

If it is an Atlassian hosted site then the URL will be https://\<your_site_name\>.atlassian.net. If that is the case, Atlassian support can help if you open a support request at <https://support.atlassian.com/contact>.

I look forward to any follow up questions.

Thanks,

Ann
Linking Status from one page to another
Asked by Jeff Huebner:

Using status icons macros to indicate training progress, and there is another page with the collection of all the icons for all team members.

Is there a way that a change on one page to the status icons can be updated automatically on the other page? This way they don't have to be done twice.


Answers:
author: louisdj
body: Hi [@Jeff Huebner](/t5/user/viewprofilepage/user-id/1383702)

You could take a look at the Page Properties Report Macro, I think it can help you with your work. You can find more information at <https://confluence.atlassian.com/doc/page-properties-macro-184550024.html> .

Let me know if this helps you, or if you have any additional questions about the macro.
I am having problems upgrading from Confluence Server 5.8.4 to 6.7 and above
Asked by Tim Buecher:

Dear Community,

I'm having a problem upgrading my confluence server instance. Starting at version 5.8.4 I always encounter the following issue:

"Upgrade failed. Please consult the logs for details. You will need to fix these problems, restore your database and confluence home directory to the pre upgrade state. Then retry the upgrade. Upgrade error message: upgrade task

com.atlassian.confluence.upgrade.upgradetask.DropSpaceGroupTablesUpgradeTask@2e08fbf failed during the SCHEMA_UPGRADE phase to: null"

I tried the upgrade Process with 3 different Versions of Confluence 6.X ... and I'm always stuck with this error. I tried this workaround, but I'm not getting the expected response: <https://confluence.atlassian.com/confkb/upgrading-to-confluence-5-9-x-or-5-10-x-fails-with-error-failed-during-the-schema_upgrade-phase-due-to-null-794212749.html>

Can you please help me with my request?


Answers:
author: Tim Buecher
body: Actually to clear this up:

we took a SQL-Dump from a 5.8.4 Confluence Version, but took it with a SQL User with less rights than the ?normal" Confluence SQL User.

Because of that the Dump was way to small and we encountered several strange Errors. Took the Dump again today and everything worked fine :)

comments: author: AnnWorley
body: That is a very helpful follow-up, Tim. It should help anyone seeing similar errors during an upgrade.


author: louisdj
body: Hi

I would recommend to contact Atlassian support so they can investigate the issue as the given solution is not working.

(PS: remember to take backups of the database if you are making changes manually)


Tags: confluence-server

server
How can I import the distribution lists from Outlook to confluence cloud?
Asked by Sam:

I want to mention Distribution lists in my confluence page. Please let me know the process.

Thanks,

Sai.


Answers:
author: AnnWorley
body: Since a group in Confluence doesn't have an email address the workaround is to create a user with the email address of the distribution list. When you user mention ("@mention") that user the email will go to the list.

comments: author: Chiranth
body: Hi -- this answer is quite old and I'd like to check if there's a better mechanism to do this now.

Thanks,

Chiranth
Using a template across multiple, but not all, spaces
Asked by Murray Jason:

We would like to provide some templates that pertain across a subset of the spaces in our Confluence instance. Is there a way to easily deploy, and easily update, a template across a specified subset of spaces?


Answers:
author: Victor Mutambuki
body: Murray,

You add the template to the Global Templates and Blueprints. Go to General Configuration \>\> Select Global Templates and Blueprints. Then Click on Add Global Page Template.

Afterwards, you can go to any space and select the template to create your pages.

Please see attached images.

Thanks, Victor

![Screen Shot 2018-05-15 at 12.17.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/22120i7B520A5B97A0B3B7/image-size/large?v=v2&px=999 "Screen Shot 2018-05-15 at 12.17.43 PM.png")![Screen Shot 2018-05-15 at 12.20.40 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/22118i1ABDFD1BE53035DE/image-size/large?v=v2&px=999 "Screen Shot 2018-05-15 at 12.20.40 PM.png")


author: Jonathan Smith
body: [@Murray Jason](/t5/user/viewprofilepage/user-id/1383401),

Follow the steps noted by [@Victor Mutambuki](/t5/user/viewprofilepage/user-id/912991) above to create the global templates. The only caveat to this is ++all your spaces will see the global template++.

If the requirement is to restrict access to these global templates for ++some spaces,++ then you would want to make blueprints. Blueprints can be disabled in spaces: Doesn't look like global templates can be disabled ++by space++ . **Blueprints (to me) are not easy.**

![bp.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/22132iD86B567BC9FE1506/image-size/large?v=v2&px=999 "bp.jpg")

Since the Atlassian way is "open concept", I recommend making global templates. If you need to direct certain groups not to use some of the templates, then that is a training situation.

Regards,

Jonathan

comments: author: Murray Jason
body: Appreciate the answer. Unfortunately, the size and complexity of the organization make it impractical to not manage visibility of templates. I'll look into blueprints. Thanks.
JIRA search in a Confluence page
Asked by Julio Valdez:

Hi,

Is there a way to perform a search for JIRA workspaces in Confluence?

Thanks in advance.


Answers:
author: Vickey Palzor Lepcha
body: [@Julio Valdez](/t5/user/viewprofilepage/user-id/604882) You mean you want JIRA issues to be visible on Confluence page ? Or something more than that ?

Simple application link between JIRA and Confluence has always made that possible.


author: louisdj
body: Hi, there is a macro in Confluence to show Jira issues based on a JQL filter (<https://confluence.atlassian.com/doc/jira-issues-macro-139380.html>).

Or did you meant another way of searching?

comments: author: Julio Valdez
body: If I'm on a Confluence page how do I perform a JIRA search?


author: louisdj
body: o you want to show a list of Jira tickets on your Confluence page or search directly into Jira from Confluence?


author: Julio Valdez
body: Is this a possible?


Tags: jira-software
How do I make links within a children display open in a new tab
Asked by mauro chac?n:

I've got a few pages within our org's space that have children display macros embedded. I've looked all over and cannot find a way to make the links, within the children display macro, to open in a new tab.

I do not have access to the header for embedding additional code and would like to know if I can include the necessary code via stylesheet.

Where can I access the links within the child display macro for editing? I'm taking up this role and had little to no training.


Answers:
author: David at David Simpson Apps
body: **Unfortunately, you can only style things in a stylesheet. You cannot change the behaviour of items on the page.**

To get this working, you'll need to get access to adding **Custom HTML** to your Confluence Server instance.

In **Confluence Admin \| Look and Feel \| Custom HTML**   

Paste the following in **At the END of the HEAD** field:

```
<script>
 AJS.toInit(function ($) {
   $('.childpages-macro a').attr('target', '_blank');
 });
</script>
```

To do it just for a specific space, then you'd need to get the space name or key added to this logic, e.g. for the personal space with space key of **\~david**

```
<script>
 AJS.toInit(function ($) {
   if (AJS.params && AJS.params.spaceKey && AJS.params.spaceKey === '~david') { 
     $('.childpages-macro a').attr('target', '_blank');
   }
 });
</script>
```

I hope this helps a little.


author: Thomas Schlegel
body: Hi [@mauro chac?n](/t5/user/viewprofilepage/user-id/1382992),

if you are able to create a user macro, you can wrap the children macro into a script that will open the links in a new tab:

This is the code of the user-macro:

```
## @noparams

<script>
jQuery(document).ready(function() {
 jQuery(".wiki-content a").attr("target", "_blank");
});
</script>

<ac:structured-macro ac:name="children"/>
```

Save the macro as "children-external" and put that macro to your page.

As a result, **every** link on your page will open in a new window. That means, **every** link. Not only the ones from your children-macro.

If you have further questions regarding user macros, don't hesitate to ask.

comments: author: David at David Simpson Apps
body: Nice, but for just the links in the children macro to open in a new tab/window, I'd target them specifically:

```
## @noparams

<script>
 AJS.toInit(function ($) {
   $('.childpages-macro a').attr('target', '_blank');
 });
</script>

<ac:structured-macro ac:name="children"/>
```


author: Thomas Schlegel
body: That's great, [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) - thank you


Tags: confluence-server

server
How to know, who has deleted a particular space ?
Asked by M Ganesh Prasad:

Hi,

Need help to check who has deleted a particular space.

Can this space be restored without affecting the other spaces on confluence ?

Thanks and Regards,

Ganesh


Answers:
author: Thomas Schlegel
body: Hi [@M Ganesh Prasad](/t5/user/viewprofilepage/user-id/1208706),

if you have a server backup before the space was deleted, you can setup a **new** Confluence installation with the backup (database and server) and then export the space as XML.

If you have the space export, import this XML into your current Confluence.

You can find more on space export and import here:

<https://confluence.atlassian.com/doc/restoring-a-space-152036.html>

I don't think, you can find out who deleted the space. It had to be someone with admin privileges, a Confluence administrator or a space administrator.


Tags: confluence-server

server
Confluence upload file
Asked by barbara pucci:

I would like to insert an excel file in confluence. The file is structured with 18 columns and 110 rows.

I can upload with no issue, but the file view in Confluence is wrong; it visible only a part of the content. thanks

barbara


Answers:
author: barbara pucci
body: here it is

![confluence example.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/22082iC115A5D3C795CEA4/image-size/large?v=v2&px=999 "confluence example.jpg")


author: Rambabu Patina _Appfire_
body: Can you please provide us the screen shot on what the problem exactly you are getting.

For better results you can try the Confluence excel add-on at: <https://marketplace.atlassian.com/apps/216/excel-for-confluence>


Tags: confluence-server

server
Confluence 6.9 Case sensitivity
Asked by Regg Person:

We installed Confluence 6.9 which instructed us to default collation for the database to **SQL_Latin1_General_CP1_CS_AS** (case sensitive). How do we resolve mixed case group names and user names with this collation constraint?

When I tried to add a group with mixed case, I got an error saying "Group names must be in lower case". How can I fix this in Confluence so that I can have mixed case group ans user names?


Answers:
author: Regg Person
body: This is a Linux environment....

comments: author: Brant Schroeder
body: The internal directory does not support mixed case groups. Confluence insists on lower-case usernames and groups and store all user-related data in lower case.


Tags: confluence-server

server
restrictions dropdown does not work
Asked by Yaacov Weingarten:

In one of the Spaces in Confluence, the page restrictions dropdown (to select between No Restrictions, Editing Restrictions, View and Edit Restrictions) suddenly does not work. How can I get it to work properly?


Answers:
author: Thomas Schlegel
body: Hi [@Yaacov Weingarten](/t5/user/viewprofilepage/user-id/538198),

have a look at the space's permissions. Is restricting pages allowed?

comments: author: Yaacov Weingarten
body: Hi,

Yes, I checked and the restricting pages is allowed for these users. But if it were not allowed, the popup would not display. In my case the Restrictions dialogue appears but the dropdown does not work.

yaacov


author: Thomas Schlegel
body: yes, you're right. Some question to get nearer to the problem:

Do you have this problem on every page in that space? What happens, if you click on the dropdown? Nothing or is there an error?

What does the restriction icon look like? Can you edit the page otherwise?

Did it work yesterday? You said, it stopped working suddenly. Maybe the home page of your space is restricted?


author: Yaacov Weingarten
body: Hi,

Strangest thing - I went to check the different operations that you asked about, and the dropdown started working again.

Thanx for your magical prowess,

yaacov


author: Thomas Schlegel
body: Haha, [@Yaacov Weingarten](/t5/user/viewprofilepage/user-id/538198) - that was magical remote maintenance :-)


Tags: restriction

server
Team Calendar - Event Filtering
Asked by Big Jim:

We display the team calendar in multiple pages. On each page I would like to only show certain events. I have created event filters and can select them. However I cannot make and save different selections per confluence page. In other words when I apply a filter it is applied to all other calendars in different pages.

So my question is how can I apply different calendar filters on confluence different pages ?


Answers:
author: Fabian Lim
body: Hi Big Jim,

This is a great idea. I suggest you put it as a new feature request if you still need it: <https://jira.atlassian.com/secure/Dashboard.jspa>

Regards


Tags: cloud

confluence-cloud
Is there a way to show Confluence meeting tasks/actions in the Jira product backlog or scrum board
Asked by Ben Lardner-Jackson:

Is there a way to show Confluence meeting tasks/actions in either the Jira product backlog and/or Jira scrum board?

I like creating actions during meetings using the meeting minutes template, but I'd like to have these shown/linked in my Scrum Board so we can track and discuss in our standups what the progress/plans etc is just from using one screen (the scrum board)?


Answers:
author: AnnWorley
body: Hi Ben,

Please see [Linking a Confluence page to a sprint](https://confluence.atlassian.com/jirasoftwareserver/linking-a-confluence-page-to-a-sprint-938845462.html) and let me know if that is helpful. It sounds a lot like what you are describing:
> If you have linked your JIRA instance to a [Confluence](http://www.atlassian.com/software/confluence/) instance, you can create and link Confluence pages to your sprints via JIRA Software. For example, you may want to write up the sprint meeting notes in Confluence and link them to the sprint. You may also want to write your team's retrospective notes in Confluence and link them to the Sprint Report for the completed sprint.

Thanks,

Ann


Tags: jira
How to handle Cron Jobs expression in Atlassian Jira? Is there any predefined classes or API exist ?
Asked by Satish Chitimoju:

Hi Atlassian Team,

I would like to schedule a job using cron jobs expression in my code base, Could you guys please provide me, If is there any predefined class or API existing in atlassian jira code bases other than 'PluginScheduler Class'. Cron job , i would like to run and execute in jira data center.I don't want to use quartz cron jobs in data center. I want to use Jira data center code base cron job. So Could you please help me out. How to use write and use cron job in data center.


Answers:
author: Alexey Matveev
body: Hello,

You can use this class

<https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/sal/jira/scheduling/JiraPluginScheduler.html>

Here is an example

<https://bitbucket.org/cfuller/atlassian-scheduler-jira-example/src/master/>


Tags: confluence-server

server
Update space restrictions in Confluence
Asked by Neha Sharma:

Hi,

So I created a space using the Confluence REST API, as per the example given in <https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/> .

The space which is created is a public space, if I'm not wrong. I want to change the permission of the space so that it can be viewed by a specific group .e.g. "confluence-users". I tried to find a solution but didn't get any. Is it possible to achieve this in any way by making an API call from my C# code?

Thanks in advance,

Neha


Answers:
author: Kirubel Tesfaye
body: Hi [@Neha Sharma](/t5/user/viewprofilepage/user-id/1175909),

<https://community.atlassian.com/t5/Answers-Developer-Questions/Set-Page-Restrictions-using-Confluence-REST-API-v5-5/qaq-p/487662>

This question seems similar to yours and there are lot of answers, check it out.

Hope this helps

comments: author: Neha Sharma
body: Thanks a lot [@Kirubel Tesfaye](/t5/user/viewprofilepage/user-id/1201817) for pointing me to the answer.

The method suggested works fine for me.

Regards,

Neha


Tags: confluence-server

server
Confluence Error
Asked by Lebohang Mokoena:

My team is experiencing an error after uploading diagrams/images to confluence pages.

This is the error messages: **The connection has timed out: The server at is taking too long to respond.**

We on a cloud server


Answers:
author: David at David Simpson Apps
body: This sounds like a problem with Confluence Cloud's network connectivity to external vendor's add-ons.

2 possible solutions:

* Get Atlassian support to look into it
* Wait a while. The network connectivity will likely improve


Tags: cloud

confluence-cloud
What metadata can I access in a custom decorator template
Asked by Yaacov Weingarten:

I would like to configure my Confluence space to include the "last modified date" for each page displayed. Was interested in how I can create a Custom Page Decorator that would perform this.


Answers:
author: Fabienne Gerhard
body: Hi [@Yaacov Weingarten](/t5/user/viewprofilepage/user-id/538198),

I'm using the solutions mentioned by [@MarkC](/t5/user/viewprofilepage/user-id/853344) in this [post](https://community.atlassian.com/t5/Confluence-questions/Include-last-modified-date-and-user-in-Page-Properties-Report/qaq-p/18371).

Created two user macros which I made part of space and global templates. Works fine for me!

comments: author: Yaacov Weingarten
body: Thanx, I used a slight variant of the solution you mentioned directly in the Page Decorator velocity script.


Tags: confluence-server

server
How do I create content in one space but distribute it across difference spaces with labels?
Asked by Paul-Julian:

Hi All

We are creating all our pages in one parent ('Global') space, but we want to be able to distribute it across multiple child spaces ('Microsite') so we only have one library to maintain and everyone can have their own UI, navigation and search results without creating content in individual spaces.

We are using labels to make it appear in all different spaces, which is great, but when the user clicks the title in the navigation or search results in their microsite, it takes them back to the the Global space (where the pages is originally created) and not keep them in their own Microsite space. Its not a great user experience.

How can we distribute pages across multiple spaces, but allow the user to keep their navigation/UI in the space they are in and not transported back to where the pages originates from? Am I missing something or is there a plug-in which keeps them in their own space?


Answers:
author: Paul-Julian
body: Hi David, thanks for the response. Yes we tried that, we are looking for a solution where we can share pages across multiple spaces but all sources from the one location.

Of course this is possible with labels but when the user opens that shared spaces, the users is then transported from where the space where the page to originally sourced from in a different space. They loose the navigation (and UI) their space which they clicked the link from.

How do we work around this then?


author: David at David Simpson Apps
body: You can use the [Include Page macro](https://confluence.atlassian.com/doc/include-page-macro-139514.html) to distribute the page content from one space into another page in other spaces. This would be a manual approach, but still mean that you can edit is a single space.

The only other way you could do this entirely automated is for the links (based on labels) in the microsite spaces to open a modal/dialog view of the page content from the parent space. this would mean that on close of the modal/dialog, the context would still be the original microsite. This could likely be done with a little Javascript on Confluence Server. On Confluence Cloud, you'll be out of luck.


Tags: confluence-server

label

page

search

server

space