youngmon/atlassian-qna huggingface dataset:
Restrict email domains in Whitelist
Asked by Madhu Reddy:

I want to allow only limited Email domains to create tickets in service desk.

Can I Add those Domains \[ @gmail.com,@yahoo.com \] to Whitelist , So that other domains cannot create tickets in my Jira.

Only Whitelisted Domains must have the access to create Tickets.

Is it Possible to implement ?

How to add Email Domains in Whitelist to be activated,


Answers:
author: Ang?lica Luz
body: Hi Madhu,

Currently, it's not possible to restrict by domains who can create accounts/open tickets.  
We have a feature request suggesting the implementation of this ability:  
- <https://jira.atlassian.com/browse/JSDCLOUD-868>  
Please, click on vote and watch to receive updates about the feature.

For now, to restrict who can access the portal to open tickets, you must go to Project Settings \> Customer permissions \> "Who can access the portal and send requests to Project name?" \> "Customers my team adds to the project."

Then admins will have to manually add the customers.

Regards,  
Ang?lica

comments: author: dengblom-pcr
body: I am extremely interested in this as well. Honestly, it seems like a basic option for a Service Desk portal. I'm surprised this doesn't exist already.


author: Joao Zampa
body: Hi Atlassian team,  

This is causing a massive headache for us.  
We have more than 15 projects created on the service desk where teams use to handle internal and external requests.  
We don't want external people looking at our internal forms and to be honest we have have to disable some projects due to security reasons.  
PLEASE put this in your roadmap if you want your tool to be efficient otherwise the teams will have to have their portal and manage their inbox, this is NOT good at all,  

<br />


Tags: cloud

confluence-cloud

jira-cloud

jira-service-desk
How do I get an automatic email notification when someone creates a page?
Asked by Greg Sarcona:

I want to receive an email when someone **creates** a page in a particular space on my Confluence instance. I prefer it to be when a page is created under a specific page "New Project Ideas" or when using a specific template ("New Ideas template").

How do I set this?

I see options for, and only receive, emails when existing pages are edited, liked, or commented upon.

I've gone through all the Confluence admin tabs for Confluence and the space, and see nothing.

The RSS feed cannot filter for page creation only.


Answers:
author: Alexey Matveev
body: Hello,

You could use the Power Scripts for Confluence add-on for it:

[https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview)

I've found Power Scripts for Confluence really handy for Confluence admins who want to automate their work and apply bulk actions to Confluence.

You can create a listener for the Page Created event with a script like this:

    sendEmail("projectmanager", "teamleader1", "Page created", currentUser() + " created a page");

You can find more info about listeners here:

<https://confluence.cprime.io/pages/viewpage.action?pageId=32825901>

You can read more about sendEmail method here:

<https://confluence.cprime.io/display/PSCONF/sendEmail>


author: Patrick Cartier [Candylio]
body: Hi [@Greg Sarcona](/t5/user/viewprofilepage/user-id/31253),

You can see whenever a new page is created in a space simply by watching the space. This will also give you notifications for when the page is edited. If you don't want to know when the page is edited, you will need to go to your profile and unwatch the pages that are created and you don't want updates on.

Unfortunately for page tree this is not possible at the moment. There is an open ticket here: <https://jira.atlassian.com/browse/CONFCLOUD-2853>

Hope this helps.


Tags: confluence-cloud

create-page

notification
Enhancements to Product Requirements
Asked by Zin:

Thanks for the new feature of adding comments to the pages directly, but it needs some enhancements:

1- Make comments visible only for internal teams not the client.

2- ability to delete other user comments if i am the owner of the page.

3- versioning control need more work, its not really user friendly.


Answers:
author: Zin
body: sorry, confluence, specifically to the product requirements template


author: Kat Warner
body: What tool are you providing feedback for [@Zin](/t5/user/viewprofilepage/user-id/1295463)?


Tags: feedback
What editions of SQL can be used for Confluence
Asked by Karen:

Is it possible to use SQL Express with Confluence?

Or is SQL Standard the minimum?

(Taking load into account, as appropriate. Our use case is very light.)


Answers:
author: Davin Studer
body: So long as you stay under the requirements for SQL Express (DB size mostly) I don't see why it wouldn't work.


author: Thomas Deiler
body: Dear [@Karen](/t5/user/viewprofilepage/user-id/560783),

the answer will give you this [page](https://confluence.atlassian.com/doc/supported-platforms-207488198.html).

So long

Thomas

comments: author: Karen
body: Nope - that page give versions rather than editions.


Tags: confluence-server

server

sql
Regenerate License Key
Asked by Chris Jones:

Hello,

I need to regenerate a License Key. We had to change the Server ID.

Thank you

Chris


Answers:
author: Mikael Sandberg
body: You do not have to regenerate the license key, it will still work on your new server. The Server ID you entered when generating the key is only used internal by Atlassian and is not connected to the key itself.


Tags: confluence-server

server
Use Confluence as product documentation for web application
Asked by alekbless:

Hello!

I'am currently looking for the best solution for our company to provide product documentation for our web application to our users.

We will write all documentation in Confluence "Documentation Space" and use [Embedder for confluence](https://marketplace.atlassian.com/apps/1217536/embedder-for-confluence?hosting=cloud&tab=overview "Embedder for confluence") to embed all pages into our web application.

Is this a good way to solve this? Is it possible to include the menu for all pages as well?

I was looking at sharing my "cloud" space as well, but it seems that I can only share this with registered users @ Atlassian. This is not a good solution for me as we already have user credentials stored in our database and do not want the customer to have additional credentials.

Thank you!


Answers:
author: Patrick Cartier [Candylio]
body: HI [@alekbless](/t5/user/viewprofilepage/user-id/2253647)

Within Confluence you can set up a page so that it has an index or "menu" for all the other pages. As long as that plugin doesn't block that feature somehow, it should be possible.

For the second part of your question have you considered giving anonymous access to your "cloud" space?

<https://confluence.atlassian.com/confkb/how-to-give-non-confluence-users-access-to-a-space-779166002.html>

If it is ok for everyone to see your documentation this route will allow your users to not log in and still see what they need.

Hope this helps!


Tags: cloud

confluence-cloud
Bulk change group permissions for all spaces in confluence
Asked by DORIAN KERSCH:

Hi,

I added a comment [here](https://community.atlassian.com/t5/Confluence-questions/Bulk-edit-Confluence-space-permissions/qaq-p/461386#U934457) , but I thought I would ask a specific question for script runner.

Does anyone have a snippet that will allow you to bulk change group permissions across the confluence instance?

A use case would be:

For all spaces, check if group has "confluence-users" as a group and if it does then apply "new-group" to that space.

A similar use case would be for deletion:

For all spaces, check if group has "foo-bar-users" as a group and if it does then remove "foo-bar-users" from that space.


Answers:
author: Josh Kronick
body: <https://library.adaptavist.com/entity/remove-space-permissions-for-a-specified-group-on-all-spaces>

*** ** * ** ***

import com.atlassian.confluence.internal.security.SpacePermissionManagerInternal  
import com.atlassian.confluence.security.SpacePermission  
import com.atlassian.confluence.spaces.SpaceManager  
import com.atlassian.confluence.security.SpacePermissionManager  
import com.atlassian.sal.api.component.ComponentLocator  
import com.atlassian.confluence.api.model.content.Space  
import com.atlassian.confluence.api.model.content.SpaceType  
import com.atlassian.confluence.api.model.Expansion  
import com.atlassian.confluence.api.model.pagination.SimplePageRequest  
import com.atlassian.confluence.api.service.content.SpaceService  
import com.atlassian.crowd.embedded.api.Group  
import com.onresolve.scriptrunner.parameters.annotation.GroupPicker  
import com.atlassian.confluence.internal.security.SpacePermissionContext  
import com.onresolve.scriptrunner.runner.ScriptRunnerImpl

@GroupPicker(label = 'Group', description = 'Select the group to remove space permission from')  
Group selectedGroup  
assert selectedGroup

def spaceService = ScriptRunnerImpl.getPluginComponent(SpaceService)  
def spaceManager = ComponentLocator.getComponent(SpaceManager)  
def spacePermissionManager = ComponentLocator.getComponent(SpacePermissionManager) as SpacePermissionManagerInternal

def spaceContext = SpacePermissionContext.createDefault()

def allSpaces = \[\] as List\<Space\>  
def permissionsToRemove = \[\] as List\<SpacePermission\>

def start = 0  
def limit = 1000  
def hasMore = true

while (hasMore) {  
def spaceFinder = spaceService.find(new Expansion('name'))  
.withType(SpaceType.GLOBAL)  
.fetchMany(new SimplePageRequest(start, limit))

allSpaces.addAll(spaceFinder.results)

start = start + limit  
hasMore = spaceFinder.hasMore()  
}

allSpaces.each { space -\>  
def spacePermissions = spaceManager.getSpace(space.key).permissions

spacePermissions.each { permission -\>  
// This condition will check if the permission's group matched with the user's selected group.  
if (permission.group == selectedGroup.name) {  
permissionsToRemove.addAll(permission)  
}  
}  
}

permissionsToRemove.each { permission -\>  
spacePermissionManager.removePermission(permission, spaceContext)  
}


Tags: adaptavist

confluence-server

scriptrunner

server
How to limit the amount of versions in Confluence attachments
Asked by Francis Vittini:

Hello Folks!,

I was wondering if it is possible to limit the amount of attachments versions Confluence creates?

I'm looking to find a way to reduce the Attachment folder disk space usage.

Thanks in advanced for your responses.

Regards,

Francis.


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

we're using [Attachment Tools Plugin](https://marketplace.atlassian.com/apps/1210917/attachment-tools-plugin?hosting=server&tab=overview)

It's marked as compatible with Confluence 5 only. But we tested it with Confluence 6 up to the latest version \& I can confirm it's working without flaws. Give it a try. It's pretty cool...

comments: author: Francis Vittini
body: Thanks,

I will take a look and try it.

Best regards,


author: Fadoua
body: It seems [@Francis Vittini](/t5/user/viewprofilepage/user-id/737218) that the plugin [@JP _AC Bielefeld Leader_](/t5/user/viewprofilepage/user-id/1135065) shared will do it for you. However I am not sure about the costs and it is unsupported by Atlassian.

Also keep in mind sometimes those versions may save your time.

All the best,


author: Fadoua
body: [@Francis Vittini](/t5/user/viewprofilepage/user-id/737218)

What version of Confluence server are you using?

Best,

comments: author: Fadoua
body: Took a quick glance at my old version of Confluence, it doesn't seem like an option. You can limit the size but not the versions [@Francis Vittini](/t5/user/viewprofilepage/user-id/737218). I am checking if it can be done on one of the files on the server which I am not a big fan.

Best,


author: Francis Vittini
body: Hi Fadoua,

I'm using Confluence server 6.3.4 On that version I can only limit the size of the attachments but not the # of versions Confluence can store.


Tags: confluence-server

server
Why won't my image attachments upload?
Asked by Melanie Warner:

Everytime I try to upload a photo onto my page I receive an error message saying it cannot connect to server. What's going on?


Answers:
author: Victor Mutambuki
body: Melanie,

Check if you've permission to attach files/images in your confluence.

Victor

![attach.png](https://community.atlassian.com/t5/image/serverpage/image-id/37010i208015E9A3B9E5C5/image-dimensions/372x196?v=v2 "attach.png")

comments: author: Melanie Warner
body: Still no luck :/


author: Melanie Warner
body: It's saying I am reaching a server issue


author: Victor Mutambuki
body: Do you've permission to attach?


author: Melanie Warner
body: Found the issue! It was a firewall blocker!!! Thank you Victor!
hey ! I'm working on confluence (cloud) and I'd like to use variables. How can I do ?
Asked by Charles Girier:

more details:

I have 3 pages which have 10 numbers each. And 3 other pages where these numbers should be also printed. I want to do it using variables...


Answers:
author: Shannon S
body: Hi Charles,

Variables are not available in Confluence (see feature request # [CONFCLOUD-3999](https://jira.atlassian.com/browse/CONFCLOUD-3999)) but you could try using a macro for this.

For example, have a look at the [Excerpt Include Macro](https://confluence.atlassian.com/confcloud/excerpt-include-macro-724765190.html). This allows you to include an excerpt of text on multiple pages, and may help accomplish what you require.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: cloud

confluence-cloud
Default Confluence Link
Asked by Dave Phillips:

Currently if logged into Confluence and you visit the default link... ie: wiki.ourdomain.com it will display a space defaulted.

However, if not logged into and you visit this page - users see an "All Updates" page when Is it possible to change this or have it route to the space defaulted above?

![confluence.png](/t5/image/serverpage/image-id/36981i7B0305A0ED59D724/image-size/large?v=v2&px=999 "confluence.png")


Answers:
author: Lava Kumar Dukanam _Appfire_
body: Hi [@Dave Phillips](/t5/user/viewprofilepage/user-id/1496699),

There's an open request <https://jira.atlassian.com/browse/CONFSERVER-43399>

You can however use this workaround by hiding the tabs.

Refer:<https://confluence.atlassian.com/confkb/how-do-i-hide-all-updates-or-popular-from-the-dashboard-sidebar-879956248.html>

Hope this helps!

Thanks,

Lava


Tags: atlassian-support

confluence-server

server
SQL Express Support
Asked by Kevin:

The compatibility guide doesn't explicitly call out specific MS SQL editions. Is MS SQL 2012 express supported?


Answers:
author: Davin Studer
body: MS SQL 2012 is in the compatibility guide, so it should work. Confluence isn't doing anything specifically that would require Standard or Enterprise that I know of. You would just need to make sure you stay under the DB size limit for Express.

comments: author: Davin Studer
body: For MS SQL 2012 Express the DB size limit is 10GB.


author: Nic Brough -Adaptavist-
body: Nope, if it's not in the compatibility guide, it is not supported.

It does tend to work ok, but you can't rely on it, and if you have any problems, the response will be "move to a supported database"


Tags: confluence-server

server
Does JIRA allow me to track scrum team dependencies across different scrum teams.
Asked by Alexandra Pavlov:

I have 60+ scrum teams that are / have already moved to Jira. I need to be able to create dashboards and review velocity, bur up charts etc for all team and / or sets of teams at one time. Can I pull a sprint velocity report across all 60+ scrum teams ?


Answers:
author: Raimundas Juska
body: I can add one more app to the list (which I just released) - [https://marketplace.atlassian.com/apps/1219761/individual-velocity-report-chart-gadget?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219761/individual-velocity-report-chart-gadget?hosting=cloud&tab=overview)

comments: author: Alexandra Pavlov
body: Thank you


author: Scott Theus
body: Hi [@Alexandra Pavlov](/t5/user/viewprofilepage/user-id/2252426),

Jira does not do this out of the box, but there are a number of add-ons for Agile and Scrum reporting that may help you get where you need to be. I suggest trying [SCRUMe](https://marketplace.atlassian.com/apps/1218558/scrume?hosting=cloud&tab=overview) or [Capacity Tracker](https://marketplace.atlassian.com/apps/1218151/capacity-tracker?hosting=cloud&tab=overview). You can try these free for 30 days to evaluate them.

If that does not work the only other way I can see to do this is to create a filter to pull in the issues assigned to all the Scrum teams and export the results to an Excel spreadsheet. You can then create the burndown charts and velocity calculations, etc. from there.

Hope this helps,

-Scott

comments: author: Alexandra Pavlov
body: Thank you
Any way to programatically make a full XML export of a space
Asked by Andrea Vivaldi:

Hi,

is there any way to programatically make (via REST API or groovy script) a full XML export of a Confluence space, in the same way you can do it via web GUI?

In that case, where can I see some examples?

I need to script via cronjob this task, not doing it manually via GUI.

Thanks

Andrea


Answers:
author: Lava Kumar Dukanam _Appfire_
body: Hi [@Andrea Vivaldi](/t5/user/viewprofilepage/user-id/1593277),

It appears like there's no API that can export a confluence space.  
You can support this request here : <https://jira.atlassian.com/browse/CONFSERVER-40457>

I also found a python script (\>3.0) by [Stephen Deutsch](https://community.atlassian.com/t5/user/viewprofilepage/user-id/781490)

```
import requests
import shutil
from time import sleep
from requests import Session
from requests.auth import HTTPBasicAuth
from zeep import Client
from zeep.transports import Transport

user = "admin"
password = "admin"

session = Session()
session.auth = HTTPBasicAuth(user, password)
client = Client('http://localhost:1990/confluence/rpc/soap-axis/confluenceservice-v2?WSDL',
    transport=Transport(session=session))

print("Logging in...")
token = client.service.login(user, password)
print("Getting Spaces")
spaces = client.service.getSpaces(token)
numSpaces = len(spaces)
for index, space in enumerate(spaces):
    print("Exporting space {} of {} - {} using URL:".format(index+1, numSpaces, space.key))
    siteExportUrl = client.service.exportSpace(token, space.key, "TYPE_XML")
    print(siteExportUrl)
    filename = siteExportUrl.split('/')[-1]
    print("Saving as: " + filename)
    r = session.get(siteExportUrl, stream=True)
    with open(filename, 'wb') as f:
        shutil.copyfileobj(r.raw, f)
    sleep(5)
```

Hope this helps!

Thanks,

Lava

comments: author: Andrea Vivaldi
body: Thank you very much Lava! It's what I am looking for.


author: Smita
body: Does it work for Cloud Space export?


Tags: confluence-server

server
Meeting notes
Asked by John Bult:

I just have a confluence evaluation. I went to create meeting notes and all it has created is a meeting note. When I publish (and it has some actions in) it does not create a shortcut or the page showing the list of meetings and any actions as the help topic suggests. Any ideas?


Answers:
author: JP _AC Bielefeld Leader_
body: Hm, what help topic? What are you expecting / trying to achieve? Are you using Confluence server or Cloud?

comments: author: John Bult
body: I am using cloud. The help topic says that the first time you use a meeting note template then Confluence creates a page which contains the summary of actions under which the new meeting note is stored and the page also has a button to create more meeting notes. Also a short cut is added on the left hand ribbon.

I just get the meeting note on its own.
How to resize the second pop element of dialog box on confluence jira
Asked by Mamadou Barry:

I have dialog box and inside the dialog box i have pop element which content a toolbar. The tool bar has elements like add link, add numbered list and so on. The problem i'm facing is when i click in one of those, they go beyond the dialog box and prevent from seen the whole content of that component.

Now, I want to resize the element size so that i can see the whole content of the component.

Any help, would be much appreciated. Thank you


Answers:
author: Shannon S
body: Hi there,

Can you just clarify with us what you're trying to do? Where is this dialog box coming from in Confluence? Are you using a Marketplace add-on, or are you developing something yourself?

Shannon
Importing a Word doc into Confluence as a new page
Asked by Leeza November:

I am attempting to import a Word doc into Confluence as a child page on an existing space. I created a new page, but there is no option to import a Word Document (as listed on all the help articles... ) I am on the cloud instance of Confluence and am not sure if perhaps the option to import a Word doc is not available on this instance?

I really do not see the value in copying and pasting each section of the existing Word doc - that seems to be an unnecessary exercise, if there is a functionality to improve this.


Answers:
author: Ismael Jimoh
body: Hi [@Leeza November](/t5/user/viewprofilepage/user-id/1966462)

I believe the steps for this is described [here](https://confluence.atlassian.com/confcloud/import-content-into-confluence-724765058.html)

comments: author: Leeza November
body: Thanks [@Ism Rie](/t5/user/viewprofilepage/user-id/897964) - I do however not want to include a thumbnail of the doc, I want the content of the doc to be embedded, ie. be the content on the page. Any ideas? The attached is what I see on the page - there is no option to *Import Word doc* on any of the menus. ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/36979i146B2D5874E68CA9/image-size/large?v=v2&px=999 "Capture.PNG")


author: Ismael Jimoh
body: The instruction is as follow:

1. you create the page first.
2. After that, you **view the page** and you should see ... on the top right hand side.
3. Select the Import Word option.
4. Follow the instructions specifying how you want confluence to handle the page title and how to split the body.

This is not adding an attachment but rather importing the file's content.


author: Leeza November
body: Thanks [@Ismael Jimoh](/t5/user/viewprofilepage/user-id/1214168) the above worked like a charm! The aligning of images in the doc was however abit of a mission, as they were inserted with text wrapped tightly around it and those formats do not seem to be available/ Other than that, all good.

Thanks again :)


author: Ismael Jimoh
body: You are welcome.

Please mark the answer as accepted.

Regards.


author: Collin Willis
body: Hi Folks,

When I tried this the images in the original word document did not appear in the page on confluence? Was this just me?


Tags: cloud

confluence-cloud
I have Site admin rights, why am I unable to edit a page in confluence?
Asked by Rosie Gee:

I'm trying to update several programme overview pages but one of them I have not got the ability to edit, the icon isn't even there, I have changed the permissions about but nothing is working...


Answers:
author: Mirek
body: Overall site admin right does not mean that you were able to edit all pages (and view them) Maybe there is a restriction set that you cannot edit? Please take a look on this page for more information

<https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html>