youngmon/atlassian-qna huggingface dataset:
How to find Confluence Page based on Link
Asked by Jackson Farnsworth:

In this atlassian knowledge base article, [Cannot Restore XML Backup due to Value too Large for Column](https://confluence.atlassian.com/confkb/cannot-restore-xml-backup-due-to-value-too-large-for-column-151126511.html? "Cannot Restore XML Backup due to Value too Large for Column"), how I am supposed to find the source page of the links shown in the SQL Query so I can shorten the link?


Answers:
author: Bill Bailey
body: *You checked the log files to find the page ID that is causing the issue?*

comments: author: Jackson Farnsworth
body: I don't have any instances of it showing up in the logs that I can see, only in the log analyzer under the troubleshooting tab in admin settings.


author: Bill Bailey
body: If the log analyzer is flagging it, then it is in the log. BUT the logs are a bit cryptic. Start looking at lines with ERROR.


author: Jackson Farnsworth
body: And that will work for the few that are in the logs, but I have 15 pop up with the database query provided by the article. What I want to know is if there's a way to find all of them without waiting for someone to find the page and then have it pop up in the log.


author: Bill Bailey
body: Doesn't the KB article describe a method or running a query against the database of the source space to find long links? Won't that work?


author: Jackson Farnsworth
body: There is the query, which was the one I was referring to above, but most of it's fields are the destination of the link itself, not the source. There might be another table with a matching key to one of the other fields, but I don't know what that table might be. Non-link destination fields are:

* LINKID
* CONTENTID
* CREATOR
* CREATIONDATE
* LASTMODDATE

My best bet is that LINKID or CONTENTID is used in another table, but I don't know a good way to search for it's use.


author: Bill Bailey
body: Yes, but inst the fix to edit the destination page link (`destpagetitle), and that doing so will resolve the issue?`  


author: Jackson Farnsworth
body: Oh, misread that, thought it meant go to the page in Confluence and change it there. All sorts of confusion. Thanks for clearing that up.


Tags: confluence-server

error

server
Confluence maintenance
Asked by Kevin:

Hi,

I was just curious if the Confluence maintenance begin once we license our product or if it begins the day you purchase the product. We are still currently waiting for our to be build before we install confluence.


Answers:
author: Alexis Robert
body: Hello [@Kevin](/t5/user/viewprofilepage/user-id/1862355),

your license validity is from the day you purchase it, not from when you actually install/use it.

--Alexis


Tags: confluence-server

server
Include CSS in confluence user macro
Asked by Michael Schlueter:

I have written an user macro in Confluence. The macro contains a modified css style

```
<style type="text/css">form.aui legend, form.aui .field-group>label, form.aui .field-group>aui-label {float: none !important; width: auto !important;} </style>
```

If a page with this macro is rendered in the browser

the .field-group**\>** label is replaced by .field-group**\&gt;**label an therefore the style is not applied to the page. If I change the \&gt; back to \> in the page source code everything is fine. Is there are to prevent this from happening?


Answers:
author: Maree Milne
body: Hi Michael

I am having the same problem, did you find a resolution for this?

Cheers

Maree

comments: author: Michael Schlueter
body: Hi Maree,

unfortunately, we were not able to find a resolution for this.

Regards

Michael


author: Bill Bailey
body: Might help to post your macro code to get a better picture.

Generally, I don't like including CSS style inside a user macro because if you have multiple occurrences on a page, the page loads a duplicate style sheet for each macro.

A better approach is to just add your desired style to the Space CSS. This approach makes it easier to catch conflicts and debug issues.

comments: author: Michael Schlueter
body: Actually, the user macro does not contain anything else but the CSS. The reason is that we use the EasyForm macro on some pages. The default style of that macro is pretty ugly and we want to change the CSS to make it nicer.

I could do this in the space CSS, but I'm afraid that it will have bad side effects on other pages/macros, too.


author: Bill Bailey
body: Understand. Usually these macro also have some special/unique classes to help prevent styling walking over each other.

The safest way to move forward is to either set up a test space, or a development server and just test it out.


Tags: confluence-server

server

user-macro
Additional vertical scroll bar when a banner is added to Confluence
Asked by Helen Griffiths {Capgemini}:

Hi Community

We recently had an issue where we added a Banner to Confluence and it created an additional vertical scroll bar to the right hand side of the original scroll option.

So, say you were editing a Confluence page. You have the first scroll bar which enables you to scroll up and down the page you're editing, but the second scroll bar would be required to go to the bottom of the screen to save the page.

Additional behaviour observed was when trying to tag someone in a comment on the page, the field that populates a list of possible users was at the bottom of the second scroll bar (riiiiight at the bottom of the page) so it meant you had to scroll before you could select who you were trying to tag. Not a great end user experience for us as Admins or our end user base.

Has anyone seen this type of behaviour before or knows what causes it?

We've since removed the banner and the additional scroll bar has gone away, but it is a nuisance when the banner is required.

We are using Confluence server v6.5.1


Answers:
author: Helen Griffiths {Capgemini}
body: Hi [@Alejandro Villalobos _atSistemas_](/t5/user/viewprofilepage/user-id/109290)

Really strange that I can't see your comment, but I have an email notification with your update.

We are using the Custom HTML (under Look \& Feel) that comes with the Confluence application.

comments: author: Alejandro Villalobos _atSistemas_
body: Could you try to copy \& paste the same content into the suggested app to check if the same happens?


author: Alejandro Villalobos _atSistemas_
body: Hi [@Helen Griffiths {Capgemini}](/t5/user/viewprofilepage/user-id/1187852),  

Are you using [Announcement Banner for Confluence](https://marketplace.atlassian.com/apps/1217921/announcement-banner-for-confluence)Free App?  
Or did you place a Custom HTML (under Look \& Feel section) content inside your Confluence instance?


Tags: confluence-server

edit

scrollbar

server
Is there a way to set a permission level to allow a group access to User Administration...
Asked by Dave Scheet:

Is there a way to set a permission level to allow a group access to User Administration without granting them access to granting access to "General Configuration" and "Addons"

I am in the process of handing certain administrative tasks off to my support desk, and would like to start with just Space Creation and User Administration. I dont want to provide access to plugin support and other general admin tasks. I can tell them to not touch that stuff, but I cant restrict them from it.

We are also running a very outdated version in 5.10.2. Is this level of admin control available in a more recent version?


Answers:
author: Dave Bosman [Realdolmen]
body: Hi Dave

Out of the box it is not possible.

But you could do it with a plugin

[https://marketplace.atlassian.com/apps/1213685/secure-admin?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1213685/secure-admin?hosting=server&tab=overview)

But i think you will need to upgrade your JIRA first to a minimum version of 6.0

PS: i never tried this plugin before. But it seems interesting

Regards

The other Dave ;-)


Tags: administration

confluence-server

server
Is it possible to use both internal and external directories in Confluence?
Asked by Scott Derderian:

We are currently running Confluence 6.6.1 - and planning an upgrade to 6.11 in the near future.

We are also looking at using external authentication (i.e. LDAP) for governing space-level access.

However, the current internal groups are used quite exstensively to govern page level restructions within spaces.

Our concern is that once we switch to external authentication, the pre-existing internal groups will be null and void, and we will need to somehow recreate the page level restrictions using the newly created external groups (which as you can imagine is a rather arduous task....).

My hope that is once we switch to external groups for authentication / space level access, we can still use the preexisting internal groups for page restrictions.

Can internal and external groups be used simultaneously w/in the same Confluence instance?

Any feedback would be appreciated.

Thank you!


Answers:
author: Dave Bosman [Realdolmen]
body: Hi Scott,

As far as i know it should work perfectly. (i did this before)

But i would like to suggest that you try it in an acceptance environment with an exact copy first to avoid any problems.

Regards

Dave

comments: author: Scott Derderian
body: Dave, Thank you VERY much for the quick reply....That is EXACTLY what we are going to do....

Scott


Tags: confluence-server

server
How do I get my attachments back?
Asked by Ben McKenna:

I've recently started using Confluence with no issues and have recently purchased a 10 user license.

Since then I've noticed all my attachments from all spaces have gone missing.

Any new attachments seem to work fine.

Where have my old attachments gone, and how can I get them working again?


Answers:
author: Tarun Sapra
body: Visit the "Attachment storage" section of your confluence instance to see the location of Attachments on the file system. Just be sure that they still exists and haven't been deleted.

<https://confluence.atlassian.com/doc/attachment-storage-configuration-166876.html>

Then follow steps here

<https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html>

And here

<https://confluence.atlassian.com/confkb/restoring-attachments-from-a-filesystem-backup-to-an-imported-space-951392066.html>

comments: author: Ben McKenna
body: Thanks for your help, however my attachments don't appear to be within the "Attachment Storage" location specified.

Can I get them back somehow?

Are they likely to get deleted again in future??


author: Tarun Sapra
body: [@Ben McKenna](/t5/user/viewprofilepage/user-id/1828093)

Did you see the location in the admin section, if it's not there then it seems they are actually removed from the filesystem, in that case I am afraid I don't see a way of getting them back.


author: Ben McKenna
body: My attachment location is specified as follows.

C:\\Program Files\\Atlassian\\Application Data\\Confluence\\attachments

When I navigate to that directory all I see is a single directory named "ver003"

Within that directory are a number of cascading numbered directories as follows.

C:\\Program Files\\Atlassian\\Application Data\\Confluence\\attachments\\ver003\\40\\24\\524290\\235\\110\\360485\\1212424

And within that directory are two files.

"1" and "1.extracted_text"

That's all I see.


author: Tarun Sapra
body: yes, that's the attachement. So you have the attachments, they are not deleted.


author: Ben McKenna
body: Ok, I managed to get things working.

I found another attachment folder in the following location which seemed to contain a lot more data.

C:\\Program Files\\Atlassian\\Confluence\\confluence\\attachments

I copied and merged this attachments folder to the attachment location specified in Confluence settings and all seems to be working normally again now.

No idea why things would end up like this in the first place??


author: Tarun Sapra
body: Good to know , it's working back again. If my answer helped then please accept/upvote. Ideally the attachements are always under the directory structure "application data". So I am not sure how your attachments got into the directory

C:\\Program Files\\Atlassian\\Confluence\\confluence\\attachments


author: Ben McKenna
body: Thanks mate.

Done.
Why is the data exported through CSV is broken?
Asked by vinay B:

I used Multi excerpt include.Date Picker \& User picker macros in a table to display data.When I export it to CSV (to access it as excel file) the data is broekn and in some coding language. Please suh?ggest a solution for this.

Thanks in advance.


Answers:
author: Scott Theus
body: Hi Vinay,

Try opining the CSV in Excel, selecting the entire column and changing the format to a Date.

Hope that helps,

-Scott

comments: author: vinay B
body: Hi Scott,

Thank you for your reply but it still did not resolve my issue.


author: Scott Theus
body: Can you post a screen show of the column with the incorrect text?

-Scott


Tags: confluence-server

server
Group rights AD groups don't work
Asked by manfred_jordan:

Hello everybody,

we upgraded confluence 3 to version 6. We connected confluence to our active driectory and have servral pages with special read and write permissions. Those permissions are realized with ad groups. Now these rights are not working. For instance there is a page "foo". I see that the group "admin" has full access, I can see the ad group in confluence and can see that f.i. John.Doe is a member of that group but John.Doe is not able to see that page.

If I give rights to the person John.Doe (ad user), the page is viewable.

This is very strange and I have no idea where to look for this error.

Any help is apreciated.

Manfred


Answers:
author: Jonathan Smith
body: Morning [@manfred_jordan](/t5/user/viewprofilepage/user-id/1597771),

It sounds like you were using internal groups for Confluence 3. Now that you hooked up your active directory in Confluence 6, you should change your space permissions groups to the AD groups instead of internal groups.

* Confirm your Active Directory is above Internal Directory in the User Directories page.
* More information on [configuring User Directories](https://confluence.atlassian.com/doc/configuring-user-directories-229838212.html)

What you can try:

Go into space permissions, search for the group you want to use for permissions. There is a chance you might get two results, one being your AD group result, and the other being the internal group.

I ran into this situation when hooking up Active Directory. **c** onfluence-users was the internal group, and AD was bringing down a **new** group called **C** onfluence-users. When typing in a group, Confluence was c++ase sensitive++.

comments: author: manfred_jordan
body: Thanks for the answer [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1254033),

and good evening (....here in germany). I only see one group with that name and that is the ad-group. Confluence 3 was connected to the ad as well.

But I found a solution. There is a flag in the config files where you can tell the system zu check the group membership with every login. After setting that flag, I got access.


author: Jonathan Smith
body: Great! Was it an option in the configuration of the AD user directory or was it a flag in the database?


author: manfred_jordan
body: It was a flag in the config-files in confluence, not in the ad.
How can I direct a colleague to a specific portion of a page?
Asked by Robert E_ Schneider:

We are currently converting the documentation of our software from Word/PDF to Confluence. While importing and revising the documents I sometimes hit a statement of which I am unsure. I would like to mark this specific passage (maybe a word or a sentence only) and ask a colleague to check it.

I entered a selfmade mark there (".\*###") and asked my colleague to search for this string. But the search will not return anything.

Is there a better way of doing this?


Answers:
author: Alexis Robert
body: Hi [@Robert E_ Schneider](/t5/user/viewprofilepage/user-id/1694170),

maybe you can take a look at the [inline commen](https://confluence.atlassian.com/doc/comment-on-pages-and-blog-posts-139483.html)t function, it seems that it could do exactly what you want: highlight a specific statement in a page with comments on what to change/check.

It would show like this on the page:

![Inline+comment+2](https://community.atlassian.com/t5/image/serverpage/image-id/30369i6DF7A91B2CFA74D2/image-size/large?v=v2&px=999 "Inline+comment+2") If you want to direct a user to a specific portion of a page, you can also use the [anchor function](https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html#InsertLinksandAnchors-Linktoananchor.1) to do this.

Let me know if this helps,

--Alexis

comments: author: Robert E_ Schneider
body: Hi Alexis,

thank you for the advice! Seems that it is - in a way - what I am looking for.   
However: When I select text the comment-sign will not appear. I checked my profile settings - "Text select" is active.

But anyway: even though I couldn't try it: my self-made markup looks a little easier to handle. The target person can search for it at their leisure and I just enter the question in the text. No need to send an extra message.  

I changed my markup to "$QSTxxx" with "xxx" being the user I want to ask. That works in the search.  

Best regards

Robert


author: Tarun Sapra
body: Hello [@Robert E_ Schneider](/t5/user/viewprofilepage/user-id/1694170)

In addition to the answer provided by [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) you can also use "Anchor tag" and share the URL which will take your colleague to the exact point in the page which you have marked and wish to be discussed/reviewed.

<https://confluence.atlassian.com/doc/anchors-139442.html>

comments: author: Robert E_ Schneider
body: Hallo [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576),

thank you for your reply! But I am looking for something quick and simple to use. Adding an anchor seems a bit too much for this.

But I found, why I didn't get the comment-tag, when I selected text: this is only displayed when you view an page, not in an edit-session. But that's still no good, because I want to ask the question while I am editing the page. Publishing it and then searching it for the text in question to add the inline comment, is not an option.  

Looks like I will stick with my homemade markups.

But thank you for caring!


Tags: cloud

confluence-cloud

navigation
Adding link to attachment in Confluence Page Via Rest API
Asked by Adolfo Santiago Risquez:

Hello!,

I need to know if it is possible via rest api to show an attachment on a confluence page as if it were a kind of hyperlink, with a custom text.

I'm trying to do this but it doesn't work for me:

```


node {
 stage("Create hyperlink to attachment"){
 sh """
 curl -s -D- -H "Authorization: Basic XXXXXXXXXX:XXXXXXXXXXXX" -X PUT -H 'Content-Type: application/json' -d'{
 "id": "84652952",
 "type": "page",
 "status": "current",
 "title": "Prueba-Jenkins",
 "body": {
 "storage": {
 "value": 
 "<ac:link>
 <ri:attachment ri:filename="FILENAME.docx"/>
 <ac:plain-text-link-body>
 <![CDATA[RANDOM COMMENT]]>
 </ac:plain-text-link-body>
 </ac:link>",
 "representation": "storage"
 }
 }
 }' https://XXXXXXXXXXXXXX/confluence/rest/api/content/84652952
 """
 }
}
```

Is this way of working correct?

Thanks in advance,

Adolfo S.


Answers:
author: Charles Mervin
body: [@Ganesh Kumar](/t5/user/viewprofilepage/user-id/3697211)

Below CURL command did the trick for me. I used shell script and for convenience I have entered every value in a new line, in actual I executed this as a one liner.

Key things to note

* Escape any double quotes if any inside the storage value part. I have highlighted the portions in **BOLD** where I used '\\' to escape double quotes
* Mention the version number correctly. It has to be +1 of your current page version

curl -u 'username:password' -X PUT -H 'Content-Type: application/json' -d '{  
"id": "00000000",  
"type": "page",  
"title": "New page",  
"space":{"key":"Test"},  
"body":{"storage":{"value":"\<table class=**\\"** wrapped**\\"** \>\<colgroup\>\<col /\>\</colgroup\>\<tbody\>\<tr\>\<th\>\<h3\>Hyperlink Text\</h3\>\</th\>\</tr\>\<tr\>\<td\>\<ac:link\>\<ri:attachment ri:filename=**\\"** Test.csv**\\"** /\>\<ac:plain-text-link-body\>\<!\[CDATA\[Bitbucket_AD_Userlist\]\]\>\</ac:plain-text-link-body\>\</ac:link\>\</td\>\</tr\>\</tbody\>\</table\>",  
"representation":"storage"}},  
"version":{**"number":4**}}'

<https://confluence.org.com/rest/api/content/00000000>

Reference: <https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/> (Update a Page part)


author: Ganesh Kumar
body: I have the same question.

[@Adolfo Santiago Risquez](/t5/user/viewprofilepage/user-id/1859731) Did you get the answer?


author: Adolfo Santiago Risquez
body: Hi,

Can someone help me?

Thanks


Tags: confluence-server

server
I caanot find Space Tool
Asked by Eric PODICO Gmail:

We have a wiki on confluence cloud.

But I use a browser, ... not the App.

I caanot find Space Tool : It is frustrating

How doies the icon looks like?


Answers:
author: Dave Bosman [Realdolmen]
body: Hi Eric,

it is called "Space settings" and you can find it at the top left

![2018-08-24 08_58_57-Realdolmen - Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/30367i46808343193E36B5/image-size/large?v=v2&px=999 "2018-08-24 08_58_57-Realdolmen - Confluence.png")

Regards,

Dave

comments: author: Eric PODICO Gmail
body: Thanks
When using Companion, the characters in the task list look strange.
Asked by Harry Hyok Kim:

Hi guys,

Confluence 6.11.0 began using Companion to connect with Microsoft office products. I am very satisfied with "upload failure" that occurred with office connector.

However, after using Companion, I found strange characters in list. I think our Confluence problem is caused by using 'Hangul'. Is there a way or a way to solve this problem?

Regards.

KIM

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


Answers:
author: Victoria
body: Hi Kim,

It appears the problem you're encountering is documented on the following Jira issue:  

<https://jira.atlassian.com/browse/CONFSERVER-56326>  

If it is the same behaviour you're encountering, you can follow and vote on the issue above.

Thanks,

Victoria


Tags: companion-app

confluence-server

server
Companion app downloads an html page instead of my attachment
Asked by dchisholm:

I'm trying to use the Companion app to edit an Excel (xlsx) file. I click the link to my attachment; the preview loads ok; and the Edit-With menu shows Edit with Excel.

However when I click the Edit with Excel link, an HTML page is downloaded instead of my attachment. The Companion app launches Excel, but Excel balks at the unexpected file content.

I tracked the downloaded file to my .atlassian.companion folder to view the file content. The HTML appears to be HTML for the Confluence login page.

Any suggestions?


Answers:
author: dchisholm
body: So it turns out that this is a bug when using Confluence with Crowd for SSO.

If you're experiencing this problem too, please Vote and Watch <https://jira.atlassian.com/browse/CONFSERVER-56444>.

comments: author: Sattesh M
body: Thank you for the update and sharing the bug ticket link, David! :)


author: dchisholm
body: Update: The bug has been patched with Confluence 6.12.2.


author: Sattesh M
body: Hello [@dchisholm](/t5/user/viewprofilepage/user-id/510236),  

It looks like you've raised a support ticket for this issue, and it's currently being investigated.  
We will update the resolution of the issue here once we've figured out what's going on in the support ticket.  

Do feel free to add anything here that you'd like to share with the community, to help anyone facing similar issues.  

Cheers,  
Sattesh


Tags: confluence-server

server