youngmon/atlassian-qna huggingface dataset:
Searching and replacing text in confluence
Asked by Avinash:

Hi,

Is there way to search for a particular word and replace it with some other word in confluence? I have a lot of content and want to search for a word say "skills" and replace it with "competencies" through out my space. I know we have ctrl+f to find a word in a page but its cumbersome if you have many pages. Any solution is greatly appreciated!

Thanks!


Answers:
author: Bob Swift (personal)
body: [How to automate adding text to Confluence pages](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+automate+adding+text+to+Confluence+pages) but be careful with your searching to make sure you don't get unintensional replaces. Especially for simple words. Consider using regex to narrow the find pattern.


Tags: replace

search

text
I'm trying to add a simple Jira filter to Confluence but...
Asked by Robert Pepitone:

I'm getting the following error in preview mode "Error on line 123: The element type "link" must be terminated by the matching end-tag "\</link\>". \<br/\> class java.IOException

This is the URL I'm copying from Jira

[https://investoranalytics.atlassian.net/secure/IssueNavigator.jspa?mode=hide\&requestId=10200#](https://investoranalytics.atlassian.net/secure/IssueNavigator.jspa?mode=hide&requestId=10200)

What am I doing wrong?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: If you are using the JIRA issues macro, you should use the url of the XML View of the search.

comments: author: TimT
body: To add a little more detail to this answer, please see this documentation page to learn how to get the URL of the XML view: <https://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro>


Tags: cloud

confluence-cloud
Atlassian Answers Functionality
Asked by Kyle Schuetz:

I am currently setting up a developer collaboration site using Confluence. I am trying to build a message board like functionality that is very similar to the way the Answers section is built. I would like to speak with a developer of that area if at all possible to discuss how to set up a similar area for my team.


Answers:
author: Ellen Feaheny [AppFusions]
body: Hmm - interesting idea.

Atlassian Answers is not Confluence though -

It is running this: <http://www.osqa.net/>

Look familiar?

You could do some-answers-like things with Confluence too though.

If you want Confluence as the base, I think it would be good to start with a theme, like [Zen Foundation](https://marketplace.atlassian.com/plugins/com.zenfoundation) - and then with mixes of custom user macros or plugins, could build out additional functionality.

Not a bad idea either - so don't throw that idea away.

Happy to discuss more wiith you.

Ellen  
ellen@appfusions.com


author: Jeremy Largman
body: What Ellen said is right. You can also look here:

<https://confluence.atlassian.com/display/DISC/Confluence+as+a+Forum>
Can I get Confluence to Prompt new users with EULA and track responses?
Asked by Peter Kahn:

Hi all,

At present I use a custom plugin to prompt users with a EULA and then track the date/time of their acceptance. To upgrade confluence from 3.4.8 to current I must re-write this plugin. Before I do that, I'd like to know if anyone know how to handle this without writing my own custom plugin.

Thanks

Peter


Answers:
author: Ellen Feaheny [AppFusions]
body: Hi Peter

We'd be happy to help you update the custom plugin - but yes, you need to update the compatibility for that plugin since it is custom.

Compatibility updates are especially needed between major releases (for example 3.X and 4.X) typically.

Depending on the interaction, its likely not that big of an effort though for experienced Atlassian-skilled developers.

Email if you just want it done fast/no headache.

Best,

Ellen

AppFusions   
info@appfusions.com  

comments: author: Peter Kahn
body: Thanks, but the pluign is quite small and I think I can handle it. I just wanted to know if there was an alternative. No reason to update if the functionality is now "baked in" to confluence.

Peter
Why can't a user save older versions of a page as a Microsoft Word file?
Asked by David Plambeck:

I have a user who creates documents of older versions of his pages. On the current version of the page, he has the choice of saving it as a PDC or as a Word file. On older versions of the page, he only has the choice of saving it as a PDF. Is this intentional, or is there some setting I can check regarding this issue?

Thanks.


Answers:
author: Renjith Pillai
body: Good observation :)

But you can still get word document for older versions if you get the pageid (which you can get from the link for the PDF file). Use that and put in into the URL for the Word. For example

https://\<\<yourconfluence\>\>/exportword?pageId=\<\<idforthepagefrompdflink\>\>


Tags: export

ms-word

page
Why is my new favicon not displayed in IE9?
Asked by Tim1979:

I've made these changes.  

[https://confluence.atlassian.com/display/DOC/Changing+the+Confluence+Browser+Icon,+aka+favicon](https://confluence.atlassian.com/display/DOC/Changing+the+Confluence+Browser+Icon%2C+aka+favicon)

<br />

but the favicon is not displayed in IE9? in firefox and chrome, it works!

thank you for your help

Atlassian Confluence 4.2.8


Answers:
author: Alejandro Conde Carrillo
body: May be you can try deleting your browser cache: Options \> Safety \> delete browsing history. Select at least temporary internet files.


Tags: favicon

internet-explorer
"Wiki" macro to retain wiki markup formatting inside object in Rich Text Editor
Asked by Ashton Treadway:

Hi:

Is there any macro that will allow a user to paste wiki markup into an object on a page (similarly to the noformat macro) so that the markup is rendered, but not converted?

What I'm envisioning is something like the code macro for wiki formatting.


Answers:
author: Bob Swift (personal)
body: [Confluence Wiki Plugin](https://bobswift.atlassian.net/wiki/display/CWP)


author: Adolfo Casari
body: This plugin can be used with 3rd party plugins (like scaffolding or reporting) or is it good only with those plugins bundled with confluence (like attachments, toc, etc.)?


author: Ellen Feaheny [AppFusions]
body: Whoa - Genius! Brilliant SIMPLE yet powerful idea!!!

I just installed and did:

```
{wiki}!balance.jpg|align=right,valign=top!{wiki}
```

Being able to control the image placement has been a total thorn for me in Conf 4.X - and this fixes.

==

yayayayayay Bob!! Hero!

You made my day! No, week.

![](../../../upfiles/balance.jpg)


author: Ashton Treadway
body: Bob: we tried installing that on both 4.2.6 and 43m11 and weren't able to get it to work; nothing in the macro chooser, and nothing when we try { and wiki. Plugin manager claims it's installed, but we're unable to utilize it.

comments: author: Bob Swift (personal)
body: Use insert wiki markup.


author: Ashton Treadway
body: Wow, talk about PEBKAC on my part. Sorry!


author: Bob Swift (personal)
body: No problem. A new release of the plugin for 4.x will also have a native 4.x macro (macro browser) to make it easier.


Tags: markup
Ideas for adding an easter egg to Confluence
Asked by Matthew J. Horn:

We're getting ready to roll out our Confluence-based Developer Center. It's been a 7 month project and I've heavily customized the look and feel to suit our needs and incorporate some really great designs.

So now, I want to add an easter egg to the site, but am curious if anyone has any ideas? Some obvious ideas include a hidden popup that displays the team members' names, or a picture of a mascot that shows up with some keyboard combination... I dunno. Looking for inspiration...


Answers:
author: Alejandro Conde Carrillo
body: Not exactly an easter egg, but you could write a macro which displays the name of the user reading a page and create a page explaining why everybody in the company/community hates that person (the user reading the article).
Exporting Specific Parts of a Confluence Space using xmlrpc api.
Asked by Alex Wong:

I am currently trying to write a script to do a pdf export of a space and then download the pdf. This space is quite large and it constantly gives me a gateway timed out exception.  
When I try to export a smaller space it returns a link just fine. Is there something I can do to extend the timeout time?

Also, we do not want all of the space, is there a way of only selecting what we want to export like the plugin allows us to but using the api?


Answers:
author: Ellen Feaheny [AppFusions]
body: Did you see this - maybe a little easier?

<https://confluence.atlassian.com/display/DOC/Providing+PDF+Versions+of+your+Technical+Documentation>

Also [ScrollWiki PDF Exporter](http://www.k15t.com/display/en/Scroll-Wiki-Enhanced-PDF-Exporter-for-Confluence-Overview)

Though if you have OnDemand, no ScrollWiki option - can't install that.

If this is a big deal (like you are going to be doing documentation like this repeatedly), it might be worth it to move to another hosting option, where you can have ScrollWiki and any plugin at [Atlassian Marketplace](https://marketplace.atlassian.com) - yet also have 24x7 no headache Atlassian-skilled support, like you have with OnDemand.

If interested, can explain - email me. [ellen@appfusions.com](mailto:ellen@appfusions.com)

Best,

Ellen


Tags: cloud

confluence-cloud
Can I see who is watching my space or page?
Asked by Tim Sabens:

I would like to view a list of users that watch my page or space, is there a way to see this information in Confluence?  
[](https://community.atlassian.com/t5/Confluence-questions/Can-I-see-who-is-watching-my-space-or-page/qaq-p/439459?attachment-id=9731){#link_1196bc5af77bd4}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/74528/1/image2017-1-26%2012%3A9%3A45.png){#display_1196bc5af77bd4_0}


Answers:
author: Kay Brown
body: From the Tools menu, there is a Manage Watchers option. I am not sure if this is only visible to Space/System Administrators.

Regards,

Kay

comments: author: Renjith Pillai
body: That's only for Space Admins.


author: AndrewP
body: It is only available to Space Admin and Sys Admins


author: Jen
body: where can we find the watchers menu?


author: AnnWorley
body: [@Jen](/t5/user/viewprofilepage/user-id/636710)From your profile it looks like you are using Confluence Cloud. If you are a space administrator you may view the watchers by clicking the grey eye icon on the top right and then the Manage Watchers link:

![Screen Shot 2018-04-27 at 11.28.40 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/20846iCB55954AFFF806A1/image-dimensions/457x229?v=v2 "Screen Shot 2018-04-27 at 11.28.40 AM.png")

It will bring up this window:

![Screen Shot 2018-04-27 at 11.28.29 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/20847i20CD3E3B03555C63/image-dimensions/634x390?v=v2 "Screen Shot 2018-04-27 at 11.28.29 AM.png")


author: Forrest Aldrich
body: The "Manage Watchers" option is actually located in the Watch menu, not tools.

comments: author: Smaranda Calin
body: But where is the Watch menu? :smile:


author: Tim Oppenlander
body: Right between Edit and Share in the upper right corner of the page:

image2017-1-26 12:9:45.png


author: Satheesh
body: Click the number you see near to "Watchers:". You will get the list of watches. You have the provision to add watches as well here

Note: Don't click "Stop watching this issue" shown near to "Watchers:" for viewing list of watchers. This will remove you from watching the issue

comments: author: Max
body: This answer applies to JIRA, not Confluence.
Multi-language
Asked by Arantxa Lacasa Madero:

Hello,

Is Confluence able to have the same page written in diferent languages?

And then, when choosing one language or other, the page shows its content in that language.

Any plugin or something?

Thanks!


Answers:
author: JohnA
body: Hi Arantxa,

It isn't possible to do this out-of-the-box but the Confluence Language plugin by Bitvoodoo performs the functionality you are looking for. The plugin is free so I would suggest that you check it out and see whether it performs the function you need: <https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.language>

All the best,  
John


author: Alessandro Distefano
body: Hi everyone,  
We have developed an add-on that attempts to solve some of the multilanguage content issues on Confluence Cloud. This add-on is currently in free beta testing.

We would like to collect suggestions and feedbacks on how to improve it and which features would be most useful for you.

If anyone is interested to try it:

Marketplace link: [https://marketplace.atlassian.com/apps/1222713/lango-language-and-translation-manager?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1222713/lango-language-and-translation-manager?hosting=cloud&tab=overview)  
Our contact for feedbacks and suggestions: support@adapps.atlassian.net


author: Kilian Bazin
body: Hi Arantxa and John,

Thank you for this helpful answer. Can we get the same stuff for a cloud version of Confluence ?

I didn't find it on the marketplace.

all the best,

Kilian


author: Renjith Pillai
body: Also have a look at Ellen's answer on another thread [here](/questions/72208/organizing-and-displaying-content-in-multiple-languages?page=1#72914)
Is it possible for the search to type in a wiki markup page name?
Asked by Shane Day:

This one annoys power users - I know the exact Confluence page name I want to go to, but to get there quickly I need to stuff around with URIs.

Is there a way to use the search box to go directly to the page I want?


Answers:
author: Shane Day
body: Given that search in Atlassian OnDemand is completely crippled now, the answer is "No, it isn't possible"


author: Jakub Pierzcha?a
body: Hi Shane

Quick Search in the top right corner supports autocomplete.

Just start typing the page name and it should show you the pages matching the name you're entering

comments: author: Shane Day
body: That would work, if I didn't have many pages of the same name. For example, as I have a space for each of our customers, and they all have the same structure, there's over 50 pages called "Engagements"


Tags: cloud

confluence-cloud
How do I use addProfilePicture() in python?
Asked by Pat Corwin:

I'm looking at the docs: [http://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/rpc/soap/XhtmlSoapService.html#addProfilePicture(java.lang.String](http://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/rpc/soap/XhtmlSoapService.html#addProfilePicture%28java.lang.String), java.lang.String, java.lang.String, java.lang.String, byte\[\])

and I am able to login. Now I am trying to add a profile picture (I do have permissions) and the code looks like this:

with open('C:/roster/face.png', 'rb') as p:

pic = p.read()

server.confluence1.addProfilePicture( token, userName, 'face.png', 'image/png', pic )

And the (truncated for brevity) error I get is:

File "R:\\Tools\\Python\\2.6\\lib\\xmlrpclib.py", line 604, in close

self._parser.Parse("", 1) # end of data

ExpatError: no element found: line 1, column 0

What am I doing wrong? I know my token and userName are correct. There isn't much direction for the mime type but it looks like that's all it expects. I hope the docs get more examples.


Answers:
author: Remo Siegwart
body: The following script works for me:

```
#!/usr/bin/pythonimport xmlrpclib"""create a proxy object with methods that can be usedto invoke corresponding RPC calls on the remote server"""server = xmlrpclib.ServerProxy('http://path.to.your.confluence/rpc/xmlrpc')try:    """ log in a user    Returns a String authentication token to be passed as authentication to    all other remote calls. It's not bulletproof auth, but it will do for now.    Must be called before any other method in a 'remote conversation'.    From 1.3 onwards, you can supply an empty string as the token to be treated    as being the anonymous user.    """    token = server.confluence1.login('username', 'password');    """ add profile picture    Read a file and add it as new profile picture to specified user    """    pictureData = xmlrpclib.Binary(open('/path/to/avatar.png').read())    profilePictureAdded = server.confluence1.addProfilePicture(token, 'username', 'avatar.png', 'image/png', pictureData)    if profilePictureAdded:        print "Successfully added new profile picture..."    else:        print "Failed to add new profile picture..."except xmlrpclib.Fault, err:    print "Fault code: %d" % err.faultCode    print "Fault string: %s" % err.faultString
```

Hope this helps

comments: author: Pat Corwin
body: I had to open() with 'rb', but that is exactly what I was looking for. Thanks!


Tags: profile

python
reporting on user traffic and logins
Asked by Ashley C:

Hello,

My group is building a product manual with Confluence and our customers will, of course, have access to this. We would like to be able to track how much traffic each page gets, as well as who's logging in and using the provided resources and who isn't. I've been tasked with finding out if this is possible and what the best way to do it is. I know there's a couple plugins for reporting, but I'd like to get a better idea of which method would be best before we go testing plugins out. It's pretty important that we be able to do this with ease, and out of sight of the customers.

Thanks,

Ash


Answers:
author: Renjith Pillai
body: One more https://marketplace.atlassian.com/269


author: CharlesH
body: There's a great little macro in the following post for listing last login date/time for all users. Will also indicate clearly who hadn't logged in yet. <https://answers.atlassian.com/questions/33385/macro-that-produces-a-list-of-users-last-login-date>


author: Kay Brown
body: You might have a look at the Usage Tracking plugin:

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.ext.usage>

Regards,

Kay
Can you batch change the location of linked files in Confluence?
Asked by JeremyD:

We are consoidating several file stores into on SAN device but our users have linked a large number of files in confluance, is there an easy way to mass edit these links to point to the correct location without manually changing them?


Answers:
author: Bob Swift (personal)
body: See [How to automate adding text to Confluence pages](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+automate+adding+text+to+Confluence+pages)
Sidebar Does not Show up on Ipad/iPhone
Asked by Robin Cavanaugh:

Hi.

The Sidebar in the Documentation Theme does not show up when the content/space is viewed using an iphone or iPad. Is there some way to ensure that the sidebar shows up regardless of browser type?

Thanks

Robin


Answers:
author: Amalia
body: It is [not officially supported](https://confluence.atlassian.com/display/CONF42/Supported+Platforms#SupportedPlatforms-8). Here's the improvement request: <https://jira.atlassian.com/browse/CONF-19524>

comments: author: Robin Cavanaugh
body: Ok. Thanks.

Any idea where one might go to allow the LHS to at least show on mobile safari? I realize that it is not supported, however since this is a key navigation element, it would be nice make a quick change to see if it will render at all... Maybe something in the use-agent detection stuff?

Robin


author: Amalia
body: I'm not too sure as I never tested it before. But if you want to try tweaking the documentation theme, you can do that by editing the Velocity template file. The documentation theme is actually part of Confluence bundled plugin. Go to *\<confluence-install\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup* and open *atlassian-bundled-plugins.zip.* Locate and open *doctheme-x.x.x.jar* file. The template file itself is *main.vmd* which resides in *doctheme/decorators* folder.


author: Robin Cavanaugh
body: Thanks for the pointer. For anyone else willing to deal with the unsupported and somewhat strange behavior of enabling the sidebar on Mobile browsers, the file you are interested in is:

\<confluence-install\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/\[atlassian-bundled-plugins.zip\]/\[doctheme-x.x.x.jar\]/doctheme/doc-theme.js

The adjust the logic or do something better around the code

if(DetectMobile()) {  
AJS.$("#splitter-sidebar").hide();  
} else {  
...  
}  

Robin
Is it possible to change the background color of headings ?
Asked by Daisuke Niwa:

Hello,

When you select headings 1 - headings 6 in Confluence rich text editor and type letters, the background color of those letters are white. Is it possible to change it to, say, blue?

Please let us know if you have an idea.

Regards,

Daisuke Niwa


Answers:
author: RianA
body: Hi Daisuke,

I think it would be possible to do it through CSS hack. For more information please refer to the following documentation.  
\* <https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS>

For example for changing the background color of h1

```
.wiki-content h1 {  background-color:blue;  }
```

Hope it helps. Cheers,  
Josua
We have Confluence hosted and would like to move to Confluence OnDemand later this year. Is there a way to move our data over?
Asked by Lars Damkjaer:

We have Confluence hosted and would like to move to Confluence OnDemand later this year. Is there a way to move our data over? Our hosted instance is using an Oracle DB but we also have daily xml backups. Can we use one of these xml backs for importing into Ondemand? In an earlier answer to almost the same question it says that you (Atlassian) can provide a backup for the hosted version but i guess that is wrong since you do not have access to our system. So - can we use the xml backup and restore it into ondemand or is there another way?

Best regards - Lars


Answers:
author: JohnA
body: Hi Lars,

You can indeed import your Confluence data into OnDemand, although it needs to be exported/imported in XML format and Space by Space rather than as one Full Site backup like the ones you are currently taking as daily backups. You can read about how to export your data in XML format, Space by Space, in this document: <https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML>

However, one challenge you may face is that importing Spaces is only possible when they have come from the same 'Major Version' of Confluence. For example, a Space exported from v4.1 can be imported into any v4.1.x instance as '4.1' is the Major Version but it couldn't be imported into v4.2.x as they are not the same Major Version. Therefore you will need to ensure that the instance you are exporting the Spaces from is the same Major Version as the one that OnDemand is running on. You can check the current application versions for OnDemand in this document: <https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions>

In the event that your local instance is running a different Major Version, you will first need to upgrade it to the same Major Version as your OnDemand instance is running on. You can read about the process of upgrading Confluence in this document on the subject: <https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

Finally, once your instances are running the same Major Version, you can follow these instructions for importing your Spaces into the OnDemand environment: <https://confluence.atlassian.com/display/AOD/Importing+wiki+data>

All the best,  
John


Tags: cloud

confluence-cloud