youngmon/atlassian-qna huggingface dataset:
How to Import H2 Embedded Database in Confluence Macro Pom.xml?
Asked by Dineshkumar:

I'm developing confluence macro plugin using java. I have created the h2 embedded database and I have added the dependency in pom.xml but i'm getting an Bundle Exception error

\<dependency\>  
\<groupId\>com.h2database\</groupId\>  
\<artifactId\>h2\</artifactId\>  
\<version\>1.3.174\</version\>  
\</dependency\>

ERROR \[QuickReload - Plugin Installer\] \[plugin.osgi.factory.OsgiPlugin\] enableInternal Detected an error (BundleException) enabling the plugin \[caused by: Unable to resolve 257.0: missing requirement \[257.0\] osgi.wiring.package; (osgi.wiring.package=com.ibm.uvm.tools)\]. This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see <https://developer.atlassian.com/x/mQAN>

Please anybody help me to include h2.jar and database file in the confluence macro plugin and build a mvn package


Answers:
author: Nic Brough -Adaptavist-
body: This is something I would want to question quite a lot. Three reasons

If you are embedding a database driver into an add-on, that makes it useless for other databases, and makes your macro useless for other Confluences.

Reading an Atlassian database directly is almost always the worst possible way to work with a system. Unless you're coding for a database that isn't the Confluence the macro will be running in, you are probably doing it the wrong way.

Finally, you're asking about an h2 database. Again, if this is an Atlassian system, I'd question the reason, as an h2 based Atlassian system is going to be a dev/test system, not a real user system.

Could you tell us what this macro is actually for? Not in tems of "I want to do something", but "the users of the macro will get this out of it".

comments: author: Dineshkumar
body: I'm developing a macro for fetching the Active Directory data of the current user and storing it in local embedded database and showing it as OrgChart in the confluence.  
I have already done fetching data from AD and rendering it as org chart in confluence. Now I need to bring local database for middleware to store AD data and render it in confluence(Periodic \& OnDemand Sync from AD)

![Flow1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/1646i370BF304C269867D/image-size/large?v=v2&px=999 "Flow1.jpg")

Please help me for achieve this. Thanks!


author: Nic Brough -Adaptavist-
body: It would probably be a lot better to do this with Active Objects rather than write your own data store. See <https://developer.atlassian.com/docs/atlassian-platform-common-components/active-objects>


Tags: developer
Unable to install evalutaion version of confluence
Asked by Pooja K:

![image.png](/t5/image/serverpage/image-id/1641i28A26237BF89925F/image-size/large?v=v2&px=999 "image.png")Hi Team,

I have been trying to install Confluence evaluation versions (Windows 64bit- on premise ) so that i can test my plugin on it.

Till yesterday I was able to install it fine but today I am facing a problem.

So I am downloding the exe and installing it. making necessary changes to it so that it works on SSL.

The setup page post installation starts fine but when I reach to a stage where eval license is generated, it just stays blocked on the page with message "Logging you in and configuring your license. This can take a while. " . this goes on for hours. and it just doesnt work out. I have tried following versions of confluence : 5.6.1, 5.4 etc. and it just refuses to go ahead from license generation page. Any help would be greately appreciated.

Attached is the image of page where I am stuck.

Regards,


Answers:
author: Pooja K
body: Tried that too but same error..

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

comments: author: Nic Brough -Adaptavist-
body: Ok, you'll need to read your logs to see what it's doing while this "churning" is happening


author: Nic Brough -Adaptavist-
body: That suggests your server or client can't reach the Atlassian site.

You can do this manually - in the dialog you've shown, select "I have a key". Then, in a separate tab or window, go to my.atlassian.com, log in and select "create evaluation licence". You'll be given a key that you can paste into Confluence.
Which version of Confluence first removed the "Attachments" table from database schema?
Asked by Walter Ryans:

In Confluence 4 and below there existed an Attachments table within the database schema that stored attachmentid, title, file size.

In Confluence 6 there is not.

Which version between 4 and 6 did this change occur ?


Answers:
author: Nic Brough -Adaptavist-
body: 6.0 from memory.


Tags: confluence-development
How to mark a flag for no customer interaction for more than 3 weeks
Asked by Rajendra Seera:

We have a page in Confluence, which has the list of our customers. Every customer is linked to a JIRA item as a client. For customers who have not responded for more than 3 weeks, this has to be escalated to our management. Is there a way, I can have a flag added and trigger an email to management for further action??

Appreciate any response.


Answers:
author: Mirek
body: If Jira is linked with Confluence then in Jira a filter can be added to show not updated tickets from 3 weeks an then subscribe management to this filter (e.g. add a group subscription). This would resolve notifications. As for flagging.. in Confluence we can add Jira macro that show those tickets from that filter on that page.


Tags: jira
Is it possible to execute a confluence upgrade task without manually starting up the new version?
Asked by Walter Ryans:

The confluence upgrade procedures documented on Atlassian's website essentially have the administrator point the new standalone to the old data directory and execute "startup.sh" from within the new version of Confluence. When the new version of Confluence starts up, it looks up the build # from the data directory of the old Confluence and determines to kick off the "UpgradeTask" and does a bunch of stuff (like migrating Confluence Pages and Blogs,etc..).

My Question: Is it possible rip out the upgrade task into an executable standalone JAR file?

The file WEB-INF/lib/conflence-upgrade-task.jar within the confluence subdirectory appears to be a prime candidate.


Answers:
author: AnnWorley
body: I am not sure from your question what you would like to achieve by isolating the upgrade tasks. Please elaborate, I would like to help more.

Just to be precise, we recommend using **start-confluence.sh** , rather than the **startup.sh** script.

In most of the cases covered in [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html) the installer for your OS is the recommended upgrade method.

Upgrading requires running the upgrade tasks against the database, but also entails using the new versions of the application files, that's why the manual upgrade method is to start the new version against the old home directory.

comments: author: Walter Ryans
body: Hi Ann -

We are trying to upgrade to Confluence 6.2 from Confluence 4.3 and I want to avoid upgrading to Confluence 5 first.

Therefore I want to "trick" confluence into thinking I have already upgraded to Confluence 5 if I can extract Confluence 5's upgrade task. I have already pinpointed the JAR file in WEB-INF/lib that does the upgrade. I was wondering if somebody could let me know how to make it executable.


Tags: confluence-app

confluence-development
Proxy a Confluence server with its own reverse proxy
Asked by Doc Magic:

So we just recently upgraded our testing enviroment's Confluence to 6.2 from 5.5.2. I noticed that the new collaboberative editing feature is using websocket. I have configured the reverse proxy on the Confluence server successfully. However, due to requirements, I need to have another server running Apache (2.2.15) to proxy the request to the Confluence instance. While I didn't have any trouble configuring HTTPS proxy and Confluence is accessible, collaberative editing is not working at all and I am not clear on the Apache config to fix it. The workflow from the user's perspective is:

User -\> Web server (Apache) -\> Confluence (Apache)


Answers:
author: Justin W_
body: Hi Doc,

I would start by upgrading apache to at least 2.4 as noted in : [Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http)](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html)

* *Applications that use Synchrony, e.g. Confluence 6.0, must use Apache 2.4.10 and up*

Once you're on 2.4+, you can use the example apache config under this section:

* *If you're using Confluence 6.0 or later with Synchrony (which is required for collaborative editing), you'll need to use Apache 2.4.10 or later...*
* *... and these directives and location blocks (click to expand)*

Regards,  
Justin
We have an existing Confluence instance and want to change to authenticate through JIRA/LDAP
Asked by Kevin Cassidy:

We originally installed JIRA with 50 user licenses and later purchased Confluence with only 25 licenses. We set up Confluence to use JIRA's authentication but the mis match in license counts caused issues. We now have 100 user licenses for each tool and want to set up Confluence to use JIRA authentication since our users are normally in JIRA and pop over to Confuence. The multiple log ins between the tools is a pain. We have both systems set up to use LDAP for user authentication and the permissions are managed through each tool locally.


Answers:
author: Bruno Vincent
body: As far as I understand both your Jira and Confluence instances now use LDAP authentication but you don't want to re-enter your LDAP credentials when browsing from one application to another. So what you need is SSO. [Atlassian Crowd](https://www.atlassian.com/software/crowd) is the recommended tool to get SSO on your Atlassian stack. Please also allow me to suggest you to take a look at the [IWAAC plugin](https://marketplace.atlassian.com/plugins/com.cleito.iwaac/server/overview) thanks to which you won't even have to enter your LDAP username/password at all. (Disclaimer: I work for the vendor of this plugin)


Tags: authentication
Directly editing Confluence, on the server
Asked by chrishahn1138:

I am tasked with going over 100's of Health Check links on our Confluence server and to adjust the Timeout of 'HTTP status with expected content' Macros.

ie. I have to browse to 100 pages and edit 20 macros on each.

I am hoping that I can do this programmatically, directly on the server.

Is this possible?

Thank you.


Answers:
author: MichaelS
body: In similar cases I have used the Confluence Command Line in the past. (It's a commercial plugin though)

<https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/cloud/overview>

comments: author: chrishahn1138
body: Thank you Michael!

I was reminded of the config.xml's of Jenkins and wondered whether there might be files on disk, on the server, that I might find my macros in to edit directly.

But the suggestions are most appreciated.

We already installed a trial of Search and Replace....it did not seem to find the macro in question....will try again.

(it also left my team cold that it warns that it can wreck your world in an irreverible fashion! ;0)


author: MichaelS
body: If your Confluence is relativly small you can do an xml export with "backup \& restore" function. In the exported xml you can do the search and replace.

You can restore the Confluence system with the modified XML afterwards. However, for bigger instances this is not feasible.


author: Nic Brough -Adaptavist-
body: I'd do it with either one of the "search and replace" add-ons, or Script Runner for Confluence.

comments: author: chrishahn1138
body: Looking there! I appreciate the time.
How to download attachments of a space?
Asked by Rumceisz:

Hi Everyone,

recently we need to delete lots of spaces in our Confluence and before deletion we make export of these. As you know the attachments are not exported, these need to be downloaded separately. These spaces have 100+ attachments each.

How can we download all attachments of a space at once? Right now we need to do it one by one.

We have Confluence 5.10, so webdav doesn't work.

Thanks in advance for your help!


Answers:
author: Vero Rivas
body: Hi [@Rumceisz](/t5/user/viewprofilepage/user-id/783224)

Look at this post, maybe can help you

<https://community.atlassian.com/t5/Confluence-questions/How-can-a-Confluence-User-Download-all-Attachments-in-a-Space/qaq-p/1250380>

Cheers


Tags: attachment

space
Confluence approval process add to existing table in space
Asked by Shannon Wright:

I would like to set up some approval process using specific fields that would go through the process and, if approved, would be able to add the values of those fileds to a table in an existing space.

This would be like the workflow in a sharepoint site where I can have it set in a list.


Answers:
author: Aron Gombas _Midori_
body: You should try the Comala Workflows add-on.

comments: author: Shannon Wright
body: I was looking at that, but from what I see, it's more related to approval for pages within a confluence space.

I need something that would be based on a form or set of questions needing approval.


Tags: workflow
create a macro that produces an editable table/content
Asked by Shannon Wright:

I have connected JIRA and Confluence. I am using the issues/filter view which places the content in a table format.

I would like to have some columns available that I can edit inline.

Is that possible?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Shannon Wright](/t5/user/viewprofilepage/user-id/591713) ,

unfortunately, you can't! Jira Issues macro reports a status of ticket in JIRA and you can't provide an inline editing from Confluence side.

Fabio


Tags: macro
JIRA/Confluence Upgrade
Asked by Navadeep M:

Hello all,

We are planning for JIRA/Confluence Migration and upgrade.

Confluence and JIRA are using Postgres 8.4.20 database currently.

We are moving from Postgres to ORACLE now for both the applications.

JIRA Current version\[6.3.12\] , Confluence\[5.6\]

As per the information from atlassian, we need to go to Oracle 11G(11.1,11.2) and then to Oracle 12C.

Which Edition of Oracle we need to choose there ? "Is it Oracle Standard Edition" or "Oracle Enterprise Edition" ?

Thanks

Nav


Answers:
author: AnnWorley
body: We don't have any patch recommendations for Oracle. If the server is stable and other databases on the instance are performing as expected, Oracle should not present any issues. With Oracle especially, we like to leave as much as possible to the DBA in charge of the database because Oracle administration is so specialized.


author: Navadeep M
body: Thank you Ann. Also, are there any patches that need to be installed before setting up the DB Server. Our Oracle DBA was asking for the Patching information on the DB Server. Please suggest


author: AnnWorley
body: Enterprise and Standard are fine, the Express edition is not recommended as it has some limitations built in.


Tags: database

jira

migration

upgrade
Pin Comments in Confluence
Asked by Juan du Toit:

Can you please advise how we can keep our comment pins as we progress through versions of an attachment to a page.

Hi,

Can you please advise how we can keep our comment pins as we progress through versions of an attachment to a page.

1. We collaborate on a spec document (.doc) attached to a page.

2. Various people make numerous comments directly on the document using the comment pin.

3. The document owner then starts making changes to the document. As soon as the version increments, you lose all the comments everyone made.

a. This happens whether you use the "edit in office" option (only available in IE) or whether you download the attachment locally and then using the "upload a new version" option.


Answers:
author: alexander mcleod
body: In the Preview window the document title at the top left is a drop-down which provides access to older revisions of the previewed document. (too me a long time to find this!)  

What I can't figure out is how to save or print a copy of the Previewed document WITH it's pinned comments...


author: Steffi Frank
body: every time you save a .doc (attached to a confluence page) it will create a new version of the document. Means, the complete history will be kept...

![doc versions.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/1921i6B727BC82AB359FC/image-size/large?v=v2&px=999 "doc versions.PNG")


author: Steffi Frank
body: Is there a reason to attach a word document instead of entering all data directly in a confluence page? This would enable you to use inline comments. Even if they are solved, they will be stored on the page...

comments: author: Juan du Toit
body: I can make this recommendation. Is it normal behavior to loose comments in the .doc if changes have been made?


author: Juan du Toit
body: The .doc is needed as it comes from pre-existing word documents /content comes from exiting manuals and spec sheets, so no real opportunity to have the content in confluence directly.

Any feedback on this?


Tags: questions-for-confluence
When importing word document images fail to import, attach and display.
Asked by Chao Tian:

![Screen Shot 2017-05-25 at 4.11.41 PM.png](/t5/image/serverpage/image-id/1585iC5F5D79A8D6E98EB/image-size/large?v=v2&px=999 "Screen Shot 2017-05-25 at 4.11.41 PM.png")


Answers:
author: Vero Rivas
body: Excuse me, I trust that it was solved

Cheers
Confluence PAGE posts to Hipchat instead of from Space?
Asked by Mark Gancsos:

So I can set up Hipchat to send alerts to a HipChat room if actions occur in a Confluence Space, but can it send alerts to a Hipchat room when things happen in a specific Confluence PAGE, not Space?


Answers:
author: AnnWorley
body: The integration is set at the space level but you can configure it to send a notice to HipChat every time any page is updated in the space, so you would be getting notifications about specific pages.

It sounds like you are looking for something like this suggestion:

[Allow Hipchat notifications of Confluence changes at a level more granular than by Space](https://jira.atlassian.com/browse/HCPUB-666)

Please vote for it so it will get more attention from the development team.

comments: author: Mark Gancsos
body: Thanks Ann, just did this!


Tags: hipchat
Users not able to receive emails once the invitation is sent from Atlassian/Confluence
Asked by Balaji Viswanathan:

Recently we have registed few new users with Irdeto email addresses:

chetan.vasudevan@irdeto.com

santiago.ramirez@irdeto.com

But they never receive the emails sent from Atlassian. Why is this happening as this was not an issue before. Kindly treat this issue as priority.

Kindly respond back to l1servicedesk@irdeto.com


Answers:
author: AnnWorley
body: I opened a support ticket on your behalf as we will need Cloud support to help chase down the issue. You will receive a confirmation email from atlassian.com to l1servicedesk@irdeto.com with your ticket details within the next few minutes.
KCS - Handling linking of knowledge in Confluence to external ITSM systems
Asked by Richie Gilbert:

Has anyone any experience with using Confluence with Knowledge Centred Support framework? I am interested how you would go about linking of knowledge articles to support tickets when support is not being run from Jira Service Desk. We are using Remedy for our incident tickets.

Any help would be useful.

Thanks


Answers:
author: Mirek
body: Hi,

From what I know Confluence OOTB is not officially a KCS (ver.6) verified tool. Definitively when adding tools like Comala Workflows it adds additional layer that could make it more compatible with the framework.

As for linking probably it is possible just by using simple hard link or integrate is somehow using RestAPI however I guess Remedy have its own KCS module that could be used only with BMC products

<https://docs.bmc.com/docs/km2002/kcs-support-in-bmc-knowledge-management-910741555.html>

* *You can perform the KCS-defined functions **only**through BMC Remedy with Smart IT (Smart IT) and BMC Remedy Smart Reporting.*


Tags: knowledge-base
[confluence]I want to know what they have searched in conflence
Asked by hwiki:

Dear all,

I want to know what users are searching for in conflence.

It is for users to respond quickly to questions.

I want to solve this problem, Add-ons or whatever.

Thank you


Answers:
author: Jack Brickey
body: Hi [@hwiki](/t5/user/viewprofilepage/user-id/855130) , I realize that this is an old post. I'm working to respond to old unanswered questions. Confluence Premium provides analytics now which might meet your needs - [view-insights-on-your-site](https://support.atlassian.com/confluence-cloud/docs/view-insights-on-your-site/)


Tags: developer
Bob Swift CLI client returning null for my Confluence instance
Asked by Aditya Verma:

I have installed Bob Swift CLI client on my local system. when I do getServerInfo for my confluence URL, I am getting null, whereas its working fine for my Jira instance.

C:\\atlassian-cli-6.6.0\>confluence --server <https://supportlibrary.xxxx.com> --u  
ser aditya.verma --password "XXXXXXX" --action getServerInfo

Confluence version: null, build: null, url: null

C:\\atlassian-cli-6.6.0\>jira --server <https://jira.xxxx.com> --user aditya.verma  
--password "xxxxx" --action getServerInfo  
JIRA version: 6.4.9, build: 64024, time: 7/24/15 3:30 AM, time zone: , descripti  
on: xxxx Jira, url: <https://jira.xxxx.com>

Could you please tell me what I am missing here for confluence?

Remote API is already enabled in confluence.

Thanks,

Aditya


Answers:
author: Aditya Verma
body: **Hi Bob,**

**It does not look like connector add-on issue to me as:**

**Connector addon is not installed on any of my Jira instance, but when I run getServerInfo from my client its gives me details.**

**Whereas "Run CLI Actions in Confluence"and "Confluence CLI Connector" is installed on my confluence instance but it does not return any server info.**

**Also, If i am running any command for confluence(on which connector is installed), it does not give any specific Client error, whereas if I run command for Jira(connector is not installed), then it says connector is not involved.**

C:\\atlassian-cli-6.6.0\>confluence --server <https://supportlibrary-qa.xxxx.part>  
ners --user aditya.verma --password "xxxx" --action addGroup --group "t  
estgroup1"

Client error:

C:\\atlassian-cli-6.6.0\>jira --server <https://jira.xxxx.com> --user aditya.verma  
--password "xxxx" --action addgroup --group "testgroup1"

Client error: CLI connector is not installed or enabled on the server. See https  
://bobswift.atlassian.net/wiki/display/ACLI/Installation+and+Use.

**Please advice.**

comments: author: sblnc
body: hi, did you get any solution for this?

Thanks.


author: Bob Swift (personal)
body: Please verify that the Confluence CLI add-on is installed on the server you are contacting.

The Confluence CLI (connector) must be installed and licensed on your Confluence Cloud instance.

The JIRA CLI (connector) must be installed and licensed on your JIRA Cloud instance.


Tags: bob-swift

cli