youngmon/atlassian-qna huggingface dataset:
IFRAME Problem - Basic Authentication
Asked by Emre CELEBI:

Hello,

I have added IFRAME into one of my confluence page. Target URL requires HTTP Basic Authentication so i had to use the following javascript to authenticate the target.

Although <https://www.atlassian.com> URL works as iframe.src it does not work with my original URL (that URL also belong to me). Both abc.com and atlassian.com are added to whitelist within admin console.

I get "v1.abc.com connection refused message" within iframe window. What could be the reason or how to debug this?

\<form id="login" target="frame" method="post" action="<https://v2.abc.com/>"\>

\<input type="hidden" name="username" value="XXXX" /\>

\<input type="hidden" name="password" value="YYYY" /\>

\</form\>

\<iframe id="frame" name="frame" noborder="0" width="830" height="800" scrolling="yes" seamless\>\</iframe\>

\<script type="text/javascript"\>

// submit the form into iframe for login into remote site

document.getElementById('login').submit();

// once you're logged in, change the source url (if needed)

var iframe = document.getElementById('frame');

iframe.onload = function() {

if (iframe.src != "<https://www.atlassian.com/>") {

// iframe.src="<https://v2.abc.com/abc/visual/index.php?service_id=22>";

iframe.src="<https://www.atlassian.com>";

}

}

\</script\>

Best Regards,

Emre.


Answers:
author: Nic Brough -Adaptavist-
body: The reason is that the website you are embedding in the frame does not support iframes well enough to take the data you are passing into it. Most sites don't, as they don't expect to be embedded and the code to do it is generally horrid and far more effort than it is worth. You'll need to amend the target site so that it understands that it is in a frame and can accept the data the source frame sends it.
Confluence Delegated access to JIRA with G Suite integration
Asked by asimami:

Hi,

I have recently set up JIRA and confluence for our organization. To facilitate our users, and ensure access only for our people, I used the Kantega SSO plugin to set up SSO through our GSuite account.

I have then set my confluence instance to delegate user management to JIRA. Now Confluence asks for username and password. What is the recommended way to achieve this SSO and complete synchronization of accounts across all applications?

There is also the matter of admin access. When I try to get admin access for the system settings, the applications ask for a (non-existent) password.


Answers:
author: Christian Reichert (resolution)
body: Hi [@asimami](/t5/user/viewprofilepage/user-id/1414706),

have you installed the SSO Plugin on both systems? It will have to be on either system to work.  

Cheers,  
Christian

P.S. Full disclosure, I work for [resolution](https://marketplace.atlassian.com/vendors/1210947/resolution-reichert-network-solutions-gmbh), a marketplace vendor developing [Single Sign On Add On's for Atlassian Server \& Data-Center](https://marketplace.atlassian.com/search?query=resolution+saml).

comments: author: asimami
body: That makes sense. Further question is, will I have to do the complete set up on both JIRA and Confluence? Or just setup on one and delegation from the other with the addon on both will work?


author: Nic Brough -Adaptavist-
body: Yes, you need to install it on both. Without it, the system does not know how to get the authentication data from your machine.


Tags: confluence-server

g-suite

jira

jira-server

kantega

server
Is there a way to create custom charts?
Asked by corinne goodman:

Hello Community,

I would like to create a simple chart with viso forms on a page and insert links . Is this possible ?

thanks

corinne


Answers:
author: Nic Brough -Adaptavist-
body: To do it in visio, you'll need to use visio to create the chart and then attach it to a confluence page.

It would be far better and more flexible to use one of the decent diagramming add-ons you can get for Confluence. Gliffy and Draw.io for example, are far better than Visio and work within Confluence. Smartdraw is similar, but can also be used to dynamically draw data in from other sources to draw charts.

comments: author: corinne goodman
body: thanks Nic


Tags: cloud

confluence-cloud
How can I create a custom space blueprint or the equivalent in Confluence Cloud?
Asked by Sol Kahn:

Hi All,

Confluence cloud comes with space blueprints for team, software, etc. What is the best/easiest way to either customise those blueprints, create new ones, or leverage some other functionality so I can "Create a new space" with additional pre-built pages etc?

I'm already aware of Copy Space and friends but I want to leverage the create space wizard to enable linking with my JIRA project.

Thanks  
Sol


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to find or write an app that provides your new blueprints


Tags: blueprint

cloud

confluence-cloud

space

template
Cannot log in after update to 6.12.1, not even as "recovery_admin"
Asked by Rupert Weber-Henschel:

Hello,

I inherited a confluence 5.6.6 installation which I tried to upgrade to 6.12.1

After the upgrade, I cannot log in (simply get thrown back to login prompt), not even as recovery_admin.

I ++don't++ get a "wrong password" message (which I do when I enter a wrong password).

So somehow, the password is accepted, but I'm still thrown back to the login prompt.

SSL is not enabled yet, I'm connecting to the default port 8090. It was enabled before, but certificates had expired and I really only wanted to tackle that when everything else was done.

Could this have something to do with the BaseURL setting? (If so, how would I change that without logging in?)

I'm at a loss here - managed to get the accompanying JIRA upgraded from 6.4.7 to current, but with Confluence, I'm stuck now.

Thanks for any help

Rupert


Answers:
author: Rupert Weber-Henschel
body: Problem solved -- not exactly sure how, though.

Before, I had a direct connection to the server, which didn't work.

Now I am going through a reverse proxy, and it works.

Leaving it at that... ;)


Tags: confluence-server

server
confluence- create page directly
Asked by corinne goodman:

HI community

Is there a way to create a page directly from another page by entering \[\[ like we do in sharepoint. it create the page directly and reference the word entered in bracket as a link to this page .

thanks a lot


Answers:
author: Nic Brough -Adaptavist-
body: Not quite. The Sharepoint \[\[ tends to lead to a lot of half-posted pages that never get built.

Confluence is a bit better. If you put \[\<page name\>\] or \[\<space:page name\>\] on a page, it looks for that page. If it finds it exists, it links to the page. If it does not find it, the link goes to "create this page".

comments: author: corinne goodman
body: thansk Nic for the tip, this is great. I have one more question. the page it creates it's a blank page, can you then change it to another format ? how ?   

thanks

corinne ( new in confluence)


author: Nic Brough -Adaptavist-
body: There are no page formats in Confluence, a page is a page. There are templates and blueprints which can pre-populate a load of stuff and hence help you write stuff in a standardised format, but they really are templates - there's nothing to stop you removing everything they do once you use one.

This \[\] link takes you to a an empty page with no template/blueprint because it can't know which one you might want to use. When it does this to me, and I want to use a template, I tend to just copy the title and then use the drop-down next to create to select the template or blueprint I want, discarding the automatic empty page.


Tags: cloud

confluence-cloud
how do I actually create a dialog in my plugin?
Asked by Jonas Weckschmied:

So I'm trying to create a confluence plugin. All I want it to do for now is to show a button, and when you click on that button it displays a dialog window.  
So I created a web item module for the button, and I also managed to display a flag when clicking on the button. But now I want a dialog2 instead. The documentation has js and html in it. But where do I actually define the HTML content of my dialog? I've tried using a soy plugin, but that didn't work at all.


Answers:
author: Santwana Sarangi {Appfire}
body: Hi Jonas,

Please refer to the documentation for implementation of the dialog2 in the atlassian plugin.

<https://docs.atlassian.com/aui/7.9.9/docs/dialog2.html>

The html containing section tag(mentioned in the above link), can be placed in a vm file and the corresponding javascript call can be placed in a javascript file.

Hope this helps!

Thanks,

Santwana


author: Stephen Sifers
body: Hello Jonas,

That is great you're looking to create a plugin/add-on for Confluence.

While this is a general support Community, there are not as many developers that scroll through the questions here. You might be better served to create a post over in the [Developer Community](https://community.developer.atlassian.com/).

Another reference is [Developer.Atlassian.com](https://developer.atlassian.com/).

Regards,  
Stephen Sifers


Tags: atl-dev
Starting Configuration Wizard not locally but from another PC with browser?
Asked by Stefan von Hatten:

Hi,

I started trying out Jira and installed it for testing on our local linux server (fedora).

Everything worked fine - but:

The server does not have any window manager - it?s running on console only. I tried to start the configuration wizard from my PC with http://\[IP-Adress\]:8080 - it does not work. I?m just getting a timeout.

Can I start the wizard remotely? Or can I run a configuration wizard via terminal session?

Many thanks!!

Stefan


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Have you checked status of the service?

using command like:

```
ps aux | grep java?
netstat -anpt | grep java?
netstat -tlp | grep 8080 

```

Because your request does not include detail info.

Cheers,

Gonchik Tsymzhitov

comments: author: Stefan von Hatten
body: Hi,

thanks for the hint. The firewall was blocking. Fixed it by adding ports and services with ---permanent in Fedora.

Cheers,

Stefan


author: Gonchik Tsymzhitov
body: Hi!

awesome!

Cheers,

Gonchik


Tags: confluence-server

jira

jira-administration

server
How do I show all text in a status macro bar button?
Asked by Bar T:

Sometimes I see the colored status macro bar (button) show all text entered, other times it is truncated. Is there a trick to get the text to fully show on the button?


Answers:
author: Stephen Sifers
body: Hello Barbara,

This is a great question. I did some digging to find out exactly how many characters will cause truncation and when you may see a status with all characters, here are the results:

A status macro with more than 27 characters will be truncated.

Within the edit window of the status macro, the text will not be truncated regardless of length. Once you save from the edit window, anything past 27 characters will be truncated.

Dashes, No spaces and underscores do not impact text truncation.

Care to know more about the macro, check out the documentation at [Status Macro](https://confluence.atlassian.com/confcloud/status-macro-724765291.html).

I hope this sheds some insight as to when the macro truncates and answers your question.

Regards,  
Stephen Sifers

comments: author: Bar T
body: Thank yoU!


Tags: confluence-cloud

macro

status
Is there a way to optimize the load time when using Better Code Block macro?
Asked by Bren Eckles:

Using the "Better Code Block" macro to provide a nice structure for the code and the ability to copy code to clipboard.

We receive spinning the messages "Loading app....." and "App is not responding. Wait or cancel?".

Applied single use of macro on one page and after about 15 seconds it displays with copy function accessible.

Applied multiple use of macro on another page and they display after about 45 secs if at all.

Any one using this macro without load time issues?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

For good start I suggest to start from analysis of the HAR file <https://confluence.atlassian.com/kb/generating-har-files-and-analyzing-web-requests-720420612.html>

Cheers,

Gonchik Tsymzhitov


Tags: cloud

confluence-cloud
How do I organize confluence?
Asked by Ted Larson:

I run a small consultancy, with about 25 people. We are looking at using Confluence instead of a Wiki for organizing project documentation. Right now it is a big Google drive tree with all the documentation in it, organized by customer, and project underneath that, with Wiki links jumping off to the individual pieces of documentation. So, this is the format we are most familiar with. The problem I am having trouble wrapping my head around is that there does not appear to be such thing as a "Sub-space" in Confluence. So, the desired idea of having each Space organized by department...i.e. HR, Engineering, IT, doesn't quite work, because if I create a Space called "Customers" and stick all projects under there as individual pages it will be a nightmare pretty quick. If I create each customer as a separate Space, then I break the hierarchy idea of the company because then all my customer spaces get put up on the same level as HR, and other departments.

I just can't wrap my head around how we would actually organize Confluence in a way where it wouldn't be a huge, disorganized nightmare in about a week, and where we would be actually worse-off than we already are. I did a TON of Google searching on this topic, and nobody seems to have an easy answer to it. Honestly, this is the one thing that totally blocks me from signing my company up to use it. I just can't visualize how it would be organized in a useful way that would work out to be easier to use than just a bunch of Google drive folders. Anyone have any ideas on how it should be set up? I don't know enough about Confluence, so maybe I am just being naive or missing something obvious.


Answers:
author: test test
body: QA


author: Aron Gombas _Midori_
body: Have you tried [space labels](https://confluence.atlassian.com/doc/use-labels-to-categorize-spaces-136647.html) to categorize your spaces?

(It does not necessarily impose a hierarchy per se, it is more like tagging in Gmail or a blog engine.)

comments: author: Robert Reiner _smartics_
body: I also think that space categories are the Confluence way of organizing spaces.

I just would like to add a link to a maybe helpful discussion on [space granularity](https://community.atlassian.com/t5/Confluence-discussions/How-Granular-are-your-Spaces/m-p/620355).

Also: maybe there are third-party tools (e.g. [Atlassian Marketplace query=subspace](https://marketplace.atlassian.com/search?query=subspace)) that allow you to provide a hierarchy view on those flat spaces. I have no experience with these tools, I just remembered that tools exist that list on the Marketplace by that keyword ... :)


Tags: cloud

confluence-cloud
Getting the Unable to render {include} on the page instaed of link to the page in the parent page
Asked by vmisra@vmware.com:

Getting the Unable to render {include} on the page instaed of link to the page in the parent page


Answers:
author: Stephen Sifers
body: Hello,

Can you check the URL within the {include} macro to ensure it leads to the proper page? If the URL is bad or you do not have permission to the page you will get the following error:
>
> ```
> Unable to render {include} The included page could not be found.
> ```

We look forward to your response so we can get this resolved for you.

Regards,  
Stephen Sifers


Tags: cloud

confluence-cloud
Recently updated Macro
Asked by Siddharth Anathula:

Can someone please tell me how to restrict the display of pages on the 'recently updated Marco. Right now, it displays like 50 pages, I just want to see 10.


Answers:
author: Kimberly Deal _Columbus ACE_
body: Hello [@Siddharth Anathula](/t5/user/viewprofilepage/user-id/2230958)!

Edit your Confluence page, hover over the Recently Updated macro, click on it, and select Edit.

![macro menu.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/36685i0AE0273A72543423/image-size/large?v=v2&px=999 "macro menu.PNG")

You will get a popup window with options, scroll down until you see the Maximum Number of Results, and change it to how ever many you need.  

![recently updated.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/36683i26E1A116EA737DB4/image-size/large?v=v2&px=999 "recently updated.PNG")
bash: sudo: command not found
Asked by Andrey Pykhantsev:

can't seem to go past this step when installing the trial version


Answers:
author: Andrey Pykhantsev
body: I am trying to install confluence trial following instructions at <https://confluence.atlassian.com/doc/installing-a-confluence-trial-838416249.html> on mac/linux, have jdk installed and looks like i have the rest of the requirements up as well.

I'm stuck on step 2.2: Install Confluence -- Run installer.

When I run the suggested command "

    $ sudo ./atlassian-confluence-6.12.1-x64.bin"

i get "command not found" and can't get the installer to run.

Any suggestions?

comments: author: Thomas Deiler
body: Dear [@Andrey Pykhantsev](/t5/user/viewprofilepage/user-id/2225934),

has the executable mode 755 at least? If not either you do following

```
$ sudo chmod 755?atlassian-confluence-6.12.1-x64.bin
$ sudo ./atlassian-confluence-6.12.1-x64.bin
```

or

```
$ sudo sh?atlassian-confluence-6.12.1-x64.bin
```

So long

Thomas


author: Thomas Deiler
body: Dear [@Andrey Pykhantsev](/t5/user/viewprofilepage/user-id/2225934),

if you would like the community assisting you, I recommend to provide more details than 17 words.

Thanks for understanding

Thomas


Tags: install

server

trial
How change you change the base URL?
Asked by Sean Leary:

My page URL currently looks like this:  
https://(my url)/pages/viewpage.action?pageId=151937402

I would like it to look like this:

https://(my url)/title-of-my-page

Can anyone help?


Answers:
author: Brant Schroeder
body: Sean,

Confluence displays page URL in 3 formats, you can learn more here: <https://confluence.atlassian.com/confkb/the-differences-between-various-url-formats-for-a-confluence-page-278692715.html>

What you are asking for will not work since it does not have the unique identifiers needed to determine that page since multiple spaces could have the same page title.

comments: author: Sean Leary
body: Thanks, this actually fixed the problem. I had unsafe chars in the page title. After removing them, the URL for the page changed to the pretty-print form that I wanted, where the page title is part of the URL.
What is a local user and does it count against your licensed number of users?
Asked by EMC:

We have a 10000 Licensed tier, and it shows how many are currently signed up in

General Configuration \> Administration \> License Details

That is easy enough to understand, but in

General Configuration \> Administration \> System information

There is a category called "Local User", which has a much much higher number.

So far I cannot find what a local user is considered and why that number would be so much higher than the number of people Licensed. I am guessing that the only one that counts is the Licensed users as far as the limits go?

Can anyone shed some light on what a Local User is?

Thank you!


Answers:
author: Kian Stack Mumo Systems
body: Erica,   

This would just be the number of users in your system. Often times, companies pull in a whole AD, but only license a select number of users. All the users are created are objects within the system, but only some are licensed and can log in. The Licensed number is what cannot exceed the license count. Does that make sense?  

Thanks,   

Kian

comments: author: EMC
body: Ohhh, okay, that does make sense. We do have a lot of AD accounts that are not actual people, but more general use emails etc... so those don't need a License for Confluence. So that would explain the number difference. Thank you so much!


author: Mikael Sandberg
body: As [@Kian Stack Mumo Systems](/t5/user/viewprofilepage/user-id/853673) mentioned, that number under System Information is just the total number of users that your user directories see. The number of licensed users depends on your Global Permissions settings and the total number of users in the groups that have permission to use Confluence.


Tags: confluence-server

server
Confluence: Hiding comments and last modified for public space
Asked by Daniel Hurtubise:

I want to publish a Release Notes space and pages to the public and I don't want people to see activities and who last modified a page.

Is there a way to hide all that and only make the page viewable?


Answers:
author: EMC
body: To remove the 'created by' and 'last modified on' that appears in the top left of the page,

In your space - Go to Space Tools \> Look and Feel \> Stylesheet

Click edit and then enter this code:

.page-metadata ul {

visibility: hidden;

}

Then in your permissions section, just uncheck Comments in the options for your users. That prevents anyone from leaving or seeing comments, except for those who have that permission. With public pages it would be best to have a user group with those who are allowed to edit, then set it where all other users only have View access.

Hope that helps!

comments: author: Daniel Hurtubise
body: Thanks Erica. However I only see **PDF stylesheet** option under Look and Feel. I need to hide those items from the display of the web page.

the thing I'm trying to eliminate is

![confluence page.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/36667i044C7BBCEE44E829/image-size/large?v=v2&px=999 "confluence page.PNG")


author: EMC
body: Oh, that means you're not a Confluence admin and/or the setting isn't enabled.

Have the Admin go to the Wheel Cog, then General Configuration \> User \& Security \> Security Configuration

Then edit and check the Custom Stylesheets for Spaces

![firefox_2018-11-02_13-27-55.png](https://community.atlassian.com/t5/image/serverpage/image-id/36669iEE197306229749E5/image-dimensions/415x137?v=v2 "firefox_2018-11-02_13-27-55.png")

That will give you this in spaces:

![firefox_2018-11-02_13-31-46.png](https://community.atlassian.com/t5/image/serverpage/image-id/36671iB4258F56ECD68B2E/image-dimensions/422x252?v=v2 "firefox_2018-11-02_13-31-46.png")

Then you can enter that code in there and the screenshot you sent with the user data in it, won't be there anymore. : )

Hope that works out, let me know.


author: Daniel Hurtubise
body: thanks, I'll let you know.
atlassian confluence
Asked by green bear:

I need some help on how to migrate the existing confluence database which is oracle to AWS Cloud Postgresql database.

Please let me know the recommended path from confluence product standard method to do this and to make sure that it functions as expected as a whole app after moving.


Answers:
author: Nic Brough -Adaptavist-
body: See <https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html>

(I'm assuming you don't need to move the Confluence service, you are just migrating from Oracle to an AWS Postgres)

comments: author: green bear
body: yes, only the database not the confluence service
Questions for confluence - Slack integration
Asked by MGear:

Hi, With the new Confluence Cloud Slack integration, will there be any improvement on the roadmap? e.g.

* Being notified when there is new question, answer or an update
* Answer or comment a question directly from Slack

Or there will be api allow customization?

Thanks!


Answers:
author: N?gila Marques
body: Hi Kevin,

We will surely improve the integration between the apps :D

We already have a few feature requests such as the ones below that is being reviewed by our team:

* <https://jira.atlassian.com/browse/CONFCLOUD-62535>
* <https://jira.atlassian.com/browse/CONFCLOUD-64718>

We appreciate your feedback as well! Feel free to add yourself as a watcher on the ticket to show your support.

Thank you,

N?gila


Tags: atl-int

confluence-cloud

slack