youngmon/atlassian-qna huggingface dataset:
Not all projects/issues are available to link to a confluence page, why?
Asked by Nancy Plagman:

Hi, I am relatively new to Atlassian products. We have a confluence page that we want to be able to link Jira issues to. However, when we go link the issues, some projects/issues are not available and we can not figure out why?

We have tried JQL and URL to find the issue in question. The system will not display the issue to allow us to link it to the confluence page.

Any suggestions would be appreciated.

Thanks.


Answers:
author: jira guy
body: If you have permissions to access these issues in JIRA, you will be able to search/link them in Confluence. Copy paste the JIRA issue url in confluence to test. This should create reverse linking between issue and confluence page

comments: author: Nancy Plagman
body: Thanks for replying.

That is what we thought. I have admin rights and have access to the issues, have access to confluence. We tried the filter (JQL) and it said no results, even though we know the project has multiple issues to choose from. We then tried pasting the URL in the "Insert JIRA Issue/Filter" and it returns with the message, "No search results found".

I am finding it perplexing that certain issues are selectable/found in a search and others are not.


Tags: jira
Confluence Page Gadget macro: how to control height
Asked by Scott Wolfe:

Is there some way to increase/control the height of the image/panel displayed when using the "Confluence Page Gadget" macro? There is a field to set the width, but even when using Auto, the vertical height is so short that hardly any data is visible.


Answers:
author: Diego
body: Hello there!

So, Scott, we *can change* the height of our Page Gadget Macro. However, the method is not native to the macro and involves a bit of CSS and the Style macro.

Let us get this solved:

1. *First, insert the **Style Macro***
2. *Then, insert the **Confluence Page Gadget Macro***
3. *Save the macro*
4. *Publish the page*

After the above is done, comes the **unsupported part of the procedure** . We will need the **page inspector** of our browser for this step. The inspector is activated with F12 in Firefox. We are looking for the **\<iframe\> in which our gadget is located.** This will differ from page to page.

The following steps are meant as **guidelines** on how to find this \<iframe\>. Each page can have other structures than the one I presented.

1. Access the page we created earlier
2. Bring up de **Inspector** (in Firefox, we can press F12)
3. Find the \<div\> where the \<iframe\> for our Gadget macro is located
   1. in my case, the path for this \<iframe\> was this:
   2. *++\<body id="com-atlassian-confluence"...\>++* -\> ++*\<div id="page"\>*++ -\> *++\<div id="full-height-container"\>++* -\> *\<++div id="main"class="aui-page-panel"\>++* -\> *++\<div id="content"class="page view"\>++* -\> *++\<div id="main-content" class="wiki-content"\>++* -\> *++\<div class="gadgetContainer-21361019977728 conf-macro output-block"...\>++* -\> ***++\<iframe id="gadget-21361019977728" class="gadget" name="gadget-21361019977728"...\>++***
4. Take note of the **name=\*\*\*** attribute in the \<iframe\> with the ++*gadget*++ class  

Now we go back to the **Edit mode** :

1. *Go to the **Style Macro***
2. *Type the following:*
   1. *iframe\[name=\*value-of-the-name-attribute\*\]{ height:\*desiredheight\*px; }*
   2. *swap \*value-of-the-name-attribute\* with the actual value of the name attribute*
   3. *swap \*desiredheight\* with the actual desired value*
3. *Publish the page*
4. *The Page gadget macro should now have the desired height*

A few notes:

1. ++*The HTML structure can vary from page to page*++
2. ++*The name attribute will not be the same for all pages and macros*++
3. ++*The three dots I used in classes such as \<div\> mean that there are more attributes than the ones I wrote*++
4. ++*HTML elements nesting can be complex to navigate*++
5. ++*Here are some screenshots of how my page looks like after the customisation:*++

Hey Scott, let us know if this helps you out. Looking forward to your findings.


Tags: cloud

confluence-cloud
Include Page Macro: how to size the displayed image
Asked by Scott Wolfe:

Is there some way to control the size of the image/panel when using the "Include Page" macro? It appears giant on my page...would like it smaller with scroll bars.


Answers:
author: Diego
body: Hey there, Scott!

Being pretty straightforward, the Include Page macro has no native width or height controls.

This is due to the nature of our macro. It aims at the complete inclusion of pages within other pages.

We do, however, have a workaround for that. Here is how:

1. *Create a new page*
2. *Insert a* ***Section Macro***
3. *Insert a* ***Div Macro*** *within the Section macro*
4. *Insert the* ***Include Page Macro*** *within the Div Macro*
5. *Edit the Div Macro*
6. *Search for the* ***Style*** *text box*
   1. *this box is used to include CSS styling to the macro*
7. *Type* ***width: 100%; height: \*\*px***
   1. *replace* ***\*\**** *with the* ***desired size, such as 100px***
   2. *size in CSS can be measured in pixels, which is what pc means*
   3. *having the width at 100% will have our page occupy all available space horizontally*
8. *Save the macro*
9. *Publish page*

Here we have some screenshots of how it looks like in edit mode and in view mode:

**View**

![Screen Shot 2019-08-30 at 16.01.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/64852iA6F529801E124089/image-dimensions/515x293?v=v2 "Screen Shot 2019-08-30 at 16.01.00.png")

**Edit**

![Screen Shot 2019-08-30 at 16.01.19.png](https://community.atlassian.com/t5/image/serverpage/image-id/64851i7336466DD4A0EEE3/image-dimensions/536x288?v=v2 "Screen Shot 2019-08-30 at 16.01.19.png")

Scott now comes the explanation of why and how this works.

Using the Div Macro by itself does not work because the size limitation is not applied solely to the macro within it. All the page after the div macro is affected by the height parameter.

Adding the section macro limits the range of action of our div macro. With this enforced range, we can safely apply the height parameter to our div macro and the rest of our page will work as expected.

This will add scroll bars vertically so users can scroll the whole page content.

Let us hear from you Scott. Looking forward to your reply!


Tags: cloud

confluence-cloud
Docker atlassian/confluence-server container shows version 6.15.2 but tag is 6.15.8
Asked by Justin Monti:

Based on the recent critical security vulnerability notification, I was trying to upgrade our Confluence server to 6.15.8. This runs in a Docker container and we use the Atlassian official builds from Docker Hub. Below is the Image line from our Docker Compose file.

```
 image: atlassian/confluence-server:ubuntu-18.04-adoptopenjdk8
```

However, when it starts up we see the below message in the log and the UI also reports the version as 6.15.2.

```
2019-08-29 02:58:05,784 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.15.2 [build 8100 based on commit hash 4410012ac87e845516b70bc69b6f7a893eabaa5a] - synchrony version 2.1.0-master-9d112c9d
```

I also tried this with the :6.15.8 tag and 6.15-ubuntu-18.04-adoptopenjdk8 tag with the same results...

Any idea why it would be reporting this older version?


Answers:
author: Dave Chevell
body: Hi Justin,

I'm not able to reproduce this:

```
$ docker run atlassian/confluence-server:6.15.8-adoptopenjdk8 2>&1 | grep "Starting Confluence"
2019-09-04 22:16:16,219 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.15.8 [build 8100 based on commit hash 6ef1ce95c788ac159314a8fa6387047b8d1cc9fb] - synchrony version 2.1.0-release-confluence_6.15-32f7299a
```

Note that 6.15.9 has been released, so when using the generic tag you mentioned, 5.16.9 is now shown:

```
docker run atlassian/confluence-server:ubuntu-18.04-adoptopenjdk8 2>&1 | grep "Starting Confluence"
2019-09-04 22:19:57,687 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.15.9 [build 8100 based on commit hash 5084f018d64a97dc638ca9a178856f851ea353ff] - synchrony version 2.1.0-release-confluence_6.15-32f7299a
```

Would you be able to test this again and report back?

Cheers,

Dave

comments: author: Justin Monti
body: Dave,

OK, turns out I had the entire /opt/atlassian/confluence/confluence/WEB-INF being mounted from my host into the Docker container - thus even though I was pulling the new container, the jars under here were taking over keeping me at 6.15.2 which was the original version it was built with.

Once I changed the volume mount to address the specific Duo plugin JAR files and web.xml file, it started up and correctly showed version 6.15.9

Thanks for the help and thanks for the Docker images - a huge help to have these official images!

Justin


Tags: confluence-server

cve-2019-3394

docker

server
Can't enable collaborative editing after updating to Confluence 6.15.8 from 6.15.2
Asked by Daniel Niquette:

I have this message when looking at the log analyzer after running troobleshooting tool:

[Synchrony Fails to Start due to a NullPointerException](https://confluence.atlassian.com/display/CONFKB/Synchrony+Fails+to+Start+due+to+a+NullPointerException?utm_source=STP&utm_medium=logScan)

but when I follow the link and check the specified file to check if username and password for the database is present, they are indeed in the file. So I'm stumped, anyone else got the same issue and has a solution to this?


Answers:
author: Diego
body: Hello there Daniel!

If you are running Confluence 6.15.8 on Microsoft Windows, there is a chance that you are facing this issue right here:
> * [***++CONFSERVER-58784 \| Collaborative Editing cannot be enabled on Confluence 6.15.8 installed on Microsoft Windows++***](https://jira.atlassian.com/browse/CONFSERVER-58784)

The workaround involves *++downgrading the bundled AdoptOpenJDK.++*

However, this is a guess. For a more detailed path, we need a little more information. Here is a concise list of questions:
> 1. *Which operating system is currently running Confluence?*
> 2. *Are you using the bundled JDK or did you use an external one?*
> 3. *Are you able to roll back the upgrade?*
> 4. *Is there a particular reason for this upgrade, Daniel?*

Looking forward to your reply, Daniel!

comments: author: Daniel Niquette
body: Hi,

1. It runs on WIndows 2012 R2

2. I ran the .EXE so I guess bundled?

3. Didn't try it, but I'd rather not (see answer 4)

4. Received a security advisory from Atlassian for a critical security vulnerability


author: Daniel Niquette
body: Nevermind, I installed 6.15.9 and everything seem to work fine. Thank you!


Tags: synchrony
Alternatives to Confluence Source Editor for Data Center versions of Confluence?
Asked by Raqib Hasan:

The organization I work for is switching to DC version of Confluence soon. Currently we use Confluence Source Editor pretty extensively, but I don't see any roadmap for Confluence Source Editor as a DC version any time...

Is there another plugin/alternative for Confluence Source Editor that anyone has used that serves the same purpose?

Thanks in advance.


Answers:
author: jira guy
body: Looks like there is one that is supported.

[https://marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?hosting=datacenter&tab=overview)

comments: author: Raqib Hasan
body: I found this too, I was wondering how many people have used it and what their thoughts are... probably much newer hence the small amount of dls, but looks like they have robust tech support so might be a good idea. Thanks! :)


author: Jonathan
body: this is not acceptable - atlassian is forcing everyone to go from server to DC/cloud and then basic plugins like source editor are not availavble, and probably just because of lazyness or monetary reasons, becaue my guess is that from a purely technical view it would work just fine with DC as well

comments: author: ofer rozenberg
body: that's right !


Tags: confluence-server

server
Firewall permissions for Confluence
Asked by Nicholas Coad:

I work in security and someone has put in a change request for a new Confluence server that IT is deploying.

They want to allow the Confluence server to access the entire internet on ports 80 and 443. (this is not putting the Confluence server ON the internet, but rather letting Confluence out to access the internet itself.)

Any idea why this is necessary? Does Confluence need to call home? If so, what is the subnet(s) it needs access to?


Answers:
author: Daniel Eads
body: Hey Nicholas, welcome and thanks for checking in!

There are a few things in Confluence that will want to reach out to the internet:

1. We collect some usage analytics about how you've deployed Confluence - [details on that here](https://confluence.atlassian.com/doc/data-collection-policy-659783908.html). You have the option of turning this off within Confluence's interface. Disabling the usage analytics or not opening ports for the data won't cause any adverse effects for you.
2. The **Marketplace** (plugins/apps/add-ons) needs internet for various things; for browsing and installing plugins from within Confluence, checking for plugin updates, and sending usage metrics to the vendors of the plugins you're using. [We've got lots of details on that usage here, as well as the addresses we use](https://confluence.atlassian.com/upm/configuring-marketplace-connectivity-306350947.html). It's possible to install plugins manually (download to your local computer first, then upload to Confluence Server) but you'll also have to manage updates to those plugins manually.
3. Our Support Tools plugin will query confluence.atlassian.com from time to time to let you know if there are things like critical security advisories for your particular Confluence version. It also needs outbound connectivity if you want to create a support ticket from within Confluence's interface.
4. It's possible (depending on what plugins you've installed) that some add-ons/plugins might want to fetch resources from the internet or save data there. This is highly dependent on the vendor - for example [Lucidchart Diagrams](https://marketplace.atlassian.com/apps/350288/lucidchart-diagrams-connector?hosting=server&tab=overview) requires an outbound internet connection; they have a [separate version of their plugin](https://marketplace.atlassian.com/apps/1213835/lucidchart-diagrams-onprem-confluence?hosting=server&tab=overview) specifically for firewalled Confluence instances.

So overall it's definitely possible to run Confluence without outbound internet access, but it will make the life of any application administrators a little easier if the box can reach out to Atlassian services.

Cheers,  
Daniel
How to update confluence page using REST Endpoint of Script Runner Confluence?
Asked by Sushma:

Hi everyone

I want to update the confluence page using confluence REST Endpoint.

Confluence REST point is receiving the parameter values from the JIRA REST point. After getting the values from JIRA ,it should update the existing confluence page with the latest values.

Anyone has groovy code for this ?

Kind Regards

Sushma


Answers:
author: Najjar _Innovura_
body: Hi Sushma

We launched a new app that allows you to create pages from templates and store the page under a location based on project or customfield value through Jira Workflow post-function and store the Confluence page in a Jira customfield to apply more actions like:

Workflow postfuntions

* Update page permissions
* Update page content
* Update page title

Workflow conditions

* Check if page was modified after a certain status transition
* Check if page still has a placeholder

And so much more.

Please give it a try, I believe it would streamline alot of repeated effort on your team

[Jira Confluence Workflow Extensions (JCWE)](https://marketplace.atlassian.com/apps/1221971/jira-confluence-workflow-extensions-jcwe)

Give it a try I am confident you'll love it.


author: jira guy
body: Why can't you just use jira/confluence rest API? Why are you trying to re-invent the wheel?

comments: author: Anton Kulikov
body: for example jira cannot update page permission on a page in confluence.

so i need to rest endpoint in conf and request it from jira.


Tags: jira-server

scriptrunner
Edit Office files (.docx / .xlsx) in Confluence, with Ubuntu
Asked by Tobias Juhre:

Hey there,

is there a way to edit Office documents directly in the browser with confluence?

Like in Office 365 or Google Sheets or Nextcloud Collabora or ... you get the idea.

best regards!


Answers:
author: James Dellow
body: There are some [Office 365 related apps](https://marketplace.atlassian.com/search?query=office%20365) in the marketplace to help you achieve this.

comments: author: Tobias Juhre
body: We use a standalone Confluence Server, which has no internet connection. So Any Office App that require it, will not work.

But thanks for the hint with the marketplace, i will have a look there!


author: James Dellow
body: Ah! Like [Onlyoffice](https://marketplace.atlassian.com/apps/1218214/onlyoffice-connector-for-confluence?hosting=server&tab=overview) or [GoEdit](https://marketplace.atlassian.com/apps/1211160/goedit-simply-edit-attachments?hosting=cloud&tab=overview) maybe?

(I'm not sure what dependencies they have)


author: Tobias Juhre
body: Yeah exactly something like this, looks good to me, thanks!


Tags: confluence-server

edit

ms-excel

ms-office

ms-word

server
Pages with the same name in one space cause error
Asked by a-kopchinskiy_apollo4u:

**Example:**

1. API
   1. v1
      1. Overview // error
      2. ...
   2. v2
      1. Overview // error
      2. ...

Why errors? Why I can not have nested pages with the same name in one space? That's stupid.


Answers:
author: James Dellow
body: No, its not a bug... I recently discussed that same issue here <https://community.atlassian.com/t5/Confluence-questions/How-to-create-this-folder-structure-in-a-page-space/qaq-p/1154327>

comments: author: a-kopchinskiy_apollo4u
body: Someone said that it's a bug? Missing basic feature. Pages are linked by not their unique IDs, but by their names.  
If I had been a first-year student at the institute, I would have probably done so if I had been tasked with such a task. But you are already more experienced, right?


author: Nic Brough -Adaptavist-
body: No, it's by design, so it's not a bug.


Tags: cloud

confluence-cloud
How do i add a word document to a template ?
Asked by Vida Leatherday:

I cant seem to add a word document to a 'template' within confluence.

we currently have the document on SharePoint, the users complete this then upload to confluence. id like the user to be able to just go to a template within confluence and complete the word document there rather than in two places.

can you help please


Answers:
author: James Dellow
body: You'll need to attach it to a page in a space, then link to it from the template.

comments: author: Vida Leatherday
body: I've already tried this but when you create a new space from the template the attachment is a link to the old space, when you edit your updating that version - you don't create a new.

I want a template that can hold a word document, so when users create a new space they have the document attachment to be able to download and update to their own space.

looks like this just cant be done, other than storing it on a sharePoint then uploading to the space, i was hoping to reduce the effort for the users.

is the above the only solution ?


author: James Dellow
body: If you are trying to do this using the Atlassian Companion app, then unfortunately this won't work. It would be better to create a master page (not a template) and then get users to copy it.
Access to docspace
Asked by Elisa-Sophie Schwing:

Hello, I need access to docspace and I am not sure where/how, since it didn't work out to register so far. Could you maybe help me out?

Thanks in advance!


Answers:
author: carolyn french
body: Hi Elisa, and welcome to Community!

Where are you attempting to register? Can you give us more information so we can help you?

Carolyn


Tags: confluence-cloud
How to show space drop down in move page dialog
Asked by Karteek:

I have a requirement to show all the spaces in a drop down on Move page dialog box. The Users should be able to see all the available spaces on the drop down.


Answers:
author: carolyn french
body: Hi Karteek,

See screenshot for how to find all available spaces for your move.

![2019-08-29_1709.png](https://community.atlassian.com/t5/image/serverpage/image-id/64697i107A4EBED9E126B3/image-dimensions/510x364?v=v2 "2019-08-29_1709.png")

comments: author: Karteek
body: Thank you for your quick response.

Is there any possibility to show only specific spaces in the drop down.


author: carolyn french
body: You're welcome!

What criteria do you want to use for specific spaces?


author: Karteek
body: We have dedicated space for published pages. will move all published pages to published space. In order to facilitate user, would like to populate published space on the dropdown by default.


author: carolyn french
body: That would be very helpful for the user, agreed. I'm not sure how to do that though.


Tags: confluence-cloud
Can a confluence user without Jira access see a page with "Agile Board Gadget"?
Asked by Diogo Ribeiro:

Hi all,

We're using both Jira and Confluence Cloud and we have a confluence page with a "Agile Board Gadget". A confluence user with no Jira access reported that when he access the page is unable to see the board with the error below.

Any workaround?![1.png](/t5/image/serverpage/image-id/64687i8F85112C73100DF9/image-size/large?v=v2&px=999 "1.png")


Answers:
author: Shannon S
body: Hello Diogo,

Thank you for contacting us. In order to view the gadget, your user will need access to the project in order to view the data behind the gadget. If your Jira instance is not public, then this means they will need to have a Jira license in order to view the gadget.

I hope that clarifies things, but let me know if you have any questions.

Regards,

Shannon

comments: author: Diogo Ribeiro
body: Thanks a lot [@Shannon S](/t5/user/viewprofilepage/user-id/510046)


Tags: confluence-cloud

jira-software
Confiform calendar - month view - only whole day
Asked by Hanne Saels:

Hi!

Is it possible to use the calendar view only in month view displaying a whole day? I need to make a calendar displaying my 70 colleagues holiday plans and I want to show them all (not with clicking on 'show me extras'.

Greetings

Hanne


Answers:
author: Alex Medved _ConfiForms_
body: It is possible, but with a bit of scripting. You need to make a calendar cell to be as large as you need

See the following snippet

```
<script>
function setCfCalendarHeight() {
if ( AJS.$('div.cf_f_list').children().length > 0) {
AJS.$('div.cf_f_list').find("div[id^='calendar']").confiFormsCalendar('option', 'height', 950);
} else {
setTimeout(function(){ setCfCalendarHeight()}, 200);
}
}
AJS.toInit(function () {
setCfCalendarHeight();

AJS.$(AJS.$('div.cf_f_list').find('> table > tbody > tr > td')[0]).css('width', '75%');
AJS.$(AJS.$('div.cf_f_list').find('> table > tbody > tr > td')[1]).css('max-width', '25%');
AJS.$(AJS.$('div.cf_f_list').find('> table > tbody > tr > td')[1]).css('word-wrap', 'break-word');
AJS.$(AJS.$('div.cf_f_list').find('> table > tbody > tr > td')[1]).find('> div').css('max-height', '750px');
});


</script>
```

We add this via HTML macro for example, and that reinitiates the calendar with a custom height.

In this particular example - 950 pixels


author: Kat Warner
body: Can you help with this question [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)?


Tags: confiforms

confluence-server

server