youngmon/atlassian-qna huggingface dataset:
I've attached a .graphml (yEd xml file) to a page, but its extension gets changed to .bin on download
Asked by Bart van Deenen:

The .bin file has the correct contents.

I've tried altering the Content Type to application/x-upload-data, text/xml, application/graphml+xml but none of these changes anything, it's still .bin when downloading.


Answers:
author: AgentSmith
body: I wasn't able to reproduce this. Can you try it with another browser? I found this issue for example:

[](http://support.mozilla.org/en-US/questions/840257)<http://support.mozilla.org/en-US/questions/840257> (not sure if you might be running an older version, etc).

comments: author: Bart van Deenen
body: I just tried with two different browsers:

**chrome** **Version 31.0.1650.63 (Linux)** This one has the problem (editting a page, insert .graphml attachment, downloads as .bin file).

**Firefox 26.0 (Linux)** behaves somewhat differently. It asks me:
> You have chosen to open:
>
> file.graphml
>
> which is: BIN file (167 KB)
>
> Would you like to save this file?
>
If I click yes, I get the correct file with the correct extension


Tags: cloud

confluence-cloud
Simple Children parameters
Asked by Martin Cleaver:

I was trying to find out why your Simple Children macro wanted for Root Page (and why it didn't seem to accept a page from another space)

![](http://monosnap.com/image/SOJMPuwrB1beX7AmZHTAC8flo.png)

But then your documentation at [](http://www.brikit.com/display/help/Simple+Children)<http://www.brikit.com/display/help/Simple+Children>says it takes no parameters whatsoever:

![](http://monosnap.com/image/Hswi0VvWDPJvrbvzu9Cqu5ZT7.png)


Answers:
author: Robbie Lee
body: Hi Martin,

This is a minor issue with Confluence. I believe it relates to Confluence no longer storing the space key, which is why you see "Not Found" eventhough the space and page exist. If you use the refresh button within the macro window, your pagetree should appear.

Kind regards

Robbie


Tags: addon-com.zenfoundation
Confluence: How move an attachment ?
Asked by Jim McGovern:

How can you move an attachment (e.g. PDF, Word doc) in Confluence from one page to another?

I want to move the attachment, NOT the whole page that includes the attachment.

And I realize I could link to the attachment from another page without moving it, but I want to move attachments as part of a clean-up and re-org effort.

The only method I've found so far is to download the attachment, re-upload it, then delete the original. Yuck, too time-consuming. Hoping there is a better way.


Answers:
author: HosseinA
body: Hi,

Please refer to our documentation on Moving and attachment.

[](https://confluence.atlassian.com/display/DOC/Moving+an+Attachment)<https://confluence.atlassian.com/display/DOC/Moving+an+Attachment>

I hope that this helps you.

Happy new year
TOC bullet points
Asked by Kassidy Iwashita:

Is there a way to globally change the parameteres for the TOC? I don't want to have to individually change each TOC to no bullet points. I want this to automatically happen.


Answers:
author: Jonathan Simonoff
body: Add this to the site style:

.toc-macro ul.toc-indentation{list-style-type:none}

comments: author: Katherine Archie
body: How do I add it? Where do I add it?


Tags: list

table-of-contents
Life Cycle management and expiration
Asked by Cort Keller:

I'm looking for a method to set an expireation time for a Confluence document. I need to notify an administrator or watchers when a document that has not been updated within a year to review it for accuracy.


Answers:
author: Aseem Parikh
body: Here's a plugin that seems to handle this exact situation: <https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving>
Is it safe to terminate stuck DB transactions of Confluence?
Asked by Oleksiy Brushkovskyy:

What is the best way to deal with too long database transactions in Confluence?

Periodically we have situations when some page/attachment updates fail and DB locks stay for an hours held by additional background threads. Is 15 minutes enough for average Confluence query to its own DB? Is it good practice to terminate longer transactions forcibly?

This way we release DB locks and close waste threads that sometimes overconsume CPU resources.


Answers:
author: jing_hwa_cheok
body: Hi Oleksiy,

You could specify [database query timeout](https://confluence.atlassian.com/display/DOC/Configuring+database+query+timeout)that will automatically terminate database queries which took longer than the specified timeout.


Tags: confluence-administration

database
Confluence set up error JDBC
Asked by Lewis Routledge:

Hello,

This is my first time trying to install Confluence. I apologise if I seem very newbie!   

I have installed MySql and tried to install the JDBC driver as required, however when I select external Database it gives me the error 'Could not find driver with class name: com.mysql.jdbc.Driver'.

I have copied the .jar to the Confluence path '/opt/atlassian/confluence/confluence/WEB-INF/lib' \& also ran the command 'export CLASSPATH=/opt/atlassian/confluence/confluence/WEB-INF/lib/mysql-connector-java-5.1.28-bin.jar:$CLASSPATH'

My server is CentOS 6 FYI


Answers:
author: Nadir MEZIANI
body: Hi,

Have you restart your confluence after copying the driver in lib.

Look this link it can give you more help

[Database Setup For MySQL](https://confluence.atlassian.com/display/DOC/Database+Setup+For+MySQL) {#toc-hId-1819890259}
=======================================================================================================================

comments: author: Lewis Routledge
body: Hi,

Yeah, thats fixed it, I'll remember that for next time.

Thanks a lot :)


Tags: jdbc
is there a way to disable the case sensitivity in Confluence synched with LDAP
Asked by Jorge:

We use Confluence 5.3.1 and synchronize to our Active Directory so that every new user that logs in for the first time is created to the Confluence Internal Directory using the AD configured directory.

When the user logs in for the first time Confluence fetches the user atributes from the AD database, including the user name.

So if the user logs in the first time using JorBal it Confluence will then store JORBAL because that is how AD stores the user name.

Later if the user tries again using the same user as he tried the first time "JorBal" he will get this error:

```
java.lang.IllegalStateException: Unable to rename user JORBAL to JorBal
```

So, is there a way to configure this so that the username is NOT case sensitive when logging in?

Thanks so much!


Answers:
author: darylchuah
body: Hi Jorge

It seems like you have bump into this known bug report in here:

* **[](https://jira.atlassian.com/browse/CONF-31156)<https://jira.atlassian.com/browse/CONF-31156>**

The good news is that this bug behaviour has been resolved in Confluence version **5.3.4**

comments: author: Jorge
body: Thanks Daryl


Tags: confluence-administration

ldap

user-management
email in confluence user Profile
Asked by Sreenivasaraju P:

hi,

email in the confluence user profile is a text field. can we make it as hyperlink. By clicking this it should take the user to mail to for the user (in the default mail client)

is this possible?


Answers:
author: Matthew J. Horn
body: To modify the user profile view, edit the /confluence/decorators/profile.vmd file. This template renders the content of that page.

However, this page calls macros defined in other files. For example, the actual macro used to render the username is in /template/includes/menu-macros.vm. This is where you'll have to add logic to render the user's email address as a link and not as straight text.

Looking at it, you'll have to do some additional digging to create a link, but this is where I would start.

FWIW, if the email addresses are "hidden", then you won't be able to render the email address for the user. This is a setting in the Admin under **Security Configuration \> User email visibility**.


Tags: confluence-administration
pain in the ass, can you help?
Asked by Ryan Witt:

Can you add confluence-administrators or system administrator access to our accounts? We're trying to edit our Confluence page but can't edit/log in there.

-Ryan


Answers:
author: Nic Brough -Adaptavist-
body: We are not Atlassian support, we're a community of end-users like yourself (although Atlassian do participate, they don't pick up support here).

You'll need to contact the adminstrators for your confluence installation, and we have no way of knowing who they are.

comments: author: Ryan Witt
body: ah, thanks!


Tags: confluence-administration
Username field encrypted in confluence 5.4.1
Asked by Mustafa Abusalah:

We have upgraded confluence 5.2 to 5.4.1 when I checked the database tables I noticed that the username is encrypted in attachments and content tables, do you have any idea why the username field is encrypted? Do you know how to decrypt the field?Thank you


Answers:
author: Aseem Parikh
body: They're not encrypted, they're just hashes \[citation needed\] mapped to users in a different table.

You can decipher the username by joining the user_mapping table with whatever table you need the username from. Here's an example query for the content_label table:

```
SELECT * FROM confluence.content_label JOIN confluence.user_mapping ON owner=user_key;
```

I suspect it's done this way to preserve usernames when a user is removed from Confluence.

comments: author: Mustafa Abusalah
body: Thank you for the tip, you saved me lots of search time.
Confluence plugin for easy build questions and answer system?
Asked by Peer Jakobsen:

We are using Confluence for documentation and I am trying to document incident resolutions. I would like to narrow down the type of incident to present the correct resolution by asking a user a list of questions. So basically sort of multilevel questionnaire where the system ask a question and based on a list of predefined answers asks more questions and in the end comes up with a resolution.

Are there any plugins for Confluence that allows me to easily manange these questions-answers-resolutions?

Thanks.


Answers:
author: Ramiro Pointis
body: Hi,

I can recommend the Survey plugin. It's the one we are using on our Confluence and it's pretty good.

Check here: [](https://marketplace.atlassian.com/plugins/com.nearinfinity.confluence.survey-plugin)<https://marketplace.atlassian.com/plugins/com.nearinfinity.confluence.survey-plugin>

Hope this helps!


Tags: app

jira-service-desk
question about jeditor scroll in chrome browser
Asked by heyyeon lim:

I added a table which has a long width to confluence page.   
and the scrollbar occurred.

I was dragged the scrollbar to the right end.   
But when the mouse pointer escaped the confluence page,   
the scrollbar automatically move to the left end.

It is often confusing to me.

How can I the scrollbar to remain to righ side?

It had only happen in chrome browser.


Answers:
author: Kirill Bobrovskikh
body: Hello,

You can try to wrap the table into \<div\> tag and set div width greater than table width. For example \<div style="width:2000px"\>\<table\>...\</table\>\</div\>. This won't affect scrollbar behavior, however you won't need to scroll to the very end to see the end of the table.


Tags: addon-com.jiraeditor.jeditor

jeditor
pasting text containing colons creates inaappropriate link
Asked by Robert Lauriston:

Confluence 5.3.1. Pasting plain text containing foo:bar results in the text being tagged with an a href="http://foobar" that I have to unlink. Is there some way to prevent that? This is fairly common in the source and command-line stuff I document.


Answers:
author: Aseem Parikh
body: That seems like very odd behavior. I'd suggest posting a bug report at <https://jira.atlassian.com/>


Tags: colon

link
Confluence Backup Problem
Asked by Eli Kim:

I am unable to create a backup of my Confluence 4.3.3

I see the following WARN message...

\[confluence.importexport.impl.XMLDatabinder\] writeObjects Null object found for key:class = com.atlassian.confluence.links.ReferralLink, id = 29295375

Searching for that id on the EXTRNLNKS table gives me no entries. So I am guessing that is my null.

My question is: What other table links to that table via id? I would have thought content or some other table like that but I can't find it anywhere.


Answers:
author: Eli Kim
body: Had to modify source code to debug/correct issue.

comments: author: Eric Salonen
body: Hi Eli,

5 years on I know but care to eloborate? :D


author: darylchuah
body: Hi Eli

The following knowledge base article might help you on this issue:

* **[Troubleshooting failed XML site backups](https://confluence.atlassian.com/display/DOC/Troubleshooting+failed+XML+site+backups)**

comments: author: Mark H_ Williams
body: Hello,

I had actually followed that troubleshooting but putting in the log4j entry didn't give me any increased output so I looked at the Confluence 4.3.3 source and that class is there but I don't see the debug statements that should be printing.


Tags: confluence-administration
How to generate choice values using SQL?
Asked by SKR:

Hi,

Can anyone help me to generate choice values using SQL, I tried with the example which is there in the documentation but that is not working for me.

Please find below code and Link I have referred.

[](https://bobswift.atlassian.net/wiki/display/RUN/How+to+generate+choice+values+using+SQL)<https://bobswift.atlassian.net/wiki/display/RUN/How+to+generate+choice+values+using+SQL>

{groovy:output=wiki}

import com.atlassian.renderer.v2.RenderMode

def renderMode = RenderMode.suppress(RenderMode.F_FIRST_PARA)

def choiceSql = 'select first_name from AC_users'

def choiceMacro = '{sql-query:datasource=acpdatabaseDS\|table=false} ${choiceSql} {sql-query}'

def choices = subRenderer.render(choiceMacro, context, renderMode)

{run:autorun=true\|replace=Name:?Select:select::${choices}}

{sql-query:datasource=acpdatabaseDS} select \* from AC_users {sql-query} {run}

If I execute the above code, I'm getting out put like below

![](../../upfiles/7.png)


Answers:
author: Bob Swift (personal)
body: First, I always recommend when doing more complex things to break it down and make sure each part works as expected, then put it together to get everything working together. In this case

1. Get your run macro working with 2 or 3 item select
2. Run your query separately and make sure it produces the right string
3. Run groovy with \*output=html\* initially to ensure that the result looks like the right markup from your earlier steps or to debug things if it doesn't work. You can always copy/paste into wiki macro to see the rendering.

Specifically to your example here:

1. Your query isn't producing a colon (:) separated list needed by the run macro. Probably you want: **first_name \|\| ':'**
2. Your choiceMacro is being set to a literal string. Use double quotes (") to get ${choiceSql} evaluated
3. You need to use out.println(...) to produce the output data


Tags: bob-swift

run

scaffolding

scriptrunner
is it possible to display issue in confluence from two separate jira instances using jira-issue macro
Asked by Sumit Kumar:

If possible how does it authenticates during requests ?


Answers:
author: SherryX
body: Sumit,

Yes, you can display issues in confluence from two separate instance of Jira.

If you have two jira application links in your confluence, when insert the jira-issue macro you should be able to choose which one you want to display the issues from.

Hope this helps

Sherry

comments: author: Sumit Kumar
body: Thanks .. this is what i was looking for.

I will investigate more on this now and will accept the answer accordingly.

Regards,

Sumit


author: RambanamP
body: In order to authenticate successfully against JIRA, the Confluence user must also be registered as a JIRA user with the same username. check this doc for more information

[](https://confluence.atlassian.com/display/DOC/Setting+Up+Trusted+Communication+between+JIRA+and+Confluence)<https://confluence.atlassian.com/display/DOC/Setting+Up+Trusted+Communication+between+JIRA+and+Confluence>

comments: author: Sumit Kumar
body: I have it configured .... app links are getting created but still there is a issue when i try to display issue from jira instance which is not primary one.

So I asked whether its possible or not to display issues in confluence from two separate instance of Jira
Cannot add poll
Asked by James Rowland:

We have Confluence version 4.3.3 and Polls version 1.3.2 and when trying to insert a poll the "polls" dropdown is empty therefore we cannot add a poll.

The last thing in the log file related to the Polls plugin is:

2013-12-20 15:03:28,907 WARN \[http-8090-33\] \[atlassian.plugin.webresource.DefaultResourceDependencyResolver\] resolveDependencies Cannot find web resource module for: com.atlassian.confluence.plugins.confluence-create-content-plugin:resources

-- url: /plugins/servlet/upm \| userName: jamesr \| referer: <https://confluence.realsecure.flyingcroc.net/plugins/servlet/com.simplenia.confluence.plugins.polls/license>


Answers:
author: Remo Siegwart
body: Hi James, thanks for using our Polls plugin! To be able to select a poll from the dropdown and insert it into a page, you first need to create a poll by either going to the "Polls" section or by using the polls blueprint. Once you've created the poll, you can then use the polls macro to insert it into a page.

Hope this helps

comments: author: James Rowland
body: Doh! I guess I should learn how to use the software. Sorry for a silly question but thank you for the answer.


Tags: addon-com.simplenia.confluence.plugins.polls
Adding watchers / restrictions without going to tools
Asked by Sreenivasaraju P:

Hi,

Confluence admin/space admin can add watchers/restrictions in the tool section.

With out going to tools section, can we add watchers/restrictions on the page ? if yes , how can we do this.

Thanks in advance..


Answers:
author: Sreenivasaraju P
body: Ex: I am creating a meeting notes page, where i will mention the attendees. Only for those attendees i want to give view/edit permission on the meeting notes. As well as i want to add them as watches for that page.

In the current scenario , i have add the same user list 3-4 times.

* once for adding as attendees
* for restricting edit/view permissions
* for adding as watchers.

I hope you understand my scenario. please let me know if you need more details.


author: Taiwo Akindele
body: You may elaborate further on your specific use-case or requirements so everyone is clear on what kind of alternative options you're looking for.


author: Taiwo Akindele
body: If I understand your question correctly:

When you edit any Confluence page, right at the bottom left of the edit page you should have an edit restrictions button.

On any confluence page as well, just next to the edit button there's a watch button to manage watchers.

You can also find keyboard shortcuts to edit and manage watchers here: [](https://confluence.atlassian.com/display/DOC/Keyboard+Shortcuts)<https://confluence.atlassian.com/display/DOC/Keyboard+Shortcuts>

Are you looking for other options apart from these very obvious and convenient ones?


Tags: confluence-administration
Page Details
Asked by kA:

Hi friends,

I created more number of page in a confluence with a common label. It is possilbe to retrieve the data from the pages which has the label by using the "Rest API".

Please share your thoughts,.

Thanks in advance,

Karthik A.


Answers:
author: Stephen Deutsch
body: It is possible, but you need to use a special syntax. You would search like this:

\<your confluence site\>/rest/prototype/1/search/site?label=global:\<label\>

simply replace \<your confluence site\> with the url to access your confluence site, and replace \<label\> with the label you are searching for.

More information can be found on this JIRA ticket:

[https://jira.atlassian.com/browse/CONF-21108?focusedCommentId=499677\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-499677](https://jira.atlassian.com/browse/CONF-21108?focusedCommentId=499677&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-499677)


author: RambanamP
body: i think you can use Search REST api, but i never done this!

check the latest REST doc from here

[](https://docs.atlassian.com/atlassian-confluence/REST/latest/#d2e5)<https://docs.atlassian.com/atlassian-confluence/REST/latest/#d2e5>


Tags: cloud

confluence-cloud
Confluence Pie Chart
Asked by Moran Alon:

I have a page with a table containing a choice field (or a text field), on wich I want to perform a Pie chart table. Is there a way Confluence can recognize the field and count the number of times it appears for each value, and create a pie chart according to this field type, or maybe the Confluence pie chart works only on numeric fields?


Answers:
author: Andrey Khaneev _StiltSoft_
body: [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter) comes with two additional macros: [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) (it can calculate count of each unique value in column) ans [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) (it works with Pivot Table and other dynamic tables). So it is pretty easy to solve your problem using Table Filter.


author: Bob Swift (personal)
body: That is not available with the chart macro. I don't know of another macro that would do that.
Downloaded confluence
Asked by kA:

Hi friends,

It is possible to use my own domain name for downloaded confluence?

Please share your thoughts,

Thanks in advance,

Karthik A.


Answers:
author: karthikys
body: If you are working on to update the domain name of your confluence instance. After updating the Confluence Base URL, you may also need to tweak the DNS settings.

comments: author: Nic Brough -Adaptavist-
body: Be very careful with language here - "redirection" is NOT appropriate, you need a fixed url for Confluence, which is set up in your DNS, and is what you put into Confluence's "base url"

Redirection is only useful when you move Confluence to a new url and want to catch people who have old bookmarks, or you've shut down an old system and want the users to start using Confluence.


author: karthikys
body: Thanks Nic, i've updated my comment.


author: kA
body: Hi Nic,

If confluence was already installed means,how can i change that domain name?

Thanks,

Karthik A.

comments: author: Nic Brough -Adaptavist-
body: Skip the "install" step in the previous comment! (i.e. change your network and the Confluence base url)


author: kA
body: Hi Nic,

Thanks for your updates, can you please update the working steps to perform that one.

Thanks,

Karthik A.

comments: author: Nic Brough -Adaptavist-
body: Set up your network to route traffic to the right place

Install Confluence

Set the base url to match where Confluence will be running


author: Nic Brough -Adaptavist-
body: Yes.

That's a very brief answer, for a very easy question, but I suspect there's more to the question.


Tags: confluence-administration