youngmon/atlassian-qna huggingface dataset:
list of pages being edited
Asked by Ruud Grosmann:

I have to migrate confluence to another machine. Is it possible to get a list of pages being edited, so that I can warn the individual users to save their work before the export of the data really starts?

thanks, Ruud


Answers:
author: Ruud Grosmann
body: It can be done with this query on the confluence database:

```
select creator from content where CONTENTTYPE='DRAFT' and creationdate &gt;= (now() - interval '1 day');
```

or similar


author: Boris Georgiev [Appfire]
body: Currently this does not seem to be possible - see this open issue [](https://jira.atlassian.com/browse/CONF-4943)<https://jira.atlassian.com/browse/CONF-4943>

You may try to implement somthing custom through the confluence API by calling **findDraftsForUser** (com.atlassian.user.User user) from **com.atlassian.confluence.pages.DefaultDraftManager**

comments: author: Ruud Grosmann
body: I have had a good look at the drafts tables in the confluence database, but they don't seem to be updated when I open a page for editing. I use confluence 3.5.9, maybe in that version drafts are not stored in the database.


Tags: confluence-administration
REST api not visible in Confluence
Asked by Stan Malachowski:

I am trying to use the REST api in Confluence 5.4.4. The documentation is somewhat cryptic in that at one point it is described as being in prototype form and elsewhere it says that this is the interface to use. Pressing forward, I managed to load up the REST api browser into my running Confluence, but there are no API's visible. I can see the list in the stand alone Confluence that I have have running fron the SDK. The REST plugin appears to be active in my main production Confluence, but when I try making a call ussing the examples, I get a 'Page not found' error.

What am I missing here?

Thanks,

Stan


Answers:
author: Stan Malachowski
body: It appears to be the version. I upgraed to 5.5 yesterday and the api is visible.


author: Micha?S
body: In confluence 5.4.4 only the prototype API is available, look here: <https://docs.atlassian.com/atlassian-confluence/REST/5.4.4/>


author: Stan Malachowski
body: Andris, thanks for that suggestion. However, this does not seem to affect either the display within the REST api browser or the failure I receivewhen I make a call with CURL. In any case, that option appears to relate to XML-RPC and SOAP access. I did note that the version of the SDK stand alon Confluence instance is higher than mine - 5.5 vs 5.4.4. Perhaps it has not yet been released for general availability(?)


author: Andris Grinbergs
body: Maybe try enabling Remote API in Confluence General Configuration.
copy confluence page AND diagram
Asked by Damien Coutant:

Hello,

When I copy a page containing a diagram source to a destination page, if I change the diagram on the new page, the diagram of the source is changed

How to make the copy created 2 separate diagram

Thanks


Answers:
author: M Hoogenboom
body: I've got a similar issue: If I copy a page with a DiagramLy object on the page, then delete the orginal page, the DiagramLy object on the copied page can not be edited anymore. If I restore the original page from the trash, the editing works again.

We have installed confluence 5.4 and DiagramLy 2.9.1.

Is this designed behaviour or is it a bug?

comments: author: David Benson _draw_io_
body: This is fixed in the latest version, see \[[DFC-6](https://drawio.atlassian.net/browse/DFC-6)\], you just need to upgrade.


author: David Benson _draw_io_
body: I've created an issue for this - <https://drawio.atlassian.net/browse/DFC-12>[. We don't expect you to have to work around this, we'll get it fixed.](https://drawio.atlassian.net/browse/DFC-12.)


author: Damien Coutant
body: I found how to bypass the problem :

1- create "source page" + diagram source wiht just 1 object

2- create "destination page" + diagram source wiht no object

3- edit diagram on "source page" , go to menu Options / Advanced / modifier

4 select all the text and copy / exit

5- edit diagram on "destination page", go to Options / advanced / modifier

6 - paste le text and save with replace option.

--\> the 2 diagram are identical and independent

<br />

<br />


author: Damien Coutant
body: I can't connect to your JIRA because i'm not OnDemand user.

My versions are : Confluence 5.3.1 / Draw.io 3.1.1

I've just make en new test :

1- create "source page" + diagram source wiht just 1 object

2- copy "source page" to "destination page"

3- edit diagram on "destination page" / save

--\> the diagram on "source page" have been modified too.


author: Damien Coutant
body: I can't connect to your JIRA because i'm not OnDemand user.

My versions are : Confluence 5.3.1 / Draw.io 3.1.1

I've just make en new test :

1- create "source page" + diagram source wiht just 1 object

2- copy "source page" to "destination page"

3- edit diagram on "destination page" / save

--\> the diagram on "source page" have been modified too.


author: David Benson _draw_io_
body: There was a change in 3.1.0 to make a deep copy of diagrams when copying the macro, see [DFC-1](https://drawio.atlassian.net/browse/DFC-1). If copying a page makes a shallow copy, that's not the intended behaviour. If that's the case, sign up to our [JIRA](https://drawio.atlassian.net) and I'll give you posting permissions to enter a bug.


Tags: addon-com.mxgraph.confluence.plugins.diagramly

draw.io
What is the confluence version compatible for JIRA 6.0.8 version?
Asked by Srinivas Patruni:

What is the confluence version compatible for JIRA 6.0.8 version? The compatibility matrix from Atlassian Documentation has not mentioned about the confluence version compatible for JIRA 6.0.X having 3.11 version of AppLinks plugin.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hello Srinivas,

the following link [](https://confluence.atlassian.com/display/APPLINKS/Application+Links+Version+Matrix)<https://confluence.atlassian.com/display/APPLINKS/Application+Links+Version+Matrix>shows the AppLink version compatibility with all Atlassian tool.

Hope this helps

Fabio

comments: author: Sebastian Gomez
body: Thank you for the response [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)

So if I am understanding the table correctly, Jira version 7.4 is only compatible with Confluence 6.2, and you need to have a plugin called "AppLinks" version 5.3.2 for them to link properly?

![Jira Compatibility.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/61243i9FE35816B05CF647/image-dimensions/550x38?v=v2 "Jira Compatibility.PNG")


author: Fabio Racobaldo _Herzum_
body: Confluence 6.3. Btw, it's correct :)
Giving access to a User Guide created in Confluence to a non-Confluence user
Asked by Anatoly Klebanov:

Is it possible to create a user guide in Confluence and then give access to it to someone who does not have a Confluence license, such as a client?

Thank you!


Answers:
author: Kay Brown
body: Yes, if you give access to anonomous users.


author: Gorka Puente _Appfire_
body: Hi @Anatoly Klebanov,

We've released this week the new version of Share Attachments and Pages

<https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.share-attachments>

With this new version you can share your attachments and send your pages (your user guide) to non-Confluence users (your client). Just generate a unique link and share it like you do in Dropbox!

Give it a try and let me know what you think!

Regards,

Gorka


Tags: cloud

confluence-cloud
Is there anyway to do re-indexing in confluence
Asked by david martin:

Hello:

Users are now noticing links that now do nothing or go nowhere in confluence. Is there anyway to re-index in confluence so that we can recreate those links/pointers like you can in jira?

Maybe I was not clear with my problem. I have these two web page links that use to bring up the same page and now neither one of these links does anything but time out.

<https://confluence/pages/viewpage.action?pageId=51741296>

[](https://confluence/display/SR/Monthly+Status+Report)<https://confluence/display/SR/Monthly+Status+Report>

users are noticing that this has happened a few places with confluence pages.


Answers:
author: Rodrigo Girardi Adami
body: Also in addition to Andris, you can also reindex from scratch by shutting down confluence, deleting the index folder in confluence_home/index, starting the application and rebuilding indexes.  

Maybe you can explain a bit more about the link/pointers so we can check that?  

Cheers,  

Rodrigo


author: Andris Grinbergs
body: Not sure what do you mean with links/pointers, but you can re-index confluence search:

[](https://confluence.atlassian.com/display/DOC/Content+Index+Administration)<https://confluence.atlassian.com/display/DOC/Content+Index+Administration>

[](https://confluence.atlassian.com/display/CONFKB/Searching+and+Indexing+Troubleshooting)<https://confluence.atlassian.com/display/CONFKB/Searching+and+Indexing+Troubleshooting>


Tags: confluence-administration
Create Numbered lists in a table column
Asked by Veronica Baker:

How do you create numbered lists in a table column that automatically update if you add or remove a row?


Answers:
author: Bob Swift (personal)
body: [Advanced Tables for Confluence](https://bobswift.atlassian.net/wiki/display/TBL) has the [Table Plus Macro](https://bobswift.atlassian.net/wiki/display/TBL/Table+Plus+Macro) which supports an autoNumber parameter that addes a column to the front of the table. [Autonumbering Rows and Auto-totalling Numeric Columns](https://bobswift.atlassian.net/wiki/display/TBL/Autonumbering+Rows+and+Auto-totalling+Numeric+Columns) is an example.


author: Davin Studer
body: I think you might have to use javascript to do it for you automatically.

comments: author: Davin Studer
body: Here is a user macro that I think works for what you are trying to do. Once you have created the user macro then wrap your tables with the table_autonumber macro and it will autonumber all the table rows that are not heading rows.

Macro Name:  
table_autonumber

Macro Title:  
Table Autonumber

Macro Body Processing:  
Rendered

Template:  
## Developed by: Davin Studer  
## Date created: 04/30/2014  
## @noparams  

#set( $id = $action.dateFormatter.calendar.timeInMillis )  
\<div id="$id"\>$body\</div\>  
\<script type="text/javascript"\>  
AJS.toInit(function(){  
AJS.$('#$id table').each(function(){  
var count = 1;  

AJS.$('tr', this).each(function(){  
if(AJS.$('th',this).length != 0) {  
AJS.$(this).prepend('\<th class="confluenceTh"\> \</th\>');  
} else {  
AJS.$(this).prepend('\<td class="confluenceTd"\>' + count + '\</td\>');  
count++;  
}  
});  
});  
});  
\</script\>


author: Bob Swift (personal)
body: When in a table cell, start typing with a **#** then **space** and you have a numbered list.

comments: author: Davin Studer
body: You have to type a space after the # for Confluence to start a list, but I don't think this will number the rows like she would like.


author: Bob Swift (personal)
body: Yes, thanks for the correction. I guess it was not clear to me what she intended. I will provide a different answer if that is what she intended. I was thrown off by the term **numbered lists**. In any case, both meanings are covered by answers :).
How do we update all Confluence user profile with a file?
Asked by Amanda Chu:

Is there a script or a way to update all Confluence user profile with a file at once?


Answers:
author: Davin Studer
body: Check into the [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP/Confluence+Command+Line+Interface).


author: Timothy
body: You might be able to do it using the REST API ([](https://confluence.atlassian.com/plugins/servlet/restbrowser#/resource/json-rpc-confluenceservice-v2-edituser)<https://confluence.atlassian.com/plugins/servlet/restbrowser#/resource/json-rpc-confluenceservice-v2-edituser>).


Tags: cloud

confluence-cloud
How do I set the side bar show/hide button to default to "hide" in certain spaces?
Asked by Katherine Wertz:

We would like to hide the side bar in some spaces by setting the show/hide button to default to "hide" instead of "show." Is there some sort of setting in Confluence that allows changing this default on a space by space basis, or would we need to use JQuery? If the latter, what would you recommend using? We use the documentation theme in the spaces concerned and run Confluence 5.4.4.

Thanks!


Answers:
author: Davin Studer
body: You could write some JavaScipt to progrmatically click the collapse button on page load for the spaces where you want this to happen. I have done this in the past.

comments: author: Katherine Wertz
body: Thanks. :) Any suggestions on what code to use or code resources? I'm a newbie to JavaScript.


author: Davin Studer
body: Are you using the default theme or documentation theme?


author: Katherine Wertz
body: Documentation theme.


author: Davin Studer
body: I gave an answer to this same question on this page.

[](/questions/3308/how-can-i-hide-the-left-sidebar-on-some-pages-when-using-the-documentation-theme)<https://answers.atlassian.com/questions/3308/how-can-i-hide-the-left-sidebar-on-some-pages-when-using-the-documentation-theme>


author: Katherine Wertz
body: Thanks. :)


Tags: confluence-administration
UserMacro - String to UpperCase
Asked by RM@DGI:

Is there a simple way (inside a user macro) to convert a string to uppercase ?

Already tried #set ($myString = $myString.upperCase()) etc. without any luck.

I need this for comparing string case-insensitive ...

Thnx !


Answers:
author: Davin Studer
body: Try this

#set ($myString = $myString.toUpperCase())

comments: author: RM@DGI
body: Hi Davin !

Works fine. Thnx a lot!

Robert


author: Davin Studer
body: Glad to hear it! Feel free to check mark this answer.


Tags: confluence-administration
Include pages into another
Asked by Sara Steidinger:

Hi Maggie Modersohn,  

hope your doing well?  
I have question regarding our SVA Wiki.  

A colleague of mine tried to include a site into another. Usually this makro works perfectly, but we tried it a few times and every time an error message appears.  
Do you have any idea of the reason for this problem?  

Looking forward to your answer!  
Kind regards  
Sara


Answers:
author: Sara Steidinger
body: Thank you Jennifer!!


author: Sara Steidinger
body: ![](../../upfiles/Includepage.jpg)


author: Jennifer S
body: Hi Sara,

This has happened to us before when we had certain special characters in the page title of the page we were trying to include. Not sure if that is what is happening with your pages, but thought I would throw it out there.


author: Administrator
body: Hi Sara,

could you provide the error-message that is shown?

BR

Dominik


author: Administrator
body: Hi Sara,

could you provide the error-message that is shown?

BR

Dominik
ImageMap Plugin compatibility with Confluence 5.4.4
Asked by Iakov Dlikman:

Hi all,

The compatibility manager in our Confluence 4.2.7 instance shows the ImageMap as incompatible with Confluence 5.4.4. Is there any solution for this or can you recommend another plugin?

Kind Regards

Iakov


Answers:
author: Christoph Giess
body: The ImageMap Plugin still works with Confluence 5.4 and 5.5.  
After looking at the code (it is available [](https://bitbucket.org/tkrug0210/imgmp)<https://bitbucket.org/tkrug0210/imgmp>) I am quite confident that the plugin will work without change in upcoming Confluence versions too.

The warning shown by the plugin manager is solely based on the compatibility information at [](https://marketplace.atlassian.com/plugins/de.dl.confluence.plugin.imagemap.ImageMapPlugin)<https://marketplace.atlassian.com/plugins/de.dl.confluence.plugin.imagemap.ImageMapPlugin>.

I assume that these warnings were introduced to scare Confluence admins and to force them to buy the newest versions of all plugins ...


author: Iakov Dlikman
body: Hi all,

thanks a lot for your answers. Confluence 5.3.4 has the option to request an update for Imagemap macro through the UPM and that is what I did.

In addition the user of our Confluence instance who used Imagemap macro proposed to swith to Gliffy Plugin.

Best Regards

Iakov


author: Guilherme Nedel [Atlassian]
body: Hello Iakov, you maybe you can employ the [Lozenge macro](https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.contentFormattingMacros)(a component of the Content Formatting bundle) which does deliver a similar functionality, making links appealing through graphic content.


author: Rodrigo Girardi Adami
body: Hi Iakov,

It seems the plugin is not compatible indeed as we can see in market place page [here](https://marketplace.atlassian.com/plugins/de.dl.confluence.plugin.imagemap.ImageMapPlugin).

The latest compatible version is 4.3.7 and it seems to have stalled there. I suggest to contact the developer for more information if they intend to continue with the plugin development.

I have searched over marketplace but didn't find a similar functionality with another plugin. I think the best is to reach the devs for the plugin though.

Cheers,

Rodrigo


Tags: confluence-administration

image-map
Auto Import in a Space
Asked by Bj?rn Eitmann:

Hi\*

We want to import article out of our Service Desk Tool automatically into a Confluence Space. So everybody is able to search for a solution befor contacting the service desk.

Any ideas, how to do that?

Best,

Bj?rn


Answers:
author: Bj?rn Eitmann
body: No, our Service Desk Tool is not JIRA. How could we import maybe ?XML-Sites? automatically in a Confluence Space?


author: Boris Georgiev [Appfire]
body: I think that article describes how to achieve that:

[](https://confluence.atlassian.com/display/SERVICEDESK/Connecting+to+a+Knowledge+Base)<https://confluence.atlassian.com/display/SERVICEDESK/Connecting+to+a+Knowledge+Base>


Tags: confluence-administration

jira-service-desk
Is there anyway to secure individual Confluence Answers to groups?
Asked by Ben Shoemate:

Imagine if a question (or its answer) starts to drift into a confidential or intellictual property area. Is there a way to secure the question to a given group?


Answers:
author: Ben Shoemate
body: It looks like others have asked this same question and the answer appears to be No. [](https://jira.atlassian.com/browse/CQ-364)<https://jira.atlassian.com/browse/CQ-364>

Does anyone else have experince with this? a work around, or add-on?


Tags: community
Basic Macros & Table of Contents Plugins Disabled
Asked by Steven Schwartz:

Over the last weekend, the ToC plugin and the Basic Macros bundle in our hosted Confluence instance were disabled; I do not see any way to re-enable them.

Can someone tell me how to do this? It has lost us a lot of content present on many pages. I \*hope\* that content will return when the plug-ins are re-enabled.


Answers:
author: Mauro Badii
body: Hi Steven,

It might be due to a timeout when starting up Confluence. I suggest creating a support request at [support.atlassian.com](http://support.atlassian.com) as it will probably require a restart to start the plugin.

Regards,  
Mauro


Tags: cloud

confluence-cloud
Migrating users from one directory to another.
Asked by Cesar Covarrubias:

I am trying to migrate my Confluence users from the internal directory to an internal directory with LDAP. Usernames match both in Confluence and LDAP. I've already added the new directory and moved it up in the order. When I try to login, I get the following error:

```
WARN [http-8090-2] [atlassian.seraph.auth.DefaultAuthenticator] login login : 'user' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
```

Thoughts?


Answers:
author: Marcus Silveira
body: It seems the user may not have the necessary permissions to access the application as Andris mentioned.

Check the list of groups associated to your user and verify if he's a member of any of the groups associated to the "Can Use" [Global permission](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview)

If he's a member, then the user directory added to Confluence is not able to see that user in your LDAP server. If that is the case, try opening a ticket at [support.atlassian.com](http://support.atlassian.com)so we can help you with the configuration.

Hope this helps


author: William Crighton [CCC]
body: You say 'Confluence users from the internal directory to an internal directory with LDAP' - I guess you mean 'external directory with LDAP'? This sounds like something best handled by Atlassian support - for any help, anywhere, you'd have to provide confluence versions, DAP provider/version, among other things.

Have you tried any of the suggestions listed here?

* [Migrating to LDAP](http://confluence.atlassian.com/display/CROWD/Configuring+a+Delegated+Authentication+Directory)


author: krishk
body: Try manually synchronizing the new directory.


author: Luciano Fagundes
body: Have you tried to disable the old directory besides changing the order to see how it goes?


author: Andris Grinbergs
body: Check if that user is in group which have global permission "Can Use".


Tags: confluence-administration

jira
Why do I have duplicate users in my People Directory?
Asked by Nick Hudkins:

After creating a personal space, I noticed that I was having trouble creating a Task Report with the assignee as myself. I was getting 500s at

/wiki/rest/prototype/1/search/user.json?max-results=6\&query=Nick\&_=1398717028496

Stack trace:

[](http://pastebin.com/mvpf1d1C)<http://pastebin.com/mvpf1d1C>

When I checked the People Directory, I noticed 3 of myself.

Halp!


Answers:
author: Mauro Badii
body: Hi Nick,

There is a current bug on OnDemand that causes duplicates in the people directory but it can be easily fixed by contacting support. The bug is [CONF-9857](https://jira.atlassian.com/browse/CONF-9857)

As it will require a restart to update the database, please let us know when it will be the best time to do so.

Sorry about the inconvenience.

Regards,  
Mauro

comments: author: Mauro Badii
body: To contact OnDemand Support please create an issue at [support.atlassian.com](http://support.atlassian.com)


Tags: cloud

confluence-cloud
Formatting text imported from Word
Asked by Jim Thames:

I've imported a document into Confluence 5.3.4 and need to correct some formatting, specifically applying the "preformatted" style to text in a section of the document. But when I select the target text and apply the sytle from the menu the entire block of text is changed, figure number, figure title title and all text before and after the selection. It would appear that the Confluence editor is keeping blocks behind the scenes and applying styles according to those block rather than my selection.

The blocks in question originalted from a "Firgure" markup in Word 2010.

Any ideas as to what it going on and how to fix it?


Answers:
author: Jim Thames
body: Just had an "ah ha!!" moment...  

Selected the "Insert" drop down, "Other Macros" selection and added a "No format" block to the page and did a cut/paste of the text into the block. Works fine.   

Can't say that this is as intuitive as I'd like but it works.
Redirect some URLs without going to login page first
Asked by Brian Wilkins:

Retina is flagging on the ability to access /admin/blocks.php. In reality, Confluence just redirects to a Login Page which Confluence returns HTTP Status Code 200 in the HTTP Header. I would like for the ability to selectively redirect users who try to access /admin/blocks.php to a 404 page and not a login page initially. Is it possible to do this by editing the web.xml and urlrewrite.xml under WEB-INF? I tried to do this, but it kept going to the login.action page.


Answers:
author: Timothy
body: I would suggest you to do this with Apache's mod_rewrite instead.
Can I create text in edit view that does not display in read view?
Asked by Susan Parker:

Is there a way to put text into the edit view of a regular confluence page that does not display when the page is viewed/displayed?


Answers:
author: Adrien Ragot 2
body: I'd suggest this workaround: Use the {collapse} macro. The message "Click to expand..." can be customized, so replace it with an empty string or a space.


Tags: confluence-cloud