youngmon/atlassian-qna huggingface dataset:
Confluence Rest Web Service not working after import aspose words version 19.4
Asked by trunght1:

I created new confluence plugin by "atlas-create-confluence-plugin"

after that I create new rest service:

```
@Path("contracts")
@Produces({ MediaType.APPLICATION_JSON })
public class RESTContract {

@GET
public Response getContract() {
    return Response.ok().build();
}
```

Defined rest in at **atlassian-plugin.xml**

```
<rest key="hello-app-rest" path="/helloapp" version="1">
    <description>Provides services</description>
</rest>
```

**The REST working normal** BUT my REST die after I import Aspose Words 19.4 (I tried another version)

```
 <dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-words</artifactId>
    <version>19.4</version>
    <classifier>jdk17</classifier>
</dependency>
```

I got 404 and error:

```
2019-04-08 15:50:50,017 ERROR [http-nio-8090-exec-1] [rest.module.scanner.AnnotatedClassScanner] indexJar Exception while processing file, /Users/user/Working/Workspaces/confluence-home/plugins-cache/1554713436000plugin_7614287884005816028_confluence-1.0.0.jar
-- url: /rest/helloapp/1/contracts| traceId: 43f778b88bf3b1f9 | userName: user1
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
```

```
2019-04-08 15:50:50,214 ERROR [http-nio-8090-exec-1] [atlassian.plugin.servlet.DefaultServletModuleManager] getInstance Unable to create new reference LazyLoadedFilterReference{descriptor=com.hello:confluence-rest-filter (Provides services for confluence), filterConfig=com.atlassian.plugin.servlet.filter.PluginFilterConfig@204fc409}
-- url: /rest/helloapp/1/contracts| traceId: 43f778b88bf3b1f9 | userName: user1
com.atlassian.util.concurrent.LazyReference$InitializationException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
at com.atlassian.plugin.servlet.DefaultServletModuleManager.getInstance(DefaultServletModuleManager.java:447)
at com.atlassian.plugin.servlet.DefaultServletModuleManager.getFilter(DefaultServletModuleManager.java:440)
at com.atlassian.plugin.servlet.DefaultServletModuleManager.getFilters(DefaultServletModuleManager.java:300)
```

I tried add to Import-Package

**\*;resolution:="optional",**

or

**\*;version="0";resolution:="optional",**

Please let me know what is the issue with my Rest bases web service and why i am getting below exception.

Thank


Answers:
author: trunght1
body: Anyone can help me? Please. I have to use Server instead but I don't want to use it

comments: author: Lukas Gotter _ Meetical
body: Hi, I'm facing a similar problem. Did you ever found a solution to this?


Tags: atl-dev

developer
How to generate report in Confluence?
Asked by Arjun Umesh:

Hi All,

I am trying to generate a report in Confluence to understand the number of spaces created within confluence, no of pages and who owns it.


Answers:
author: Diego
body: Hello there!

As I understand, you need to have some detailed reporting on Confluence. Currently, Confluence does not have this level of report. This can be achieved with some thir-party addons. Confluence does have some level of basic reporting that you can check here:

**[Viewing Site statistics](https://confluence.atlassian.com/doc/viewing-site-statistics-123043962.html)**

There is also some documentation on how to get more detailed reporting from Confluence. You can check it here:

**[How do I get more statistics from Confluence?](https://confluence.atlassian.com/confkb/how-do-i-get-more-statistics-from-confluence-154239308.html)**

Let us know if our docs help you out!


Tags: atlassian-support
Hello,I forgot my user name and password.Please help me.
Asked by valentin lambev:

Hello,I forgot my user name and password.Please help me.

It is possible that I had triyed to log on more than 3 times.

Not sure.


Answers:
author: Tansu Akdeniz
body: Hi [@valentin lambev](/t5/user/viewprofilepage/user-id/2997801) ,

If you have valid email address, you can reset the password using the forgot password link on the log in screen.

If not, please check the following KB;

* <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>

Regards


Tags: confluence-server

server
Problem in JIRA with ga.js
Asked by Daniil Mazurin:

![?????? 21 ???.PNG](/t5/image/serverpage/image-id/50762i4DC6FC4DD560F070/image-size/large?v=v2&px=999 "?????? 21 ???.PNG")![?????? JIRA 21 sec.PNG](/t5/image/serverpage/image-id/50763iD526726868712E19/image-size/large?v=v2&px=999 "?????? JIRA 21 sec.PNG")

Good day. We have JIRA which installed on internal server without access to the internet, when we go tempo - reports - timesheet tempo-script trying to complete request [https://ssl.google.analytics.com.ga.js](https://ssl.google.analitics.com.ga.js) and we're waiting for 21 seconds, how we can disable it or maybe you know other solution?


Answers:
author: Daniil Mazurin
body: \<div id="trial-info"\>  
\<script type="text/javascript"\>

var _gaq = _gaq \|\| \[\];  
_gaq.push(\['_setAccount', 'UA-9717709-5'\]);  
_gaq.push(\['_trackPageview'\]);

(function() {  
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;  
ga.src=('https:' == document.location.protocol ? '[https://ssl](https://ssl/)' : '[http://www](http://www/)') + '.[google-analytics.com/ga.js](http://google-analytics.com/ga.js)';  
var s = document.getElementsByTagName('script')\[0\]; s.parentNode.insertBefore(ga, s);  
})();

\</script\>

This Code we're found in JIRA when we went it Tempo - Reports - Timesheets.

In which file we can find em. How we can disable or comment it?


author: Deniz O?uz
body: Did you try to disable analytics from Tempo settings? Another option is blocking it on your intranet proxy server so that it doesn't wait until it timeout.

comments: author: Daniil Mazurin
body: Where I can disable this it? Could you give me a screenshot or describe?

and.. we can't disable our proxy, because it's contrary to our private policy.


Tags: confluence-server

server
how to delete net ( company.atlassian.net)
Asked by ???:

we are using Confluence now. and

I can't find how to delete company.atlassian.net

can you find how to do it precisly?


Answers:
author: Tansu Akdeniz
body: Hi [@???](/t5/user/viewprofilepage/user-id/2964571) ,

Do you mean deleting your Confluence cloud site?

If yes, please check the following;

* <https://confluence.atlassian.com/cloud/cancel-your-site-subscription-873871347.html>

Regards,
Finding Confluence Default Installation Directory
Asked by Kevin Wang:

I'm trying to find out the default installation directory for Confluence on CentOS 7 (Latest Version of both confluence and CentOS). Attempting to do the password recovery after recovering from a Cloud Backup that did not have a default user/password

<https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>


Answers:
author: Shannon S
body: Hi Kevin,

Welcome to Community! It's nice to meet you.

Can you try to run the following command in your terminal and check the path there?
> ps aux \| grep confluence

Let me know how it goes.

Regards,

Shannon


Tags: confluence-server

server
??????????????????????????
Asked by miki:

?????????????????B,C,D???????????????????????????????????????????????????????????????????????????????????????????

?????????????????????????????????????B-3, C-3, D-3???????????????????

1. A????????
   * B??????????????
   * C??????????????
   * D??????????????
2. B???
   * ????????????
   * B-1
   * B-2
3. C???
   * ????????????
   * C-1
   * C-2
4. D???
   * ????????????
   * D-1
   * D-2


Answers:
author: Ai Hirama
body: ??????????????????????????

?????????????????????????????????????????????????????

??????????????????????????????????????????????????

* [CONFCLOUD-35793: Possibility to add parent page title in 'Create from template' macro](https://jira.atlassian.com/browse/CONFCLOUD-35793)


Tags: cloud

confluence-cloud

language-ja
How do I go to Space tools > Configure sidebar in 6.14 of the Cloud version
Asked by Anand Rajaraman:

Hi,

The cloud confluence documentation for 6.14 <https://confluence.atlassian.com/conf614/configure-the-sidebar-965545251.html>

1. Choose ![](https://confluence.atlassian.com/conf612/files/958777211/958777214/1/1538451171511/sidebar-edit-icon.png) next to the space name.

But I don't see this icon where do I find it?. I have the Admin and Site Admin permissions. Kindly assist.

Thanks,

Anand


Answers:
author: Shannon S
body: Anand,

Thank you for reaching out! It's nice to hear from you again.

6.14 is a Confluence Server only version, thus the link you have provided is for Confluence Server and **not** Cloud.

Have a look here for more information about the sidebar in Cloud:

* [New Navigation and a New Look for Confluence](https://confluence.atlassian.com/confcloud/new-navigation-and-a-new-look-for-confluence-881536766.html?_ga=2.154938686.720583398.1554710897-1686092760.1551948823)

In Cloud you can find the **Space Settings** menu in order to modify the Space Settings. If you're having trouble finding exactly what you're looking for, could you let me know what it is you want to change? I can help you to find it.

Regards,

Shannon

comments: author: Anand Rajaraman
body: Thanks [@Shannon S](/t5/user/viewprofilepage/user-id/510046) , I want to create my own help icon as a link and want to add a JPEG help file. When the user clicks the help icon, the JPEG help file must open in a separate window.

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

Thanks,

Anand


author: Shannon S
body: Anand,

Thank you for clarifying. It's not possible to add any icons to the sidebar, but you can do one of the following:

1. In the sidebar for an individual space, you can add Space Shortcuts. See [Customize your space](https://confluence.atlassian.com/confcloud/customize-your-space-724764768.html#CustomizeyourSpace-Customizeyoursidebar) for details.
2. Add it as a link in the Application Navigator. See [Creating links in the Application Navigator](https://confluence.atlassian.com/adminjiracloud/creating-links-in-the-application-navigator-945104646.html) for more details.

Let me know if that helps you and if you have any questions about that.

Regards,

Shannon


author: Anand Rajaraman
body: Thank you [@Shannon S](/t5/user/viewprofilepage/user-id/510046) . Yes your suggestion worked out and I added my Job Aid as a link in the App navigator.

Regards,

Anand


author: Shannon S
body: Anand,

Glad the workaround helped you!

Take care and have a pleasant weekend.

Regards,

Shannon


author: Anand Rajaraman
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046) wish you too a happy weekend.

Thanks again for your timely support.

Regards,

Anand
No access to create spaces
Asked by salwa md saad:

hi, i want to create new spaces in confluence pilot, but it seems like i do not have the access to create it. kindly advise.


Answers:
author: Thomas Bowskill
body: Hi [@salwa md saad](/t5/user/viewprofilepage/user-id/2941126)

Sounds like your Confluence administrator hasn't granted you the access to do this.

They need to enable your group to have "**Create Space(s)** " in the [Global Space Permissions](https://confluence.atlassian.com/conf59/global-permissions-overview-792499454.html)

If you already have this permission, have you followed [the guide for creating a Space](https://confluence.atlassian.com/conf59/create-a-space-792498598.html)?
How to disable relative dates in Confluence comments
Asked by Jason Reid:

What is the equivalant of this setting <https://confluence.atlassian.com/jirakb/disable-relative-dates-in-jira-applications-414187622.html?_ga=2.203499733.450927857.1554679221-1793386555.1537830461>

in Confluence?


Answers:
author: Jason Reid
body: For anybody else who finds this:

I achieved the desired result by change the Comment Layout:

#macro (displayCommentActions $commentId $commentActionSection $webInterfaceContext)  
#set ($items=$webInterfaceManager.getDisplayableItems("system.comment.action/$commentActionSection", $webInterfaceContext))  
#if ($items)  
\<ul class="comment-actions-$commentActionSection"\>  
#foreach ($item in $items)  
## provide first class name for IE6 cause first-child selector doesn't work  
#if ($velocityCount==1) #set ($className="first") #else #set ($className="") #end  
#if ($item.styleClass) #set($className = "$className $item.styleClass") #end  
## don't introduce a line break between the \<li\> and \<a\> otherwise this will introduce an unwanted spacing when this markup is rendered. See <http://css-tricks.com/fighting-the-space-between-inline-block-elements/>  
\<li class="$className"\>\<a #if ($item.tooltip)title="$item.tooltip.getDisplayableLabel($req, $webInterfaceContext)"#end href="$item.link.getDisplayableUrl($req, $webInterfaceContext)"  
#if ($item.link.id) id="${item.link.id}-$commentId" #end  
\>\<span\>$item.label.getDisplayableLabel($req, $webInterfaceContext) - #if ($item.tooltip)$item.tooltip.getDisplayableLabel($req, $webInterfaceContext)#end\</span\>\</a\>\</li\>  
#end  
\</ul\>  
#end  
#end

comments: author: Diego
body: Hey there Jason!

This is some serious advice you got there. Thanks for coming back and sharing how to achieve this.

Your knowledge can be quite useful for others as well!


author: Diego
body: Hello there!

Jason, currently this is not possible in Confluence.

We have feature requests for both Cloud and Server. You can check them here:

**[CONFSERVER-45044 \| As an Administrator I want to configure Confluence to use only absolute dates](https://jira.atlassian.com/browse/CONFSERVER-45044)**

[**CONFCLOUD-45044 \| As an Administrator I want to configure Confluence to use only absolute dates**](https://jira.atlassian.com/browse/CONFCLOUD-45044)

On CONFCLOUD-45044 you can still vote and watch in case you are on Confluence cloud. Voting will increase the the visibility of the request and watching will keep you up to date!

Let us know!


Tags: atl-adm

date
I?m the admin and a board disappeared and I don?t see a place where is says closed boards.
Asked by Jeff Silverman:

The same issue on android and iPhone.


Answers:
author: Jeff Silverman
body: Thanks, I fixed it.

comments: author: Tarun Sapra
body: Glad to know [@Jeff Silverman](/t5/user/viewprofilepage/user-id/2995729) that its fixed, if my answer helped you, please accept/upvote so that others are also helped.


author: Tarun Sapra
body: Hello [@Jeff Silverman](/t5/user/viewprofilepage/user-id/2995729)

The board could have been deleted by the board owners and hence it doesn't appear anymore. There is no concept of closed boards in jira. Also, it could be the board is private now as the owner might have made the underlying filter of the board as private filer and hence you can't access the board but if you have system admin rights then you should be able to see it but not access it's issues.
In the IM status connector, how can I connect Mattermost or Slack?
Asked by Jo Wilkes:

How can Mattermost and Slack (which use the same protocol) be connected to the Confluence cloud solution, specifically the IM presence plugin?

For the Atlassian self-hosted versions, there is an webhook page in the administration. How is it done in Confluence cloud?


Answers:
author: Diego
body: Hello there!

The IM presence works with a set of predefined AIM tools. You can check this list here:

**[IM Presence Macro](https://confluence.atlassian.com/confcloud/im-presence-macro-724765213.html)**

Jo, for Slack we have a few options of integration with Confluence. You can check them here:

**[Confluence Cloud for Slack (Official)](https://marketplace.atlassian.com/apps/1219518/confluence-cloud-for-slack-official?tab=overview&_ga=2.16081526.1140731583.1555332941-79410561.1553795485&hosting=cloud)**

**[Slack Connector for Confluence Cloud](https://marketplace.atlassian.com/apps/1216440/slack-connector-for-confluence-cloud?hosting=cloud&tab=overview)**

**[Slack for Confluence](https://marketplace.atlassian.com/apps/1215055/slack-for-confluence?hosting=cloud&tab=overview)**

You can also take a look into these posts right here:

**[How to Get the Most Out of Using Atlassian and Slack Together](https://www.atlassian.com/company/events/summit-europe/watch-sessions/2018/collaboration-and-tools/how-to-get-the-most-out-of-using-atlassian-and-slack-together)**

**[Introducing the Confluence Cloud app for Slack](https://www.atlassian.com/blog/confluence/confluence-cloud-app-for-slack)**

Hope this helps!


Tags: atlassian-marketplace

confluence-cloud

mattermost
Can no longer start confluence, kills database..
Asked by AubZ:

We get the following database (mysql) error when confluence is hit:

2019-04-06 03:45:47 1 \[ERROR\] InnoDB: File ./DB/scheduler_run_details.ibd: 'Linux aio' returned OS error 0. Cannot continue operation

This fatals the database and therefore kills \*all other services\*

Our work around is to no longer start confluence, though we need the data so would be interested if anyone knows what to do?


Answers:
author: Nic Brough -Adaptavist-
body: This means the database process is unable to read its own files, either because of a permission problem or because the files are irretrievably damaged.

You will need to restore the last known-good backup you took of the database.


Tags: confluence-server

server
[Bob Swift CLI] addUserToGroup command is not working
Asked by Nico Strebel:

Hello

I've just set up a new confluence server with Bob Swift CLI. I try to auto move my Active Directory users to the right confluence group with a bash script. But the following command seems to be broken:

```
 bash /etc/tools/atlassian-cli-8.3.0/confluence.sh --action addUserToGroup --userId "user" --group "group3" --autoGroup
```

After entering this command it seems to be working and gives me the following output:
> User with id 'user' added to group 'group3'.

But the grouplist confirms the user hasn't joined the group "group3".

```
bash /etc/tools/atlassian-cli-8.3.0/confluence.sh --action getGroupList --userId "user"
```

The output is the following:
> 2 groups in list  
> group1  
> group2

The user is still only in group1 and group2, but does not appear in group3. Does someone have any ideas what could have gone wrong?


Answers:
author: Nico Strebel
body: I forgot to check my logs. I found the solution by reading the logs.

Solution:  
<https://confluence.atlassian.com/confkb/trying-to-add-confluence-users-to-a-group-throws-group-does-not-allow-updates-error-in-logs-302812802.html>


Tags: bob-swift

cli

confluence-server

server
How can link a child of an existing page?
Asked by Vincent Au:

I have a confluence page, but would like to add an existing page as it's child, but not duplicating the content. Please let me know how I can do that?


Answers:
author: Mario Carabelli
body: Hi [@Vincent Au](/t5/user/viewprofilepage/user-id/2993190)

You can create a new empty page and add a page include macro to your page.

You add a macro tge easiest way by clicking on the + in tge editor header and selecting tge macro browser. There you search for the macro you need.

Here is the documentation to the include page macro:

<https://confluence.atlassian.com/doc/include-page-macro-139514.html>

With kind regards

Mario
Confluence CLI runFromContentList action failing due to inability to handle replacement variable
Asked by Alex Meretten:

Anyone have any thoughts on the below? I'm able to get it to run, but it chokes on the @pageId@ replacement variable:

```
./confluence.sh --action runFromContentList --cql $sourceSpaceKey -s "$sourceServer" -u $sourceUser -p $sourceUserPassword --limit "1" --common: '-a copyPage --targetServer $destServer --space $destSpaceKey --parent @home --id @pageId@ --copyAttachments --copyComments --copyLabels --copyBlogs --simulate' --verbose
```

I'm certainly open to other ideas, as well, if there's something I'm missing. I just need to deadlift a bunch of content out of a space on one server to a new space in another.


Answers:
author: Alex Meretten
body: To close out (and avoid the [DenverCoder9 Paradox](https://www.xkcd.com/979/)), I used the **copyPage** action on the root page of the space on the source server, alongside the **--copyAttachments --copyComments --copyLabels --descendents** flags.


author: Alex Meretten
body: Adding: this is the actual error I get when running it:

```
Run: -a copyPage --targetServer $destServer --space $destSpaceKey --parent @home --id @pageId@ --copyAttachments --copyComments --copyLabels --copyBlogs --simulate

Error: Unable to convert '@pageId@' to a Long.
Client error: 1 actions failedorg.swift.common.cli.CliClient$ClientException: 1 actions failed at org.swift.common.cli.helpers.RunHelper.getRunActionCompletionMessage(RunHelper.java:255) at org.swift.common.cli.CliClient.getRunActionCompletionMessage(CliClient.java:1524) at org.swift.confluence.cli.helpers.ContentHelper.runFromContentList(ContentHelper.java:624) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:845) at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:748) at org.swift.common.cli.CliClient.doWork(CliClient.java:689) at org.swift.common.cli.CliClient.doWork(CliClient.java:646) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:179)
```


Tags: addon-org.swift.confluence.cli

atl-adm

atlassian-marketplace

command-line
How to I get certain Analytics or statistics from Confluence?
Asked by Sean_Edler:

I have been asked to retrieve the following stats from our confluence environment. Are there Sql queries that would be able to retrieve this info?

|------------|---------|------------------------------------------------------------------------|
| **Tools**  | **No.** | **Reports**                                                            |
| Confluence | 1       | Volume Statistics (Number of Documents, Average Size, Total Size etc.) |
|            | 2       | Usage and Access Statistics                                            |
|            | 3       | Directory Structure                                                    |
|            | 4       | Searching Statistics (Most used keywords and general user statistics)  |


Answers:
author: Diego
body: Hello there!

Sean, there is some data that you are looking for directly from Confluence UI. You can check it under Global Statistics:

**[Viewing Site Statistics](https://confluence.atlassian.com/doc/viewing-site-statistics-123043962.html)**

Also, there are many other tools that can help you have a cleaner outlook on what you are looking for. You can check this article right here:

**[How do I get more statistics from Confluence?](https://confluence.atlassian.com/confkb/how-do-i-get-more-statistics-from-confluence-154239308.html)**

Let us know if this helps you out! Looking forward to your reply.


Tags: atl-adm

confluence-server

server