youngmon/atlassian-qna huggingface dataset:
Is there a way to allow users with restricted access to Jira, have limited access to spaces?
Asked by Puja_Gohil:

Hi there,

We have about 140+ employees, we also have about 200+ more external contractors that use our Jira. We have somewhat limited position for these external contractors e.g. only accessing their own project, inability to create tasks etc. Is there a way to be able to grant them access to certain spaces on Confluence? If I add them to the 'confluence-users' group, it will give them access to all of our company's default spaces, which we don't want; only to grant to certain ones. I figured one workaround, which is if I change 'confluence-users' permissions to base it on limited restrictions to our external contractors; this would mean every employee would have to be manually granted permissions to every single default company space; which is hugely cumbersome.

Is there an easier way to do this or something for consideration for the future?

Thanks


Answers:
author: Vishwas
body: Hello [@Puja_Gohil](/t5/user/viewprofilepage/user-id/1453297)

One way you can achieve this is by creating a new group in confluence and all the external contractors there(isolate them from default group), then provide them appropriate **Global Permissions** to that group. After this go to respective spaces where they need to have access, add that group in those spaces and provide the necessary **space permissions.** And revoke their access where they are not needed.

Other option would be to make use of [Page Restrictions](https://confluence.atlassian.com/doc/page-restrictions-139414.html) option for your company spaces and providing the access to view/edit.

Regards,

Vishwas

comments: author: Puja_Gohil
body: Thanks for this. I tried this out, this could work for a number of contractors that would need access to the same spaces. But because we have so many contractors who will need access to certain/different ones - it would be ideal if we could assign contractors to spaces individually as and when we need to. Making a group for individual contractors each time would be cumbersome. The functionality on jira is we can create private permission schemes, and then from the project settings, allow individuals access to their own project - would be ideal if there was something similar for Confluence too.


Tags: confluence-server

server
How to link an attachment through python or atlassian python api?
Asked by Ganesh Kumar:

I have a requirement to capture the system configuration details ( in files ) of the linux box and dump the same in to the confluence wiki. i'm using atlassian python api, but i'm unable to find any api to link an attachement to the wiki. Can someone help me.

Thanks in advance.


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Ganesh Kumar](/t5/user/viewprofilepage/user-id/3697211) ,

See if the script in this similar question works for you.

[How to post attachments to Confluence page](https://community.atlassian.com/t5/Confluence-questions/How-to-post-attachments-to-confluence-page/qaq-p/214853)


Tags: confluence-server

server
Embedding content within a button
Asked by staylor:

Hi,

<br />

I am trying to refrain from creating numerous pages that relate to the same topic. Instead, I would like to have the questions with 3 buttons. The use can click on the button and then the content will be revealed.  

Question: How do I create the buttons with the content embedded?

<br />

Kind regards and Happy New Year to all!  
Sean


Answers:
author: James Dellow
body: Try the Expand Macro
Users logging into Confluence are being directed to a "Not permitted" screen and cannot navigate
Asked by james.chaplin:

Hi there,

We have external users logging into our Confluence platform and every time they log in, they do not see the space we have created for them (all users are added to the correct group). Instead, straight after logging in, they are directed to a page which reads, "Not permitted. You are not permitted to perform this operation." Above the not permitted message, it's looking like it's trying to take them to "Administration / Users."

If anyone has any ideas as to why they are being taken to this page as appose to the space we created for them, and why they have no ability to navigate around Confluence then that would be highly appreciated.

Thanks


Answers:
author: Kirstin Seidel-Gebert
body: Hi James,

in the Confluence administration at **Further Configuration** , you define a **Site Homepage** . All users that log in will be taken to this page.  
If they have no access to this page, it results in the error you are seeing.

This setting can be overruled by a setting on the user profile. Each user can set his or her own site homepage in the user profile settings.

AFAIK, you cannot

* set the site homepage of other users (as an admin). They'll have to do this by themselves.
* set the site homepage per user group.

Some suggestions (if you are having the problem as described above):

* Change the global site homepage to a page all users can access. This can be the Confluence **dashboard**, or a (new) dedicated "landing" space.
* Log in with the credentials of every external user and set their personal site homepage (tedious). Or tell them to set the personal site homepage themselves.

Cheers,  
Kirstin


Tags: confluence-server

server
hide the page tree in navigation programmatically
Asked by Stephan Heller:

Hello,

I create spaces in Confluence programmatically and now i like to hide the page-tree in the navigation bar.

I think there is the com.atlassian.confluence.plugins.ia.service.SidebarService which can get and set the Option. I don't have the sources to understand which parameters the getOption needs.

Can anyone help or is there an other better solution?

Thanks


Answers:
author: Shannon S
body: Hi Stephan,

Thank you for contacting us about this. I'm happy to try and help you with this.

It's possible to [hide the page tree via the UI](https://confluence.atlassian.com/doc/configure-the-sidebar-317194694.html), can you help and explain the motivation behind hiding it programmatically? Why might you require this? Are you looking to hide it for all users, or only specific ones? Would this be across all spaces, or only certain spaces?

Thank you for your help!

Regards,

Shannon

comments: author: Stephan Heller
body: Hello,

thank you for your reply. Yes i know the possibility to hide the page tree via the UI. But my intention is to do this during space creation process. We defined blueprints to create different spaces. Instead of the page tree we show two different page tree using the page tree macro vie the content look and feel settings. this makes the standard page tree unnecessary. so i need to disable the page tree after the space was created.

According to the possibility to disable the page tree via the UI i think there must be a Service- or Manager-Class, that i can use to do this in my space creation plugin.

Regards

Stephan


author: Shannon S
body: Hi Stephan,

Thank you for clarifying that for me. I understand now, you want the pages to automatically be hidden upon space creation, is that right?

I would recommend raising this as a question on our [Developer Community](https://developer.atlassian.com/resources), as the members there might have a better idea of how to do to this using the method you require.

Regards,

Shannon


Tags: atl-adm

confluence-server
Unable to take confluence backup
Asked by Priyanka Karguppikar:

Whenever I am trying to create a backup for confluence, I am not able to create the same. Below error is thrown.  
Could you please help me resolve the same?

<br />

Oops - an error has occurred  
System Error  
A system error has occurred --- our apologies!  
For immediate troubleshooting, consult our knowledge base for a solution.  
If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:  
a description of your problem and what you were doing at the time it occurred  
a copy of the error and system information found below  
a copy of the application logs (if possible).  
Your Confluence administrator can use the support request form to create a support ticket which will include this information.  
We will respond as promptly as possible.  
Thank you!  
Return to site homepage...  
Cause  
java.io.IOException: No such file or directory  
at java.io.UnixFileSystem.createFileExclusively(Native Method)  
Stack Trace:\[hide\]  
java.io.IOException: No such file or directory  
at java.io.UnixFileSystem.createFileExclusively(Native Method)  
at java.io.File.createNewFile(File.java:1012)  
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461)  
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:397)  
at com.atlassian.confluence.importexport.actions.BackupAction.execute(BackupAction.java:69)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)


Answers:
author: Alexis Robert
body: Hi [@Priyanka Karguppikar](/t5/user/viewprofilepage/user-id/1700614) ,

the error seems to indicate an issue with your HOME_DIRECTORY :

```
java.io.IOException: No such file or directory
```

Can you check in your home directory if the folder "export" exists and if the permissions are correctly set ?

Let me know if this helps,

--Alexis


Tags: confluence-server

server
Getting List of Topics of a Space
Asked by ravi.chandran:

Hello Everyone,

I want to get a list of all topics as per the hierarchy defined in a space.

Anyone knows how to do that.

Thanks and Regards,

Ravi Chandran V


Answers:
author: Zak Laughton
body: Hi Ravi!

I believe you are looking for the [Page Tree Macro](https://confluence.atlassian.com/confcloud/page-tree-macro-724765260.html). This macro will show a list of all the pages in a space or below a given parent page. In the options, you can restrict the hierarchy to be as deep as you want (for example, if you only wanted to display the top level pages).

I hope this helps!  
-- Zak

comments: author: Shannon S
body: [@ravi.chandran](/t5/user/viewprofilepage/user-id/3696755),

My apologies for not replying sooner. Zak is correct, it sounds like the Page Tree macro is what you're looking for.

Have a look at that and let us know if you have any questions about that.

Regards,

Shannon


author: Shannon S
body: Hello [@ravi.chandran](/t5/user/viewprofilepage/user-id/3696755) ,

Thank you for contacting us about this. Happy to help you.

Can you let me know what you mean by "topics" exactly? Confluence spaces don't have topics, but they have categories which you can define by using labels. See [Use Labels to Categorize Spaces](https://confluence.atlassian.com/confcloud/use-labels-to-categorize-spaces-724764814.html)for further details. This article will explain how to label pages, how to view those labels being used in the space, and to categorize them.

**Topics** , on the other hand, are a feature of the add-on [Questions for Confluence](https://confluence.atlassian.com/questionscloud/topics-738361797.html). Topics cannot be seen per space, but are in a single list. You can go to **Questions \> Topics**for a list of topics for your site.

I hope that helps, but let me know if you have any questions about any of that.

Regards,

Shannon

comments: author: ravi.chandran
body: By Topic I mean, an article or page.

In short I want a TOC containing a list of all the pages in a space.


Tags: cloud

confluence-cloud
Getting error in confluence while create an article to the knowledge base via service desk
Asked by huangzhihui:

Hi?

Getting error in confluence while create an article to the knowledge base via service desk?page is creating successfully?but the page is not automatically moved below the corresponding category.

Caused by: java.lang.NullPointerException  
at com.atlassian.confluence.plugins.jira.links.JiraRemoteIssueLinkManager$JiraIssueLinkMacro.hashCode(JiraRemoteIssueLinkManager.java:169)  
at java.util.HashMap.hash(HashMap.java:339)  
at java.util.HashMap.put(HashMap.java:612)  
at java.util.HashSet.add(HashSet.java:220)  
at java.util.AbstractCollection.addAll(AbstractCollection.java:344)  
at com.atlassian.confluence.plugins.jira.links.JiraRemoteIssueLinkManager.getRemoteLinkMacros(JiraRemoteIssueLinkManager.java:74)  
at com.atlassian.confluence.plugins.jira.links.JiraRemoteIssueLinkManager.createIssueLinksForEmbeddedMacros(JiraRemoteIssueLinkManager.java:55)  
at com.atlassian.confluence.plugins.jira.ConfluenceEventListener.createJiraRemoteLinksForNewPage(ConfluenceEventListener.java:132)  
at com.atlassian.confluence.plugins.jira.ConfluenceEventListener.createJiraRemoteLinks(ConfluenceEventListener.java:65)  
at sun.reflect.GeneratedMethodAccessor4093.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40)  
... 389 more


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@huangzhihui](/t5/user/viewprofilepage/user-id/3696787) ,

Can you try removing any special characters in the title of the page which you are trying to create and then verify?

Please refer to [Cannot link a JIRA issue to a Confluence page (over SSL) when the Page Title contains Comma, Colon, and/or other Special Characters](https://jira.atlassian.com/browse/JRASERVER-42880) for additional information.

Thanks,

Kiran.

comments: author: huangzhihui
body: I've tried to do so but in vain. By the way, there is another test environment with the same properties (using another database) which works. I can't figure out why, please help, thanks.


Tags: confluence-server

server
How can I export every blog posts to one PDF?
Asked by ??_??:

Hi,

I tried to export every pages to one PDF and It worked.

also I tried to export custom too. was good.

but I couldn't find '**export only blog posts**'.

Is it there? I really want that function.


Answers:
author: Ollie Guan
body: Hi [@??_??](/t5/user/viewprofilepage/user-id/3571005) ,

Blog posts aren't included in the PDF export. See the feature request:

<https://jira.atlassian.com/browse/CONFCLOUD-5599>

comments: author: ??_??
body: Hi [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638)

Aww... That's too bad :(

Thank you for your answer!


author: ??_??
body: [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638)

Can I ask why that request was closed??

It seems like closed 8 years ago.

and I am wondering that any customers aren't thinking it function(export all of blogs to PDF) is necessary?


author: Ollie Guan
body: It looks like this Suggestion has a new ticket, but not about PDF, you can create a new ticket to track.

<https://jira.atlassian.com/browse/CONFCLOUD-14684>


author: ??_??
body: Okay, I will!


author: Rafael Vicente
body: Hey, in 2023 this is also not possible :D do you have the feature request link to add a thumbs up and follow?


Tags: cloud

confluence-cloud
Not able to Add Labels to a Page
Asked by ravi.chandran:

When adding a label, it shows error message as GraphQL error: unexpected HTTP Status: 500.


Answers:
author: Brett Coster
body: [@ravi.chandran](/t5/user/viewprofilepage/user-id/3696755) - Welcome to the forums. I have not had this issue myself, but others have.

Check out this [previous post](https://community.atlassian.com/t5/Confluence-questions/I-can-t-create-labels-on-my-pages-receiving-GraphQL-error/qaq-p/1138978). The solution includes a nifty video. If this does not help, come back to us and let us know.

Brett

comments: author: ravi.chandran
body: Thanks a lot!


Tags: cloud

confluence-cloud
How can I force the JIRA issue results provided through the JIRA Macro to word wrap on PDF export.
Asked by Jeffrey Holzapfel:

We are using JIRA to document design requirements within the description field. The finalized version of the designs are then returned to Confluence pages via the JIRA issue macro. Some time it becomes necessary to produce a paper document of the confluence space for external reference. We had planned to fulfill the paper need with a simple PDF export of the confluence space with the JIRA results however the text of the JIRA results provided through the Issue macro is being cut off on the right side of the page when exported. I have tried several PDF Export CSS style and either I can seem to find the exact reference I need or everything in there only affects the confluence tables and not the text of the JIRA results.


Answers:
author: Dan Breyen
body: Hi [@Jeffrey Holzapfel](/t5/user/viewprofilepage/user-id/1750079) I'm using Confluence and Jira in the Cloud and am unable to recreate this issue. I can view a list of Jira issues on my confluence page that I setup with the macro, and when I export it to a PDF it wraps as expected with nothing getting cut off. Is this still an issue for you?


Tags: atl-adm

confluence-cloud

jira
Can we have Search Button in all the Pages?
Asked by ravi.chandran:

As in the Home Page, there is a search feature to find topics. Can we implement this feature in all the pages?


Answers:
author: Merve Nur Bas
body: Hi [@ravi.chandran](/t5/user/viewprofilepage/user-id/3696755)

I do not really know your home page but you can include search macros to you page and specify what and where to search!

Just search for "search" (e.g. livesearch) in your macro browser!

Best wishes

Merve

comments: author: ravi.chandran
body: Thanks Merve,

I have found the macro.


Tags: cloud

confluence-cloud
Will you eventually completely remove the old editing tools?
Asked by Bradley Touchette:

I've been able to create some work-arounds so that I can keep the old tools, but I need to know if these tools will eventually be taken away from me . If I'm going to be eventually forced into only having these limited tools, I need to know now so I can plan accordingly and design my templates using only the new (and shortsightedly limited) editing tools. Please advise.


Answers:
author: Suren Raj
body: Hi Bradley,  

Yes, the old editor will be completely remove and replaced with the new editing experience.

For more information you can refer below documentation:

* Confluence Editing Improvements - <https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html>\]
* Confluence Cloud Editor Roadmap - <https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html>

Kind Regard  
Suren Raj


Tags: cloud

confluence-cloud
Cannot find SAML config
Asked by Austin Eyler:

I am trying to set up ADFS/SAML SSO. Looking at Atlassian's documentation, I am supposed to go to the SSO 2.0 tab and select SAML authentication. However, there is no SAML authentication option in the SSO 2.0 tab...

I am only seeing the following two options:

- Login form

- Crowd single-sign-on.

Where am I supposed to configure SAML/ADFS SSO? I have looked pretty much everywhere and cannot find it.

I DO have SSL set up for the web interface as that is a pre-req. So, I don't think that is the issue.


Answers:
author: Poorvi Jhawar
body: Hi [@Austin Eyler](/t5/user/viewprofilepage/user-id/3696221)

Like Chris mentioned, basic SAML authentication is available only in Atlassian Data Center applications. For Server users to enable SAML SSO you would need a 3rd party app.

In full disclosure, I work for Techtime, [an Atlassian Marketplace Top Vendor](https://marketplace.atlassian.com/vendors/111/techtime-initiative-group-limited). Our app is one of the high-rated SSO apps - [EasySSO](https://marketplace.atlassian.com/apps/1212583/easy-sso-confluence-kerberos-ntlm-saml?hosting=server&tab=overview&utm_source=community&utm_medium=answer&utm_campaign=easysso-server&utm_term=one+of+the+high-rated+SSO+apps&utm_content=textlink).

We're known to target complex environments where there may be a need for additional authenticators -- besides SAML, we provide 4 more: NTLM, Kerberos, HTTP Headers and X.509.

In case you want to give EasySSO a try, here's [our detailed documentation to set up with ADFS](http://www.techtime.co.nz/display/TECHTIME/EasySSO+SAML+with+ADFS?utm_source=community&utm_medium=answer&utm_campaign=easysso-server&utm_term=set+up+with+ADFS&utm_content=textlink).

Cheers

Poorvi


author: Christian Reichert (resolution)
body: Hi!

some basic SAML authentication is only available in the Atlassian Data-Center Applications, not in the Server variant. (I assume you use server by the tag to this post).

For Server, your only option is a 3rd party plugin like our - [SAML Single Sign-on for Confluence.](https://marketplace.atlassian.com/apps/1212129/saml-single-sign-on-sso-confluence?hosting=server&tab=overview)

If you decide to give our app a try here are the step-by-step guide to setup with ADFS: <https://wiki.resolution.de/doc/saml-sso/latest/jira/setup-guides-for-saml-sso/microsoft-ad-fs>

There are other options in the marketplace as well - you see them via this search: [https://marketplace.atlassian.com/search?product=confluence\&query=saml](https://marketplace.atlassian.com/search?product=confluence&query=saml)

As you'll see our plugin is the most commonly installed one. Hope this helps ...

Cheers,  
Chris

P.S. Full disclosure, I work for [resolution, a marketplace vendor.](https://marketplace.atlassian.com/vendors/1210947/resolution-reichert-network-solutions-gmbh)


Tags: confluence-server

server

sso
Linking to pages
Asked by Alex Ransome:

Hello,

How do I link to other Confluence pages that can only be seen if they are accessed by using the links on the page.

I would like a main page to appear in the page tree but when the user clicks a link from the main page a sub page appears but does not show in the page tree to the left.

Thanks for your time.


Answers:
author: James Dellow
body: The left-hand navigation is based on the children of the page you select as your space overview (home) page - so you can either move your "hidden" pages to the root level (or in their own branch starting at the root) or move your overview page lower in the page structure.

Note: This will only obscure them from the left-hand navigation - the breadcrumb on each page will still display "hidden" pages if they are parents of the current page or if you browse pages via space settings.
Export PDF Stylesheet [data-layout-section="true"] modification doesn't work.
Asked by Christopher:

Hello,

Hoping for a little help.

I am seeing that everything that happens to be or of the container is wrapped in a div element with the attribute \[data-layout-section="true"\] I tried to target this and I have been unable to get any modification what so ever.

My Current PDF Stylesheet

```
@page {    
   size: 216mm 279mm;    
   margin: 5mm;
}
div.wiki-content {    
   box-sizing: border-box;    
   width: 190mm !important;    
   max-width: 100%;    
   align-self: center !important;    
   margin: 0 !important;    
   padding: 18px !important;
}
div.wiki-content div[data-layout-section="true"] {    
   margin-left: -5mm !important; /* My Attempt to shift content left. */
}
```

<br />

The first two [@pagetTeng](/t5/user/viewprofilepage/user-id/2589484) and div.wiki-content are working properly. Has anyone else had issues with the export format?

Thank you!


Answers:
author: Dara
body: Not 100% sure, but it seems to me that 'data-layout-section="true"' would indicate that for this section it takes the lay-out that is already given. Haven't been able to find anything to back that up, though, so could just be a guess.

Have you tried removing that bit?


Tags: atl-adm

confluence-cloud