youngmon/atlassian-qna huggingface dataset:
Application link fails (Cloud)
Asked by Stuart May:

![Screen Shot 2017-11-24 at 16.14.38.png](/t5/image/serverpage/image-id/9982i97B263D8D771AF7C/image-size/large?v=v2&px=999 "Screen Shot 2017-11-24 at 16.14.38.png")

Hi

I get the message above. JIRA links to Confluence just fine but doesn't seem to work the other way round. Unfortunately I cannot find where to rectify this... apparently it is a OAuth problem but despite reading every page of Atlassian Documentation I am still none the wiser on where I modify it without setting up new application addresses. When I do try new application addresses I get this:

![Screen Shot 2017-11-24 at 16.28.05.png](/t5/image/serverpage/image-id/9984i6E38216F39332501/image-size/large?v=v2&px=999 "Screen Shot 2017-11-24 at 16.28.05.png")

thanks


Answers:
author: Boris Berenberg - Atlas Authority
body: You will likely need to have an Atlassian step in to help. If you're on a more than 10 user license then you should file a support ticket. Otherwise let me know and I'll see if I can get you some help.

comments: author: Stuart May
body: I have set-up a Support ticket. thanks for your help.
JIRA Issues Macro not displaying any fields
Asked by Kathleen Tanzo:

When I insert the JIRA Issues Macro (with a JIRA issue URL entered in the key field searching via Other Macros or the URL pasted directly on the Confluence page) all that is displayed is a link with an option to open the issue in JIRA directly.

When I edit the macro and select table, no matter what number I enter for the maximum number of issues to display, a small thumbnail image of a list appears and I only want details of a single issue, normal page size like the first image under #1 here:

<https://stiltsoft.com/blog/2015/07/top-5-new-add-ons-for-atlassian-confluence-second-quarter-2015/>

How do I display specific issue fields for a single issue directly on a Confluence page?


Answers:
author: Boris Berenberg - Atlas Authority
body: That is done using a third party app <https://marketplace.atlassian.com/plugins/com.capitaladdons.confluence.plugin.macro.ca-jira-confluence-issue-macro/server/overview> Do you have that installed?

comments: author: Kathleen Tanzo
body: If this is an add-on then, no not likely. Is this the only way to achieve this? It is difficult to get add-ons approved.


author: Boris Berenberg - Atlas Authority
body: Not possible without a third party app.


Tags: issue

jira
Restoring A Backup XML File
Asked by Sidney Badier:

We have been trialing Confluence over the last two weeks and have just bought a subscription. Today we did a backup creating the XML backup file. So that we could reuse all the work we did doing the trial period.

After we restored it on the Confluence Server all the users were overwritten. What is the procedure to prevent this and other environment settings from being overwritten after a restore of a space?


Answers:
author: Nic Brough -Adaptavist-
body: Restoring a full backup is **supposed** to restore **everything**.

If you only want to import content, then you can take space exports and restore those.

Thing is though, you don't need to. A trial system is the same as a production system, it just stops working when the trial expires. Add a production licence to it, and it will become your production system. You don't need to restore anything at all.


author: Shannon S
body: Hi Sidney,

Restoring [a full site backup](https://confluence.atlassian.com/doc/restoring-a-site-152034.html) will overwrite all content in your Confluence database, including settings and users.

Alternatively, if you [restore a space export](https://confluence.atlassian.com/doc/restoring-a-space-152036.html), this will not overwrite your users or Confluence settings.

From your description it seemed that you were trying to restore the Confluence instance but you also mentioned in your last paragraph that you were restoring a space only. If your users were overwritten then it may have been that you inadvertently restored a full site backup, so you will want to verify that by having a look at that file.

If you want to avoid having your users overwritten, one way to do that would be to change the primary User Directory to something other than the one that has your users, and then switch it back after the restore. i.e. LDAP vs Internal, Jira, etc.

There is no way to avoid writing over your settings when restoring a full site backup.

Kind regards,

Shannon

comments: author: Shannon S
body: Another workaround would be to individually restore each of your Confluence spaces, instead of the whole site. This would recover your data but not bring over users, settings, Calendars, etc.

Kind regards,

Shannon


author: Sidney Badier
body: Thanks Nic and Shannon for your help. Confluence is great.


Tags: backup
What is a good way to put confluence at http://mydomain.com/confluence with nginx
Asked by petritis:

The answer I found elsewhere on Atlassian didn't seem to be as easy as what I found.


Answers:
author: petritis
body: I found I could use the Atlassian instructions on using a context path to make the path contain 'confluence', like:

<http://mydomain.com/confluence>

And then I had nginx (which in this case is on another machine, but I bet it would work fine on the same machine as well), contain this in a server block:

```
 location /confluence {
 proxy_pass http://Ubuntu1:8090/confluence;
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header Host $host;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 }
```

Confluence is now running on VM that is not exposed on the Internet and my server running nginx is now basically a proxy for it.

A nice thing is that I can snapshot the VM machine to have a working backup.
Reorder pages
Asked by Iuliana Burgi Jurj:

Hello,

I am discovering Confluence and \`\`playing with different features\`\`.

My attention is now on the reorder pages.

I understand that we can reorder spaces, as we can not have sub spaces.

But related to pages, can we move one page from one space to another ? Assuming that I am the space administer for both pages. I have tried it but I can not seem to be able to move one page from one space to another. Although I have created the spaces myself.


Answers:
author: Warren
body: Hi Iuliana

If you open the page that you want to move, click on the three dots in the top right corner, then click on ***Move***. The dialog that appears allows you to choose the space and new name


Tags: page

sort
Anonymus access and Confluence users
Asked by Iuliana Burgi Jurj:

Hello,

I am intrigued by the \`\`anonymous\`\` permission in Confluence. I would please like to know who exactly falls in this category and is it pertinent to have such a category in terms of security ?

And related to the \`\`confluence users\`\` group. My understanding is that this group is composed out of people who signed themselves into the tool without being added. Is this assumption correct ?


Answers:
author: Thomas Schlegel
body: Hi Iuliana,

an anonymous user is a user who is not logged in. Just the same as you open a website without logging in. The pages are visible to anyone who know the URL.

The group of confluence users are the one, who are able to log in to your Confluence. Whether they can create themselve an account or are given an account by an admin is up to your environment.
Error in creating application link between Jira and Confluence
Asked by Lipun:

Hi ,

Application link is between Jira and Confluence is creating successfully but it is not listing in the application list in Jira while the same is visible and status is connected in Confluence side.

Error : /rest/applinks/1.0/listApplicationlinks \[core.rest.ui.ListApplicationLinksUIResource\] Exception:  
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: host must not be null  
at com.atlassian.applinks.core.rest.ui.ListApplicationLinksUIResource.collectApplicationLinkStateResult(ListApplicationLinksUIResource.java:232)  
at com.atlassian.applinks.core.rest.ui.ListApplicationLinksUIResource.getLinkAndAuthProviderEntity(ListApplicationLinksUIResource.java:162)  
at com.atlassian.applinks.core.rest.ui.ListApplicationLinksUIResource$2$1.callWithContext(ListApplicationLinksUIResource.java:250)  
at com.atlassian.applinks.core.rest.ui.ListApplicationLinksUIResource$2$1.callWithContext(ListApplicationLinksUIResource.java:244)  
at com.atlassian.applinks.core.rest.ui.ListApplicationLinksUIResource$CurrentContextAwareCallable.call(ListApplicationLinksUIResource.java:285)  
at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:42)  
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)  
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: host must not be null  
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)  
at java.util.concurrent.FutureTask.get(Unknown Source)  
at com.atlassian.applinks.core.rest.ui.ListApplicationLinksUIResource.collectApplicationLinkStateResult(ListApplicationLinksUIResource.java:224)  
... 10 more

Jira gadgets are also not available in confluence side.

Jira Version : 6.2.7

Confluence Version :6.3.1


Answers:
author: miikhy
body: Hi,

I'm pretty sure you're facing an issue which is already known and good news is that here's a workaround!

Here is the knowledge base article to help you fixing that: <https://confluence.atlassian.com/kb/cannot-retrieve-link-and-provider-entity-when-creating-application-link-827117142.html>

The idea is that your Jira version is using a different version of SAL (Core component) than your Confluence version and it's known to cause issues with Tomcat. All details are explaine in the KB Article, hope you'll be able to troubleshoot that!

Cheers


Tags: jira
Can someone please guide me the Java API configuration for Confluence.
Asked by Sandeep Boorla:

My task is to create and update Confluence pages using JAVA API. I have found the question related to them. But I couldn't find a question related to Configuration. As I am new to Confluence, Can someone please guide me or provide me the sample project file.


Answers:
author: Boris Berenberg - Atlas Authority
body: <https://docs.atlassian.com/confluence/latest-server/>

You may also want to look at <https://community.developer.atlassian.com/> and <https://developer.atlassian.com/confdev/confluence-plugin-guide/writing-confluence-plugins>

comments: author: Sandeep Boorla
body: Hi Boris,

Thanks for the response. I have found these Links earlier. As I mentioned in the description, I found the documentation, questions for the Development/coding. I am looking specifically Configuration/Setup related things.

Sorry that I am not looking for plugins development.


author: Nic Brough -Adaptavist-
body: The Java API is for writing add-ons or doing stuff inside Confluence. It can't be used. So "create and update Confluence pages using JAVA API" and "I am not looking for plugins development" are mutually exclusive.

What exactly are you trying to do here? You said creating pages, but your last comment is about configuration. Could you explain what you are trying to do?

comments: author: Sandeep Boorla
body: Hi Nic, Sorry for that. I am having Zero knowledge on Confluence.

My task is to Create and Update Confluence pages by using Code. Via Java coding or by making REST calls.

I have found the questions for REST API coding part. Please check below links.

<https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-create-page-using-JAVA-API/qaq-p/559754>

[https://bitbucket.org/jaysee00/confluence-rest-api-example/src/99cee347f6630fe0937538fc3902dcf2e9cd5037/src/main/java/com/atlassian/api/examples/Main.java?at=master\&fileviewer=file-view-default\&_ga=2.195516069.845048572.1511517416-1109847124.1509446058](https://bitbucket.org/jaysee00/confluence-rest-api-example/src/99cee347f6630fe0937538fc3902dcf2e9cd5037/src/main/java/com/atlassian/api/examples/Main.java?at=master&fileviewer=file-view-default&_ga=2.195516069.845048572.1511517416-1109847124.1509446058)

But to make use of this links and start my work, I should have the proper setup/configuration. So I would like to know what kind of project I should create, what are the required libraries/jars, and setup related things.

Please let me know if this is clear or I should get clear idea. :P


Tags: api

java
i create space but can't found it on spacedirectory,i must do reindex and then l can fund the space
Asked by h:

1?i create space then i click spacedirectory look for it ,but can't found it

2?because i can't found the space on spacedirectory,so i do reindex

3?every time i create space must do reindex or i can't found the space on spacedirectory

i look for log but don't found error,this make me confuse;

my confluence version is 6.3.4 ,database is Oracle 12c ,driver is ojdbc8.jar


Answers:
author: AnnWorley
body: Hello, I understand when you create a space you have to manually reindex before it will show up in the Space Directory.

The automatic reindexing job only runs every minute so it is expected that the space would not instantly show up. To see if the reindex job is running automatically please check the Flush Edge Index Queue job under [Scheduled Jobs](https://confluence.atlassian.com/doc/scheduled-jobs-96567525.html#ScheduledJobs-Viewingajob'sexecutionhistory) on your instance.

Out of memory errors are a common cause of the reindex not running as expected. Please see [Recently Updated, Mail, or Search not functioning](https://confluence.atlassian.com/confkb/recently-updated-mail-or-search-not-functioning-141000929.html) for the error message you may look for; the resolution is on that page, too. The resolution is to increase heap memory and [reindex from scratch](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html).

The latter is a good first step toward resolving an indexing issue, even in cases when you don't need to increase memory. Removing the old indexes and rebuilding them requires a restart of Confluence so you may need to schedule a maintenance window.

I look forward to hearing what you find about the scheduled job, and whether you find out of memory errors in the logs. Please let me know if it helps to reindex from scratch.

comments: author: h
body: Thank you for your help.

very strange,now it is working again. i don't now why, I did not do anything ?just restart it.


Tags: space
Learn Java
Asked by Harisankara babu cvssitaramanjaneya:

suggest me the easy, effective and short way to learn and implement JAVA code (including advanced Java line beans, JMS etc)


Answers:
author: Salil Pillai
body: You may give a try to [learn Java online](https://www.guruface.com/courses/Java-J2EE-Programming "Learn Java online") on Guruface, a complete online platform for learning, teaching, and training.


author: Tarun Sapra
body: [https://www.udemy.com/java-the-complete-java-developer-course/](https://www.udemy.com/java-the-complete-java-developer-course/?)


author: Tarun Sapra
body: I don't think this question is directly related to Atlassian community. But still I will suggest you to start of with reading "head first Java" or do a Beginner's course on "Udemy"


Tags: bitbucket

jira

jira-service-desk
Edit screen is blank
Asked by Jerod Venema:

Hey guys!

Whenever I edit any page, the edit area of the screen is blank (I still can see the controls for the editor, just no content), and I get this error in the console:

*Bootstrap:initialise: No settings found. Has preInitialise been called?*

I can get around this by clicking shift+edit, which pops the edit screen in a new window. Works, but very annoying.

I've tried the following:

-disabling all addons via safe mode

-firefox (initial tests were all on Chrome) to ensure no browser add-ons were hosing things up

My setup includes:

nginx+ssl forwarding to confluence on port 8443+ssl

scroll viewport for un-authenticated users

Any suggestions for how to get around this?


Answers:
author: Jerod Venema
body: OK, found my own error. JS failures in the global section can apparently blow up the edit, so clearing any custom JS helps. This includes updates to "shared" JS files (stuff hosted on jquery cdn, etc), so watch out for that.
Can't subscribe to Team Calendar from OWA
Asked by MadelineBarr:

Hello all,

To start off, here's what I am working with.  
**Environment**

* Confluence on prem 6.2.4
* Team Calendar 5.3.20
* No Anonymous access
* Microsoft Exchange Server 2010
* LDAP Authentication

**What works**

Using Outlook 2010 on my desktop and I am able to subscribe to a Team Calendar on Confluence.

**The Problem**

In the Outlook Web App, I am unable to subscribe to the same calendar. A blank calendar is displayed and I receive the message,

"*This calendar hasn't been updated yet. If it doesn't update in 10 minutes verify the calendar URL is correct by clicking Share in the Calendar toolbar, and then clicking Show Calendar URL*"

I've read a number of documents and can't find anything on this. The documents either state the wrong direction (Outlook calendar in Confluence) or shows instructions for Outlook 2010, not the OWA.

**What I am looking for**

Can someone point me to some documentation about subscribing to a Team Calendar using the Outlook Web App? Even if it is documentation stating that it is not supported. (I thought I saw something about Exchange not being supported but I can't find it now.)

Thanks


Answers:
author: AnnWorley
body: Hi Madeline,

I found some material on the way OWA works with web calendars. Apparently, when you use your local Outlook client, your own machine "talks" to Confluence but when you use OWA the Exchange server has to retrieve the calendar. When it is not set up to do so you get the message you are reporting.

This article has the instructions for how to configure Exchange:   
[Microsoft Exchange Server 2010 - Unable to View Yahoo and Hotmail Calendars in Outlook Web App](https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03364079)

If you are not the email administrator you will need to ask whoever works with Exchange on your team to make the change. I recommend they try it on a test system first.

It may be that the network doesn't allow Exchange to communicate with the Confluence server, in which case the Team Calendar will not be able to be retrieved by OWA.

I look forward to hearing how it goes.

Thanks,

Ann


author: MadelineBarr
body: Hello Ann,

Thank you for your reply. This information is perfect.

I am not the email admin and this isn't a decision I make. I will bring the information forward and if we decide to try to configure Exchange I will let you know how it goes.

Are there and known risks or issue setting this up?

Thanks

Madeline

comments: author: AnnWorley
body: Really glad to help!

I am not aware of any known issues/risks but I would definitely test it first to avoid surprises in Production.


Tags: team-calendars-for-confluence
How to locate wiki tasks on a page?
Asked by Rob Powers:

I've started using wiki tasks and task reports recently but it is sometimes hard for people to locate the task on the target page. Are there any techniques to make it easier for people to find a task *in-situ*, as opposed to the listing in the task report?

Possible solutions:

* Include a link to the closest header or anchor in the task description
* Use some type of search syntax to locate tasks on a page
* Just tell people to search for their name on the page


Answers:
author: Rob Powers
body: I ended up going with door #1 - link to the closest header. It works well but I sometimes need to insert anchors to get it to display correctly. thanks for the support!


Tags: mention

search

task
End of Life message
Asked by Marc Dionne:

Hi,

I work with Confluence Server 6.2.

We receive an End of Life message.

![Instance Health Check.JPG](/t5/image/serverpage/image-id/9935iADC46CBFBEE9999B/image-dimensions/352x358?v=v2 "Instance Health Check.JPG")

Our licence is good until September, 2018.

For some reasons, HTML server was not configured when Confluence was installed. It is not able to communicate with the external world. My hypothesis is that the expiration of the 60,000 ms delay triggers this message.

Can someone confirm or infirm this and give me a couple of options?

Thank you!


Answers:
author: miikhy
body: Hi Marc,

End of License in not related to license expiry but to Atlassian EOL policy on products (end of support). Usually products are supported for 2 years after their release and your version is still supported officially.

You might be right on the timeout failing and therefore the healthcheck fail. You might have a look at your logs to find any issue, or you can also contact the Altassian support, providing a Support Zip might help them finding out.

Hope this helps!

comments: author: Marc Dionne
body: Thank you Micky!

I opened a support ticket with Atlassian (CSP-218123) (<https://getsupport.atlassian.com/servicedesk/customer/portal/14/CSP-218123?sda_source=notification-email>) and provided the Support Zip file. I am currently following their instructions.

Regards,

Marc


author: miikhy
body: Great!

Good luck with your resolution!
Links to anchors were changed. How to fix all links we had?
Asked by Daria Poliakova:

Links to anchors were changed. How to fix all links we had?

Hello!

Previously we used such links with anchors:

<http://myconfluence.com/display/spacekey/pagename#>**anchorname**

As I understand it was changed to:

<http://myconfluence.com/display/spacekey/pagename#>**pagename-anchorname**

We have a lot of links to confluence anchors from other web pages with old syntax.

Is there easy way to fix old links?


Answers:
author: Yuri Bialoskursky
body: This same exact thing is happening to me CONSTANTLY and in a page with a lot of anchor links, I'm at my wits end with having to revert my page and redo changes....and even then it sometimes doesn't work! Bugs like these make it very difficult when trying to convince others to move away from Google docs \>:( .


author: Daria Poliakova
body: We inserted anchors to source code of page because anchor macros didn't work.

Now this approach doesn't work. When I save the page anchors are erased in source.
Unable to configure sidebar
Asked by Suneil Seegobin:

This issue is affecting one of several spaces, where I am unable to configure the sidebar for it.

Having followed the documentation, I need to access the 'Space Tools' cogwheel but this does not appear in the affected space, but does for the rest.

Oddly, the affected space has one entry in the sidebar but it seems to be completely unreachable...meaning it is visible but there is no way of editing it, adding to that or engaging in the rest of the sidebar config for that space.


Answers:
author: Jack Brickey
body: [@Suneil Seegobin](/t5/user/viewprofilepage/user-id/1166067) , I assume that you have resolve this by now but wanted to respond nonetheless. If you are an admin you should be able to access the space tools. Now how are you do that depends on the platform you're on. Are you on server or cloud?

In Cloud things have certainly changed since 2017. Today you should see **space settings.**