youngmon/atlassian-qna huggingface dataset:
After upgrading from 6.07 to 6.3.2, confluence doesn't load properly
Asked by Chris Craig:

I performed an upgrade to confluence on Linux to 6.3 from 6.07. After the upgrade, the reverse-proxy seems broken. The /confluence part of the url is missing from all links.

Any help would be appreciated!


Answers:
author: Nic Brough -Adaptavist-
body: The upgrade has probably stripped it from your \<install\>/conf/server.xml

There should be a line like

\<Context path="/confluence" docBase="../confluence"

I expect you'll find the path is missing

comments: author: AnnWorley
body: Oops, I posted while you were already on it. Sorry, Nic.


author: AnnWorley
body: Maybe the context path "/confluence" was not migrated over during the upgrade. Please see [How to change the Confluence context path](https://confluence.atlassian.com/confkb/how-to-change-the-confluence-context-path-707985922.html) as that guide explains where the server.xml is and what to edit.


author: Chris Craig
body: You guys are quick! That was the problem. Thanks!!
How do I create a page in Confluence so that it automatically integrates into JIRA?
Asked by Arthur Fidas:

What I am trying to do is to get user stories written in Confluence and then load them up in Jira. Unfortunately, only the title of the story seems to be transferred to JIRA, but none of the content. These are the steps I've taken.

1. Created a page in Confluence using the Product template
2. Entered a user story
3. Saved the page
4. Highlighted the user story
5. Selected the Jira icon
6. Selected "Create"
7. The Jira issue is created, but only brings over the Title

How can I make it so that the story is sent over to JIRA as well? Am I missing a step? Is there a better way to do this? Please help!


Answers:
author: AnnWorley
body: I couldn't do it either until I chose the **Create multiple issues from table** option - then it lets you associate the Description in JIRA with the User Story in the table in Confluence.

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


author: Arthur Fidas
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) I'm having trouble trying to get my user stories from Confluence to load in JIRA. Only the Title of the page transfers over but nothing else. Any idea why this might be happening? I've already looked at through this links and it seems like I followed the right process but it's not working for some reason.

<https://confluence.atlassian.com/doc/use-jira-applications-and-confluence-together-427623543.html#UseJIRAapplicationsandConfluencetogether-CreateissuesfrominsideConfluence>

<https://confluence.atlassian.com/jirasoftwarecloud/blog/2017/03/linking-confluence-spaces-to-jira-software-projects>


Tags: api

confluence-development

developer

issue

issue-link

jira

jira-administration

jira-cloud
How add image in refinedwiki UI Card?
Asked by iamjustice@list.ru:

How add image in refinedwiki UI Card?


Answers:
author: Daniel Vargas Llopis
body: Hi,

I'm not sure where you're trying to add an image, in some cases it's not possible.

Could you post a screenshot of where you want to add the image?

comments: author: Genevieve (Refined Partner Manager)
body: Hi,  

Assuming you're referring to [RefinedToolkit,](https://www.refinedwiki.com/products/refined-toolkit-for-confluence/) you can add an image by typing {UI image on a Confluence page and editing the parameters.

There are more detailed instructions on our **[Documentation Site](https://docs.refinedwiki.com/x/CgbXAQ).**


author: Siegfried Steins
body: Hi, it's about the macro "UI Children Cards", where you can add a picture according to the sample provided here  
<https://docs.refined.com/space/REFINEDTOOLKITDC/3770832734/UI+Children+Cards>

Nevertheless, adding a picture to the subpage, even with "UI Image" does not show the picture on the card page above :'(

Still looking for a solution...


Tags: refined-wiki
Nesting groups with LDAP
Asked by plugin writer:

Hey,

I own a Confluence 6.0.6 over the past months and added a new user directory (LDAP one). Inside the configuration of the LDAP I enabled the nested group option.

Even though, I can't see the option to add groups from the AD into a sub group of the internal directories.

For example, one of the groups inside the AD called "Team" and I want to assign any "Team" member as a member of confluence-users and other internal groups.


Answers:
author: AnnWorley
body: To add LDAP groups to internal Confluence groups, please choose the "Read-only, with Local Groups" option in the LDAP user directory setup:

![Screen Shot 2017-08-04 at 2.58.46 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/4118iC578FAC771D0ADDF/image-dimensions/794x174?v=v2 "Screen Shot 2017-08-04 at 2.58.46 PM.png")

comments: author: Av Neelavi
body: Its plugin-writer, just forgot my member, I have already done it buy I am not able to nest groups from the AD into the internal directory


Tags: active-directory

group

ldap

nested-group
Transission from Onprem til Cloud Confluence
Asked by S?ren Hartig:

I did convert our confluence onpremise solution to the confluence cloud, but I cant see them. They are visible under under 'space persmissions' but when I give my user all the rights to admin and view them, they all still not visible under 'All spaces'.

There seems to be missing some kind of reindex.


Answers:
author: Shannon S
body: Hi S?ren,

When you go to Space Permissions, next to each of the spaces, do you see **Recover Permissions** listed there?

1. Click **Recover Permissions** . Text changes to **Manage Permissions**.
2. Click **Manage Permissions**. This then shows you the space's full permissions, and you can either add yourself to the group that has access, or add your individual user to access there.

Let me know if you have any trouble!

Kind Regards,  
Shannon

comments: author: S?ren Hartig
body: Something happend overnigth. Now I can see all the spaces, under 'All spaces'

All my spaces has 'Manage permissions' next to it.


author: Shannon S
body: S?ren,

Glad your issue is resolved! It's likely the indexing occurred naturally overnight, but if you ever need something manually reindexed in the future you can contact our Cloud Support team and they'll be able to help you with that!

Kind Regards,  
Shannon
Confluence - Export PDF is not working
Asked by Luis Felipe Farfan:

The Export PDF functionality is not working since yesterday. Does somebody know what is happening?


Answers:
author: Christoph Sch?tz
body: Are you using Confluence Cloud? If so I suggest contacting the Atlassian support. If you are using Server, please look into your atlassian-confluence.log and share any findings.

Cheers

Christoph

comments: author: Luis Felipe Farfan
body: Thank you, Christoph. We are using Confluence cloud. It is very confusing the Atlassian support system. Do you know what is the best way to contact Atlassian?


author: Christoph Sch?tz
body: You're welcome - try <https://support.atlassian.com/contact/#/> please.

Cheers

Christoph
What access one should require to upload add-on in Jira server
Asked by Rahul Jagtap:

Hi,

I am new to jira. I have one custom add-on .jar file.so what role/access do i need to upload in difeerent jira instance?


Answers:
author: Nic Brough -Adaptavist-
body: System administration rights (it's a global permission)


Tags: deployment
How I can configure PostgreSQL database with confluences.?
Asked by gopi:

How I can configure PostgreSQL database with confluences. I already installed PostgreSQL database in my server.

It would be great if anyone can help on this issue


Answers:
author: Nic Brough -Adaptavist-
body: The installation process will ask you for connection details.

comments: author: gopi
body: I gave correct details in intallation, but it is throwing error

* Configuring database failed
* org.postgresql.util.PSQLException: FATAL: database "confluence" does not exist


author: Nic Brough -Adaptavist-
body: That suggests your database user credentials are ok, but the user has no access to the confluence database, or it does not exist.


author: gopi
body: Can you please tell me how can I give access to the user?

OR

How can I create database in PostgreSQL?


author: Thomas Buchhorn
body: Check this guide: <https://confluence.atlassian.com/conf53/database-setup-for-postgresql-411108992.html>
Number of items in Favourite Pages Macro
Asked by Manfred Zuber:

Hi All

There are only a few (5) items displayed with the **Favourite Pages** Macro in Confluence.  
With **Edit** no parameters can be changed.

How can we change the number of items to be displayed with the **Favourite Pages** Macro?

Thxs and cheers, Manfred.


Answers:
author: Thomas Schlegel
body: Hi Manfred,

you can't change the number of items to display, but you can add your own favorite pages user macro for that purpose:

(if you don't know, how to create a user macro, look at my [article](https://community.atlassian.com/t5/Confluence-articles/The-Admin-s-tale-User-Macro-filtering-a-Confluence-table/ba-p/459369) for an example)

This example is using code provided by [@Davin Studer](/t5/user/viewprofilepage/user-id/1018164) from the answer: <https://community.atlassian.com/t5/Confluence-questions/Can-I-view-all-of-my-favorite-pages/qaq-p/327833>

I've changed his example, so you can add a parameter for the number of items to display. And here is the code:

```
## Developed by: Davin Studer
## Enhanced with parameter NumberOfFavorites by Thomas Schlegel
## Date created: 06/10/2013, Date enhance: 03/08/2017
## @param NumberOfFavorites:title=Number of favorites to show pagecount|type=int|desc=Number of favourite pages to show|default=5
#set( $labelManager = $action.LabelManager )
#set( $favRef = $labelManager.getLabel("my:favourite") )
#set ($Integer = 0)
#set ($paramNumberOfFavorites = $Integer.parseInt($paramNumberOfFavorites))
#if ($favRef)
    #set( $favorites = $labelManager.getCurrentContentForLabel( $favRef ) )
    #set( $counter = 1)
    #if ($favorites.size() > 0)
        <ul>
        #foreach( $favorite in $favorites )
            #if ( $favorite.getType() == "page" )
                #if ($counter <= $paramNumberOfFavorites)
                    <a href="$favorite.UrlPath">$favorite.DisplayTitle</a><br/>
                    #set ($counter = $counter + 1)
                #end
            #end
        #end
        </ul>
     #end
#end
```

comments: author: Manfred Zuber
body: Hi Thomas and thxs very much for your prompt answer!


author: Thomas Schlegel
body: You're welcome :-)

If you think, your question is answered, please mark it as answered so other users can find answered questions more easy.

Thank you.


author: Manfred Zuber
body: thxs for the hint  
I think this answers my question, although I won't apply it for the moment on the page I have the actual macro.

Possibly will try it first on anothter test page.

Cheers


author: Marc Hornschuh
body: Hi Thomas!

I want to "pimp" your script, e.g. the display of the spaces like the build-in macro, but I don't found a list of the methodes (like the .UrlPath or .DisplayTitle) of the Confluence API.

Does you have a link for me?

Greetings from OWL to HH!

Marc
Import a Confluence Space Completion:0% complete
Asked by jiaolei:

When I import a Confluence Space ,the Completion is 0% complete forever.


Answers:
author: Andreas Hilbrich
body: I got the same symptoms since yesterday. Looking forward a solution ...

comments: author: Christoph Sch?tz
body: Are you using Confluence Cloud? If so please contact the Atlassian Support.

Cheers

Christoph
List user profile information
Asked by Ben Cohen:

Hello,

I am trying to list usernames with personal information such as first name,last name,phone number etc.

I know that the first\\last name is stored in cwd_user table and the phone number is in the OS_PROPERTYENTRY table. I do not know how to make the connection between those two tables.

Thanks,

Ben


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Ben Cohen](/t5/user/viewprofilepage/user-id/286292) ,

you can retrieve all information about data model at the following page <https://confluence.atlassian.com/doc/confluence-data-model-127369837.html>

Hope this helps,

Fabio


Tags: confluence-development

developer

sql
What is the best add-on to integrate with GitHub from the next list?
Asked by Hananya Beck:

Hi

I write manual for our developers and i need the ability to reference to folders\\code\\files in GitHub.

What is the best add-on to integrate with GitHub from the next list (For cloud):

[https://marketplace.atlassian.com/search?hosting=cloud\&product=confluence\&query=git](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=git)


Answers:
author: Edwin Kyalangalilwa
body: I'd go with **Github Macros for Confluence**, it talks about all that you are asking for and it is from an Atlassian Verified vendor.

comments: author: Hananya Beck
body: Tnx. but it is not free :-)


Tags: app

cloud

github
Confluence source downloads broken?
Asked by Jeff Turner:

Is it just me?

I go to the Download Sources page (<https://my.atlassian.com/download/source/confluence>), which shows me a list of links to source downloads:

![Screenshot.png](/t5/image/serverpage/image-id/3974i86A03E2C12938193/image-size/large?v=v2&px=999 "Screenshot.png")

Clicking on e.g. "6.3.1 Source (TAR.GZ)" redirects to a S3 download URL:

[https://downloads-sources-us-east-1.s3.amazonaws.com/confluence/confluence-6.3.1-source.tar.gz?x-amz-security-token=\<redacted\>\&AWSAccessKeyId=ASIAJXIGUUDOLGXK2FQQ\&Expires=1501723059\&Signature=9%2BF%2FU0iphj9J5dO0xY5K0ujvIVc%3D]()

which gives an error:

![image.png](/t5/image/serverpage/image-id/3975iB2E823AC06E0365E/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Thomas Schlegel
body: Hi Jeff,

I have the same error. I will forward your post to Atlassian's people.

Thank you for reporting the error


author: Jeff Turner
body: Still broken a week later; I contacted Atlassian Support, who informed me the .zip download works.

comments: author: Monique vdB
body: [@Jeff Turner](/t5/user/viewprofilepage/user-id/518593), did Support offer any insight into why the other one doesn't work?
I've associated a license with the incorrect SERVER ID.
Asked by William King:

I activated a Confluence license using my JIRA server ID instead of my Confluence server ID. Now I am unable to apply the license. Is there an automated way for me to associate the license with a different server ID so I can generate a new licesne number for my installation?

Thanks!

<br />

Tom


Answers:
author: AnnWorley
body: What happens when you apply the license? My understanding is our licenses can be applied regardless of server ID so I am very curious what error message you are seeing. If you could upload a screen shot that would really help.

comments: few
Child page links not displaying on parent page
Asked by Sangeet Mahat:

The Parent pages are no longer showing the links to the child pages. Normally the same links to the child pages shown in the page tree on the left should display in the front page of the parent page. However it is no longer showing those links on the front page of the parent, only in the nav tree.


Answers:
author: Dheeraj Gupta
body: Hi [@Sangeet Mahat](/t5/user/viewprofilepage/user-id/1143704),

Try using "Children Display" macro on the parent page.


author: Stephen Deutsch
body: Are you still using the documentation theme? In that case, there should be a link at the bottom of the page that says "X Child Pages", and if you click on that, then it will show the child pages again.

If you've updated to the newer default theme, then you won't be able to do that anymore. You'll have to put something like this in the footer:

```
{section}{column:width=1%}{children}{column}{column}{column}{section}
```
Why would I be able to log into JIRA/BitBucket successfully but not Confluence?
Asked by Michael Holmes:

I am able to access full functionality inside JIRA and BitBucket but get an error ("Sorry, an error occurred trying to log you in. Please try again."). What would cause this?


Answers:
author: Brant Schroeder
body: How is your enviorment setup? Are you hosted locally or in the cloud?

comments: author: Michael Holmes
body: Local host with JIRA authentication into systems. I have admin privilege which is what confuses me.


author: Brant Schroeder
body: Were you able to login before?
how can I change page tree colors
Asked by Mordechai Cikk:

Hi Guys.

I am trying to change the color scheme for the left sidebar page tree.

It was easy enough to change the backgroud color in the space stylesheet with something like:

.acs-side-bar {  
background-color: #33334d;  
}

But I was not successful at changing the text color.

Anyone have experiance with this?

Thanks


Answers:
author: Thomas Schlegel
body: Hi Mordechai,

try this CSS:

.ia-fixed-sidebar div.plugin_pagetree ul.plugin_pagetree_children_list .plugin_pagetree_children_span a { color: #ff7f50; }

.ia-fixed-sidebar div.plugin_pagetree ul.plugin_pagetree_children_list li .plugin_pagetree_children_content .plugin_pagetree_current a { color: #359797; }

comments: author: Mordechai Cikk
body: neither seems to have any affect.


author: Thomas Schlegel
body: where did you add the CSS?

My Confluence 5.10.7 looks now like that:

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


author: Thomas Schlegel
body: I added the CSS to the Space Stylesheet:

http://\<your-confluence-url\>/spaces/viewstylesheet.action?key=\<spacekey\>


author: Mordechai Cikk
body: Hi Thomas.

Your settings are now working for me.

Thanks for your help!


author: Thomas Schlegel
body: You're welcome :-)


author: Nanci Akins [X]
body: I used these settings and am glad I found this suggestion! My question now is, do you have a way to change the look of just the parent pages in a page tree? Make them bigger or a different color than the child pages?


author: Nick Hughes
body: This! I tried to do it yesterday but couldn't find out how
when delete page versions does it have an impact on the space weight?
Asked by C?line Delacourtie:

I have different issues on images that are not displayed properly, cannot export as my space is too big...

I try to find out solutions to 'clean' my space:

I've already remove images not needed on pages.

I wonder if versions are also a weight in the space.


Answers:
author: Shannon S
body: Hello C?line,

If you delete versions, and empty them from the trash, they will reduce the space size.

Can you clarify the issue you're having exactly with your images not displaying properly, and how it relates to your export?

Kind Regards,  
Shannon
Hiding the customised footer on Confluence Pages
Asked by Kim Waring:

Hi,

I have created a customised footer using HTML so when exporting as a PDF this displays on every page how I want it to, yet on the page it looks a mess. Is there anyway to hide this on the webpage and still have it when exported?

![2017-08-02_15-15-59.jpg](/t5/image/serverpage/image-id/3958iE62E48BA301DF242/image-size/large?v=v2&px=999 "2017-08-02_15-15-59.jpg")


Answers:
author: Christoph Sch?tz
body: Hey - in the space tools there should also be an entry called PDF Export or Export stylesheet - if you add your stuff there it might help. Or make it only visible there using CSS and set the div usually to invisible.

Cheers

Christoph
Only process a ScriptRunner event for certain pages.
Asked by Eric Dierkens:

I want to use a ScriptRunner event to only process certain pages. I know how to narrow the page down to the space within the ScriptRunner event code, but I only want to process certain pages within the space. Is there a way when creating pages to designate what I'll call a PageType? So when I create a page, I'd like to give the page a PageType I define and then read that value from Groovy.

To help clarify this a little more, I have a space lets call Projects. Under this I have what I call a "Project" page type and under Project page I have a Request page. I want the ability to define each of these page type and be able to use Groovey to determine what each page type is.

(space) Projects

- Project 1

- Request 1

- Project 2

- Request 2


Answers:
author: Stephen Deutsch
body: Maybe you could define a label that refers to a specific page type and filter based on that?

comments: author: Eric Dierkens
body: I was able to add a Content Property to my pages. My one issue now is how to retrive the Content Property via REST. This is what I have so far but it's not working. I've add log entries to see how far it gets and I get to "eWeb Request Form Event: 2" and then it throws an error on http.get with a Not Found error.

```
import com.atlassian.confluence.event.events.content.page.PageEvent
import com.atlassian.confluence.spaces.Space
import com.atlassian.confluence.pages.Page

def event = event as PageEvent

Page page = event.getPage()
Space space = page.getSpace()

if (space.key != 'eWebProjects') {
    log.warn("eWebRequest Form Save Event  - this is not the eWebProjects space")
    return
}

import groovyx.net.http.HTTPBuilder
//import static groovyx.net.http.ContentType.*
//import groovyx.net.http.ContentType
//import static groovyx.net.http.Method.*
//import groovy.json.JsonSlurper
//import net.sf.json.groovy.JsonSlurper

log.warn("eWeb Request Form Event: 1")
def http = new HTTPBuilder('http://confluence/rest/api/')
log.warn("eWeb Request Form Event: 2")
def pageType
def url = 'content/' + page.id + '/property/page-type/'

http.get(path: url,
        contentType : 'application/json'
) { resp, reader ->

    println reader
    log.warn("eWeb Request Form Event: 3")
    //pageType = json
}

log.warn("eWeb Request Form Event: page-type = " + pageType)
```