youngmon/atlassian-qna huggingface dataset:
How do I see the images attached to the Jira issue using the JIRA issues macro?
Asked by Bill Howard:

*This question is in reference to Atlassian Documentation: [JIRA Issues Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=139380)*

I am using the JIRA Issues Macro to pull in requirement from my JIRA page to a wiki. I have selected the field "Images" and verified in JIRA that the "Images" field contains an image. However, when it displays in Confluence, it is empty. We are using Confluence 5.7.4


Answers:
author: Maxence Warzecha
body: We also get the same behaviour with \`5.9.5\`. Do we miss something?


Tags: jira
The validator is unable to load the driver from the specified jar file
Asked by Michael Grondines:

Getting error :

```
Unable to load 'org.postgresql.Driver' from 'C:\Program Files\Atlassian\Confluence\confluence\WEB-INF\lib\postgresql-9.2-1002.jdbc4.jar', exiting.
```

Same thing with MySQL, do I need something special to be able to load the driver from the jar ?


Answers:
author: James
body: I am having exactly the same problem in Confluence version 7.12.2. My command line is:

```
java -jar cdc-plugin-validator-1.0.0.jar -installation "C:/Program Files/Atlassian/Confluence7122" -dbuser user -dbpassword pass -dburl jdbc:postgresql://localhost:5433/cluster3 -dbdriver org.postgresql.Driver -dbfile "C:/Program Files/Atlassian/Confluence7122/confluence/WEB-INF/lib/postgresql-42.2.18.jar
```

Did you find a solution?


author: Dirk Brutscher
body: Same issue here, it's frustrating, because I'm unable to to debug this stupid error :-/

```
java -jar cdc-plugin-validator-1.0.0.jar -installation C:\Confluence -dbuser XXXXX -dbpassword XXXXX -dburl jdbc:postgresql://localhost:5432/confluence2 -dbdriver org.postgresql.Driver -dbfile C:\Confluence\confluence\WEB-INF\lib\postgresql-42.2.16.jar
Unable to load 'org.postgresql.Driver' from 'C:\Confluence\confluence\WEB-INF\lib\postgresql-42.2.16.jar', exiting
```


author: KC Integrations
body: I have exactly the same problem, however I am using postgresql database and using the example command line with my server details.

I have the correct postgresql jar file, but the tool doesn't find the org.postgresql.Driver class, which is clearly in the jar file. Looks like a bug with this tool.

Has anyone got this tool to work?

How do developers verify Data Center compatibility?


author: Michael Grondines
body: I'm trying to validate a plugin using the [Data Center Plugin Validator](https://developer.atlassian.com/confdev/development-resources/confluence-developer-faq/how-do-i-ensure-my-add-on-works-properly-in-a-cluster/confluence-data-center-plugin-validator). I have a confluence installed using MySQL and using the "example invocation" as a reference.

When running the command, the validator is unable to load the jdbc driver (from dbdriver parameter) from the jar file (dbfile parameter).


author: Boris Georgiev [Appfire]
body: Please provide some more details on what **exactly** are you trying to do.
Possible to migrate JIRA or Confluence within Atlassian?
Asked by Calvin Lawrence:

Our firm is working with a software development company that maintains project documentation in their own JIRA and Confluence sites on Atlassian. The project is nearing an end and the company wants to take down the sites but we want to keep the documentation accessible. Is it possible to migrate the sites out of the companies JIRA and Confluence sites to our own within Atlassian? Currently, we do not have a separate Atlassian account.


Answers:
author: Nic Brough -Adaptavist-
body: Yes - all you need to do is take a backup of their stuff, then you can restore that on your own (Either buy new Cloud systems to host it, or run your own servers)

You could even be more cheeky - if they don't need the sites, maybe you could take ownership of them?

comments: author: Calvin Lawrence
body: Not sure I understand. I was asking if we can clone or migrate the sites within Atlassian. If doing that still entails taking a backup and then restoring to a new site in Atlassian can you direct me to documentation that describes how one can do that?


author: Nic Brough -Adaptavist-
body: Sorry, I drifted off-point and was not too clear.

You can not just clone or migrate within Cloud, you have to extract and re-load it all in a target system.

Start at <https://confluence.atlassian.com/display/CLOUDKB/Changing+the+Cloud+Instance+URL+Address+or+Migrating+to+a+New+Cloud+Instance>
Confluence for documentation - Licensing
Asked by Kristjan Flosason:

We want to provide documentation to our customers using Confluence. There will be 3-4 of us working on the documentation and then we want to have open access to this documentation for anyone. We will be hosting the Confluence instance (already have one instance for internal use). Can we use the 10 user license ($10 one time fee) for this purpose?


Answers:
author: Nic Brough -Adaptavist-
body: A lot of us do exactly that.

Use the $10 licence for your 3-4 users doing docs, and then make any space you want read-only for "anonymous". Then anyone who can get to your Confluence can read your docs without eating up a licence.


author: James Deleon
body: If the customers will not have accounts in Confluence (meaning they won't be able to comment or edit posts, or various other things) then yes you will be able to use that license.  

You will need to set up Anonymous access for non-users to see documentation, which you can read about here: <https://confluence.atlassian.com/doc/setting-up-public-access-156.html>


Tags: licence
What is the Confluence Cloud API URL?
Asked by Mj:

I get that there is an API for Confluence Cloud and have no issues trying to use a REST API. What I do struggle with is the end point. What is the API base URL?

To get to Confluence normally, I go to https://\<mycompany\>.atlassian.net/wiki.


Answers:
author: Mike Burns
body: The api is here

https://\<mycompany\>.atlassian.net/wiki/rest/api/


author: Robert Massaioli _Atlassian_
body: > https://\<mycompany\>.atlassian.net/wiki

That is your API base url. :smile:


Tags: cloud

confluence-cloud
Hi , I don't find a create option beside spaces on the header ?
Asked by swetha talluri:


Answers:
author: Nic Brough -Adaptavist-
body: You need to create a Space to work in first, as all pages belong to spaces.

Once you have a Space, then you need to check that you have "create/edit" in the permissions for that space. Then you'll be able to create pages/blogs/etc in it.
Sort by is not working in Page Properties Report
Asked by Dmitry Ree:

*This question is in reference to Atlassian Documentation: [Page Properties Report Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=186089616)*

image2016-2-19 13:20:14.png  
[](https://community.atlassian.com/t5/Confluence-questions/Sort-by-is-not-working-in-Page-Properties-Report/qaq-p/447534?attachment-id=4146){#link_11874db1e8ceac}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/75744/1/image2016-2-19%2013%3A20%3A14.png){#display_11874db1e8ceac_0}


Answers:
author: Benn Ingersoll
body: Looks like an issue specific to the Status macro has been created: <https://jira.atlassian.com/browse/CONF-39322>. Might be worth a vote and a watch.

This has broken our preferred way to sort the Decision Log pages by Status...


author: Nick Reilingh
body: Sorting does not work by macros or "emoticons" like :warning: or ![tick](/html/@FB21E167CF5FC78FA9216CD8178453B3/images/emoticons/tick.png "tick"). I raised the issue on Jira: <https://jira.atlassian.com/browse/CONF-38338>

**Edit:** Oh whoops, I misremembered (I submitted that issue a while ago). I am on Confluence 5.9.3 and I am able to sort page properties report by a column inhabited by status macros -- but only the text is sorted on (not status macro style).

This might be a bug. Can you confirm what version you are on?

comments: author: Dmitry Ree
body: 5.9.4


Tags: page-property
can the Title column be moved in the Page Properties Report macro?
Asked by Dmitry Ree:

I am trying to move the 1st column using the column order but it did not work

image2016-2-19 13:1:40.png  
[](https://community.atlassian.com/t5/Confluence-questions/can-the-Title-column-be-moved-in-the-Page-Properties-Report/qaq-p/243788?attachment-id=6061){#link_11874dc86beab3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/41252/1/image2016-2-19%2013%3A1%3A40.png){#display_11874dc86beab3_0}


Answers:
author: Support NEOFI
body: Late answer but could be usefl to others :

Here is a workaround :   
Before each header of your page property, add a new macro page property but this time tick the box "hidden" and enter the order number of your columns in it. Will do the work.

comments: author: Milo Grika
body: The "Title" column will still come first.


author: James Richards
body: Hi,

I've had a look at the Page Properties Report and the title, although being able to be renamed must come first and is always displayed (as it's the link to the page.)

Thanks,  
James.


Tags: page-property
Limit acccess to directory for specific users
Asked by Christian Walonka:

Hey guys,

we'd like to allow some student's to document their project within our confluence. As they're not members of the company we don't want them to be able to browse the user list nor the user Profiles (ore something close to that).

Is there any possibility for that?

Cheers

Chris


Answers:
author: Boris Georgiev [Appfire]
body: There is no way to restrict that in confluence (JIRA for example has a permission controlling if a user can "browse" users, but confluence don't)

There is a bug logged about that here <https://jira.atlassian.com/browse/CONF-1882> where you can find some workarounds for solving the problem.


Tags: confluence-administration
what is the release date for confluence 6.0 for cloud
Asked by Lucy Minato:


Answers:
author: Bob Swift (personal)
body: Confluence Cloud is already at **6.0.0-OD-2016.07.2-0002**. Perhaps your question is about when it will contain some of the new editor capabilities??? That is likely a couple of weeks away at least.


author: Nic Brough -Adaptavist-
body: "When it's ready". Atlassian don't give fixed dates, they release when they're happy with the product.  

(Ok, ok, the recent Sourcetree release was definitely not ready, but other than that)


Tags: cloud

confluence-cloud
How can i change the alignment of a table?
Asked by Karthik Iyer:

I have tried all of the suggestions here and none seems to work. I am not even able to see the alignment change in the preview page


Answers:
author: Nicole Miller
body: It seems this has been an issue with this system for over 6 years based on all my research. I would love if they could provide a solution. Seems absurd that one item cannot be aligned. It cause issues with page layouts and aesthetics, so a solution would be great!


author: Jose Augusto de Jesus Germano
body: The reported case is this, right? If so, I am also in doubt, because I have not found anywhere where I could adjust it. Has anyone had a solution? I tried to separate the section into 3, but they break the rows of the table

![Alignment_Table.png](https://community.atlassian.com/t5/image/serverpage/image-id/17616iC261952151EB4B87/image-size/large?v=v2&px=999 "Alignment_Table.png")


author: Milo Test
body: What do you mean "alignment"? Do you expect that you can change the top row to be the left column? That doesn't work.

comments: author: Karthik Iyer
body: I mean can i center align the table? Sorry, i should have been more specific.


author: Milo Test
body: Try putting it within the Alignment macro.


Tags: cloud

confluence-cloud
Why doesn't the table sort?
Asked by Shirlee Smith:

*This question is in reference to Atlassian Documentation: [Tables](https://confluence.atlassian.com/pages/viewpage.action?pageId=136463)*

The online help says that you should be able to sort tables in view mode using the table headers. This isn't working on most of the tables in our space. Any ideas what's wrong?


Answers:
author: Milo Test
body: Just for funsies, click-drag select the data in a non-sorting table (or at least a few rows), then create a 1x1 cell table and paste.

I have found that sometimes imported tables don't function right, and this quick table recreation does the trick.

comments: author: Shirlee Smith
body: Yep, it worked. Thanks for the tip.


author: James Whitby
body: This didn't work for me. I've got some tables that used to sort, but no longer do so. Not sure if this is due to some change in Confluence, or some accidental side-effect of editing.

Removing the formatting and then recreating the first row as a table header did not help.


author: James Whitby
body: This behaviour turns out to be a browser issue. On a Mac (macOS 10.13.2) in Safari (with JavaScript enabled) I don't see the sortable table header, but in Opera I do.


author: Rahav
body: This occurred to me as well when I had some rows that had multiple numbers on the same row, in the column I was trying to sort by. Example:

Topic \| Value \|  
--------------------------------------------+------+  
this will sort well \| 3 \|  
--------------------------------------------+------+  
as well as this row \| 2 \|  
--------------------------------------------+------+  
but this will not \| 4 \|  
even if you want to keep these two together \| 2 \|  
--------------------------------------------+------+

It was of course fixed by separating the conflicting row to two rows.

comments: author: Shirlee Smith
body: It's been some time now, but as I recall, the problem went away when the row content was simple, as Rahav suggests. Thanks.


author: Shirlee Smith
body: No, on the tables that don't sort, the two little triangles do not appear.

I usually work in the WYSIWYG editor, so the request for some code gave me an idea that perhaps the header row wasn't properly set on the table that doesn't sort. It wasn't, so I inserted a new row, made it the header, and deleted the old quasi-header row. It still doesn't sort, but the code looks the same to me as the code for the table that does have the little triangles and sorts. Here's the code for the beginning of the table that doesn't sort, including the header row:

\<table\>  
\<tbody\>  
\<tr\>  
\<th colspan="1"\>Writer\</th\>  
\<th colspan="1"\>Scrum Teams\</th\>  
\<th colspan="1"\>Subject Areas Covered\</th\>  
\<th colspan="1"\>PDFs\</th\>  
\</tr\>

This table does have some empty cells in the first column. Could that be the problem?


author: Steffen Heller
body: There are a lot of ideas. But without any further information it is pure guessing.

Can you post some code or screenshots?


author: Milo Test
body: First things first, when you hover over a column head, do two little triangles appear?


Tags: table
Unable create application link from Confluence due wrong protocol
Asked by Jan Proke?:

Hi there,

we have switched Confluence from http to https. I have removed old application links, but I'm not able to create new ones. And yes, server base url is https to :smile:

The request contains wrong protocol in link href attrubute

```
&lt;applicationLink&gt;&lt;link rel="self" href="http://example.com"/&gt;&lt;id&gt;5a328214-45e5-31ea-98f1-b8de1d5a730c&lt;/id&gt;&lt;typeId&gt;jira&lt;/typeId&gt;&lt;name&gt;xxx&lt;/name&gt;&lt;displayUrl&gt;https://jira.example.com&lt;/displayUrl&gt;&lt;iconUrl&gt;https://example.com/16jira.png&lt;/iconUrl&gt;&lt;iconUri&gt;https://example.com128jira.png&lt;/iconUri&gt;&lt;rpcUrl&gt;https://jira.example.com&lt;/rpcUrl&gt;&lt;isPrimary&gt;true&lt;/isPrimary&gt;&lt;isSystem&gt;false&lt;/isSystem&gt;&lt;/applicationLink&gt;
```

The browser throws error

```
XMLHttpRequest cannot load http://example.com/rest/applinks/3.0/applicationlink/5a328214-45e5-31ea-98f1-b8de1d5a730c?_=1455816144194. Response for preflight is invalid (redirect)
```

This error is thrown only if I enable cross protocol request, if not, it ends up with error that it's not possible to do request to http from https.

Confluence in browser runs on https, all resources are loaded via https, why only application link thinks it runs on http? How do I convince Confluence to understand that it should use https?

Thank you.


Answers:
author: Vickey Lepcha
body: When I moved apache http infront of JIRA and Confluence - my application link stopped functioning :smile:

I had to create an unproxied link between the two to restore the app link functionality .

comments: author: Jan Proke?
body: Yep, you are right. In our case it was nginx, which redirected to http, so it looked like it runs on https, but actualy it was http internaly in confluence.

I'm accepting your answer, thanks.


Tags: confluence-administration
how do I find all external links in a confluence space
Asked by Juliana MacAller:

Is there a quick way to get a list of all external links in a space? By external I mean a link from Confluence to another web page outside of Confluence.


Answers:
author: Justin W_
body: You can run this query against your Confluence database to find all of the external links:

```
SELECT s.spacename as Space, c.title as Page, l.destspacekey as SpaceOrProtocol, l.destpagetitle as Destination
FROM LINKS l
JOIN CONTENT c ON c.contentid = l.contentid
JOIN SPACES s ON s.spaceid = c.spaceid
WHERE c.prevver IS NULL and l.destspacekey in ('http','https')
ORDER BY l.destspacekey;
```

To filter for a particular space, add a where clause to filter based on the s.spacename column.

comments: author: Mark de Bont [Marel]
body: Note: this would also find the deleted spaces in the Trashcan


author: Alex Yasurek
body: If you go to Tools-\>Page Information on a particular page, you get a list of incoming and outgoing links. You should be able to see external links listed there also.


author: Mark de Bont [Marel]
body: Update for Confluence 6.10

SELECT s.SPACENAME as Space, c.TITLE as Page, l.DESTSPACEKEY as SpaceOrProtocol, l.DESTPAGETITLE as Destination  
FROM LINKS l  
JOIN CONTENT c ON c.CONTENTID = l.CONTENTID  
JOIN SPACES s ON s.SPACEID = c.SPACEID  
WHERE c.PREVVER IS NULL and l.DESTSPACEKEY in ('http','https')  
ORDER BY l.DESTSPACEKEY;


author: easifyandroid
body: For example if external site url to search is [https://demo.site.com](https://demo.site.com/)/..... . This worked in confluence for me :

***http\*demo\*site\*com\****

Regards,

Ankit


author: Lars M?hlmann
body: Hi,

I have used a simple CQL query like this one:

```
space = 'XYZ' and text ~ 'http:'?
```

For me this works well through REST API for scripting and I can spice it up some fancy search attributes ;-)


author: Stephan Herzberg
body: Hi Juliana,  
I'm having the same problem now.

Do you have found a way to get a report of all pages with the information to external links?

Cheers  
Stephan


author: Juliana MacAller
body: Thanks. That's a start. I was hoping for a programmatic solution so I didn't have to look at every page.

comments: author: Alex Yasurek
body: In that case you would need to create a script that goes through the content of each page looking for links. I do know that external links have a CSS class applied to them called ".external-link". You can just search the content of a page for anything that has that class and that should give you a list of external links.


Tags: cloud

confluence-cloud
User macros
Asked by Ivan Fabek:

Hi,

where can I add my user macro. I've read the documentation about it and it says that it is under General Configuration.

But it is not in my case.

Do I have to activate some add-on/plugin?

Here is a screenshot of my admin site.

Untitled.png

Kind regards,

Ivan  
[](https://community.atlassian.com/t5/Confluence-questions/User-macros/qaq-p/160501?attachment-id=11212){#link_11910a864f36b7}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/26843/1/Untitled.png){#display_11910a864f36b7_0}


Answers:
author: Nic Brough -Adaptavist-
body: You can't. User macros are a [restricted function](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html) on Cloud.


Tags: cloud

confluence-cloud
I use the include page macro.Are attachments included?
Asked by Pelagia Papoulidou:

I can uses successfully the "include page" macro, but it seems that attachments are not being transferred automatically. Is there a way to do this?Or am I missing something?

Thanks in advance!


Answers:
author: Thomas Schlegel
body: Hi,

what do you mean by "transfered"? The included page is not transfered anywhere, it is just displayed in another context. The page and all of its attachments stay where they were.

Thomas
How can I find a relevant confluence group for setting page restrictions?
Asked by Patrick Schindler:

*This question is in reference to Atlassian Documentation: [Page Restrictions](https://confluence.atlassian.com/pages/viewpage.action?pageId=139414)*

Hi,

In a previous version of confluence I could work like this:

1. use a wildcard to search for relevant confluence groups
2. list the members of a candidate group (one group at a time)
3. decide which group to use
4. set the restrictions using this group.

With version 5.9.4 this is no longer possible:

1. no wildcards are allowed any more
2. There is auto-completion, but completion works only at the end of words, not at the beginning
3. I should know the names of possibly relevant groups. But I simply don't.
4. Example: I somehow know that there is a group with a company name in the middle.   
   Using wildcard I could do this:  
   \*COMPANY  
   and get some useful results.  
   Now this is no longer possible.
5. =\> No possibility to set restrictions using groups any more

Any help is appreciated.

Thanks,

Patrick


Answers:
author: Patrick Schindler
body: Thanks for your reply.

But this does not answer my question.

My question is: How do I find out which relevant user groups exist?

In the meantime I have been told, that this is no longer possible anymore for users which are not admin user!

So you should do the following when setting up a space:

1. Ask your admin to give you a list of the possibly relevant groups for your space
2. Make sure with your admin that you will be informed about additional relevant groups for this space which may be created later.
3. Create a page in your space with a list of these relevant groups
4. On this page use the "usergroup" macro to create a list of all users for a specific group
5. It is a good idea to wrap each macro in an expand-collapse macro.
6. Make this page visible to all people in the space which may want to restrict pages to a specific group.


author: Efren Gonzalez
body: [This](http://confluence.equestind.com/display/CONF54/Page+Restrictions) may help.


Tags: restriction
Confluence restore from xml backup. Licence not updated
Asked by Sivaz:

Hi,

I installed a fresh confluence on a Windows OS server and tried to restore full xml backup from a Linux OS server. I have changed OS and also my DB is changed from MySQL to MSSQL.

Although the restoration is successful, my restored confluence instance is still holding the evaluation license I created during setup.

Isn't the actual license from the xml backup supposed to be migrated to the new instance as well? I have tried this on 3.5.1 and 5.4.2 (two separate instances) and in both the license was not migrated.

Any help is appreciated. TIA


Answers:
author: Boris Georgiev [Appfire]
body: The license is stored in the confluence config file. So just update the config file

<https://confluence.atlassian.com/pages/viewpage.action?pageId=181534762>


Tags: confluence-administration