youngmon/atlassian-qna huggingface dataset:
Days Remaining till deadline in Confluence
Asked by Troy S:

I need to display the number of day until a deadline on the main page of a project. I figured out how to get the current date/time with:

```
Today: {report-info:global:current date|format=EEEE, MMMM dd, yyyy h:mm a}Deadline: August 30, 2012Days Remaining:  ?
```

But how do I set a variable for the Deadline?

How would I evaluate the Days Remaining till the Deadline?

Thanks,


Answers:
author: Remo Siegwart
body: See my answer here: [https://community.atlassian.com/t5/Confluence-questions/Re-How-to-evaluate-values-on-Confluence-Page/qaq-p/331935/comment-id/56003#M56003](https://community.atlassian.com/t5/Confluence-questions/Re-How-to-evaluate-values-on-Confluence-Page/qaq-p/331935/comment-id/56003#M56003 "How To Evaluate Values On Confluence Page")

comments: author: Tristam Stone
body: This page is link is now dead.


author: Matthew Erickson
body: Hi Tory,

Does this deadline come from a sprint in Jira? If you are using Greenhopper then it already has a days remaining gadget: http://confluence.atlassian.com/display/GH/Using+the+Days+Remaining+Gadget

comments: author: Troy S
body: Thanks for you help Matthew. In this case, I am not using JIRA to track this project. This project is to track that all employees have completed a short online awareness course. So in this case the days to deadline is how many days we have until everyone has to complete the course. Thanks again.


author: CelesteCS
body: Hello,

We have added Date type support to [CelesteCS Math](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math) macro so you may use our macro to accomplish what you want. Just specify the EXCEL-style formula, like "DAYS(NOW(), DATE(2016, 04,17))".

Thanks!


Tags: date

report-info-macro
How to move a child page to another page in Confluence?
Asked by George Furnell:

How to move a child page to another page in Confluence?

Regards

George


Answers:
author: Bob Swift (personal)
body: Go to the child page Tools menu -\> Move page. Select new parent page and space.

comments: author: George Furnell
body: Wow thanks Bob

Regards

George


author: Davin Studer
body: Also, if you go to he brose menu, click pages, and switch over to the tree view you can drag and drop individual pages or entire parent trees throughtout the page heirarchy.


Tags: cloud

confluence-cloud
What is a Supplier?
Asked by Troy S:

I have been at this for over a year and I just don't understand what a supplier is or what it is really used for. I just don't seem to under the concept. The documentation is just all over the place.

The samething goes for keychains. These terms just puzzle me.

Can anyone help me out?

Thanks,


Answers:
author: Remo Siegwart
body: The [Supplier Library](http://wiki.customware.net/repository/x/joBq) was created by [CustomWare](http://www.customware.net/). It provides the ability for plugins to share data, both between each other and with Confluence users. The library is used by the [Reporting](https://plugins.atlassian.com/plugins/net.customware.confluence.plugin.reporting), [Scaffolding](https://plugins.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding) and [Linking](https://plugins.atlassian.com/plugins/net.customware.confluence.plugin.linking) Plugins to share data and provide a way for users to request certain types of data. Whenever you see something like this:

```
content:children &gt; collection:size
```

or

```
{report-info:content:title|link=true}
```

...it's using the supplier library. [See a list with available suppliers here](http://wiki.customware.net/repository/x/1gc).

Another example would be our [Viewtracker plugin](http://www.bitvoodoo.ch/viewtracker-plugin) which tracks page views of users in Confluence and provides [a supplier for advanced reporting](http://www.bitvoodoo.ch/plugins/viewtracker-supplier.html) with the Reporting plugin.

Hope this helps


Tags: customware

keychain

report

supplier
HTML macro and images in the HTML file
Asked by Chitra Patil:

I am still evaluating Confluence to upload HTML files. I now have html files that are static--but they have a lot of images (with the path). When I use the macro HTML, I cannot see the image files. I was wondering how to include the images within the HTML page in such a case. The images are present in the page as attachment, but not picked up by the HTML code. For example, if the link says common imagename.png, how does the HTML macro handle it. I am not sure if you even support this HTML macro.


Answers:
author: Gabrielle Gagnon
body: You need to use the HTML Include macro to display an HTML page, and if your images are referenced through relative addressing, you need to convert them to absolute addresses. (I've tried using a \<base\> statement in the file, but Confluence appears to ignore it.) I don't believe you can access images attached to a Confluence page -- at least I've never heard of anyone doing that -- they need to be accessed via a URL within the HTML page.
Unexpected Error during UWC Conversion
Asked by dchisholm:

I'm converting from moinmoin to Confluence 4.2. The export seems to go find, but the conversion fails with little explanation. There are some errors about skipped pages, but the real problem appears to be related to the Home page. I created an empty space for the import and added one child page to it and UWC cannot find the child page and it seems to try to recreate the Home page.

Any suggestions?

```
DEBUG [Thread-4] - --&gt; Pages object is valid.DEBUG [Thread-4] - Page root set to: HomeINFO  [Thread-4] - Building Hierarchy.DEBUG [Thread-4] - Creating Nodes...DEBUG [Thread-4] - .. creating node: AccessDatabase version: 1DEBUG [Thread-4] - Building Connections...DEBUG [Thread-4] - .. connecting node: AccessDatabaseERROR [Thread-4] - .... unexpected name: AccessDatabase/null/1 - SKIPPINGERROR [Thread-4] - .... unexpected name: AccessDatabase/1 - SKIPPINGINFO  [Thread-4] - Uploading Pages to Confluence...DEBUG [Thread-4] - writeHierarchy: toplevelpage = HomeDEBUG [Thread-4] - number of children this toplevelpage has = 0INFO  [Thread-4] - Page 'Home' does not exist. Creating it now.DEBUG [Thread-4] - Attempting to send page: Home to space: MOINIMPINFO  [Thread-4] - page added may already existDEBUG [Thread-4] - Uploaded 1 out of 2 pages.INFO  [Thread-4] - Conversion CompleteDEBUG [Thread-4] - Displaying Error Messages: ERROR [Thread-4] - Conversion Status... UNEXPECTED_ERROR
```


Answers:
author: David at David Simpson Apps
body: UWC isn't compatible with Confluence 4.x.

Instead, export your moinmoin wiki to Confluence 3.5 then upgrade to Confluence 4.x afterwards.

comments: author: dchisholm
body: Thanks. This confirms the conclusion I was drawing. Since I don't have 3.5 anymore, I was going to try converting the temporary markdown output of uwc (under output/output) into valid HTML and then import those files directly into Confluence.


Tags: universal-wiki-converter
How to add a comment to a page?
Asked by Dan Zimmerman:

Just created a space and would like to add some comments to the home page. Confluence doesn't allow me to do it. Seems like you would click on the Add Comment block at the bottom of the page, or the Add with plus sign on the top right, but no luck. What am I doing wrong?


Answers:
author: cbv bvbv
body: \<spam\>


author: cbv bvbv
body: \<spam\>


author: Septa Cahyadiputra
body: Hi Dan,

Could you please elaborate the issue in more detail. If the issue is Confluence display a comment field but you are not able to add any string into it, the cause of the issue might be due to plugin corruption cache. In order to refreshed your plugin cache, please try the following steps

1. Shutdown Confluence instance
2. Remove the following directories
   * \<confluence-home\>/bundled-plugins
   * \<confluence-home\>/plugin-cache
   * \<confluence-home\>/plugins-osgi-cache
   * \<confluence-home\>/plugins-temp
   * \<confluence-home\>/bundled-plugins_language

If the above steps does not help, try to [enable plugin safe mode](http://confluence.atlassian.com/display/DOC/Disabling+or+Enabling+a+Plugin#DisablingorEnablingaPlugin-DisablingEnablingalluser-installedpluginssafemode) and see if the problem persist.

If Confluence throw some sort of ERROR, please elaborate on more detail and post the ERROR here so that we could review it.

Hope it helps.

Cheers,

Septa Cahyadiputra


author: Jobin Kuruvilla [Adaptavist]
body: What do you mean by 'Confluence' wouldn't allow it? Does it mean there is an error or you are not seeing an option to add comment? If it is the latter, make sure you have the permissions!
unlicensed macro can't be removed in 4.1.7 upgrade
Asked by none:

We recently upgraded one of our instances from 3.1 to 4.1.7 and I can't delete a plugin macro in the rich text editor, so it displays on the page.

We have some macros that have been disabled - were free and now require a license, and we don't need them. The TOC ones display a box with Edit Remove so I can get rid of them.

This is also an adaptavist one, according to firebug, but there's no way to delete it. In Edit mode, there's no indication that anything is there at all so no way to remove it.


Answers:
author: Septa Cahyadiputra
body: Hi there,

If it is not possible to delete the plugins trough UI, then you might want to try deleting it trough Confluence database directly. Please try the following steps to delete the necessary plugins

1. Ensure that you have created a database dump for safety precaution
2. Shutdown Confluence
3. Execute the following SQL query
4. SELECT \* FROM PLUGINDATA;
5. Please take note of all the necessary plugins "plugindataid"
6. DELETE PLUGINDATA WHERE plugindataid IN (\<necessary plugindataid differentiate with ,\>);
7. Restart Confluence

Hope it helps.

Cheers,

Septa Cahyadiputra
HTML Macro in Confluence and image links
Asked by Chitra Patil:

I have static html files (javascript was stripped)--they also have a lot of images (with the oroginal path). When I use the macro HTML in a Confluence page and copy the HTML source code within the html macro, I cannot see the image files. I was wondering how to include the images within the HTML page in such a case. The images are present in the page as attachments, but are not picked up by the HTML macro. For example,the html link says "\\common\\imagename.png", how does the HTML macro handle it? How does it link the image to the attchment in the page? I cannot link the image directly because it is within the html box.


Answers:
author: ???
body: Hi all,

I think I have a similar question, basically I want to create a roadmap on confluence page and when mouse hoover over, one part of the map will be magnified. I have written the html script, however, I do not know how to include my image (the roadmap) in the html.

The images can not be upload to public as it is confidential, so there is no url to put into html script. Can I purely upload those images to Confluence and get its storage directory put into html script? I know in Pentaho, you can just upload the images into Pentaho and put the image save directory within Pentaho into the html scripts, but not sure if I can do this in Confluence.

Any advice please.

scully52013@gmail.com


author: Andy Brook [Plugin People]
body: I wrote [Html Include Replace](https://marketplace.atlassian.com/plugins/com.javahollic.confluence.plugins.html-include-replace) years ago, it handles the inclusion of content from Website X, rewriting of all relative URL's to absolute URL's, also, optional inclusion of referred CSS and Javascript. Obviously some care needs to be taken with the above. Its been on my list of things to publish 'to current' for a long time.


author: Gabrielle Gagnon
body: I answered this on your earlier post. You need to use the HTML Include macro to display an HTML page, and if your images are referenced through relative addressing, you need to convert them to absolute addresses. You don't need to strip the Javascript either. It should be able to run.


Tags: html

macro
Request to turn on RSS Feed Macro
Asked by Jonathan Flower:

I read this article: <http://confluence.atlassian.com/display/DOC/RSS+Feed+Macro>

and found that The RSS Feed macro will only be available if it has been enabled by your Confluence administrator. Also, your Confluence administrator can define a whitelist of trusted URLs. You will see an error message on the Confluence page, if the included URL is not in the whitelist.

As best I can tell from this article: <http://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

I just need to request this be turned on?

I also posted a question here: <https://answers.atlassian.com/questions/43670/import-external-rss-into-confluence-page?page=1#47922>

Thanks!

-Jonathan


Answers:
author: NikE
body: Atlassian OnDemand comes with a bundled set of plugins/macros and additional plugins/macros cannot be installed. More details can be found here: <https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy>

The RSS macro, in specific, was disabled many versions ago due to security concerns.


Tags: cloud

feed

macro

rss
AutoExport of Warning/Tip/Info macro icons
Asked by Yuri Zats:

I am exporting text that uses Warning/Tip/Info macros. It appears that the images (emoticons) that are part of the nice looking boxes are not exported -- they link back to Confluence server. Is there any workaround for it ?


Answers:
author: BenoitP
body: This issue is tracked here but not planned to be solved:

<https://jira.atlassian.com/browse/CONF-31307>


Tags: auto-export
Is it possible to export a parent and their child pages to word or PDF?
Asked by Karie Kelly:

We would like to utilize the Wiki to create our module end user and administrative documentation so that we have one place for the data.

We don't want one wiki page to be an entire manual -- that defeats the purpose of having really long pages and having information more succinct. But, we also have to create client training manuals and would like to be able to export the information for this use.

But, all we can do, it seems, is to export one page at a time and really need to export an entire module (our product consists of 8 modules that are all purchased separately).

Is this possible in an OnDeman environment?


Answers:
author: Renjith Pillai
body: That is supported in regular Confluence, I guess OnDemand also supports the same. See <http://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+PDF#ExportingConfluencePagesandSpacestoPDF-ExportingMultiplePagesortheEntireSpace>

comments: author: Karie Kelly
body: Thank you for providing that option.

Since the generated PDF needs to still be tweaked to accommodate creating customer handouts (e.g. some links and headers are not appropriate when it is hard copy vs online), as well as creating the appropriate pagination and headers, is there a method to export these pages into a Word doc for further editiing?

Can we permission this capability for others without them having other space administration capabilities since we need all of our trainers and support personnel to be able to do this as needed?

Thank you for the guidance!


author: Renjith Pillai
body: EDIT: Ignore whatever I typed below, momentarily I forgot the fact that you were on OnDemand and I guess you aren't left with much options.

You can use this plugin, I assume.

<https://plugins.atlassian.com/plugins/com.metainf.confluence.plugin.pagetreeexporter.pagetree-word-exporter-plugin>

Even you second requirement is met with this since the export is from Tools menu, not from Admin. The supported versions seems to be outdated, you may need to contact the author or do some tweaks yourself.

Else use a commercial one like <https://plugins.atlassian.com/plugins/com.k15t.scroll.scroll-office>


author: Renjith Pillai
body: Confluence Command Line has an exportSpace option to html. That would be the closest you can get to extract the data in an editable form. But then again, I guess it is not a single file, rather a set of html files (I haven't tried myself the same)


Tags: cloud
How to work with HTML Tables after upgrade to 4.x
Asked by Ulrich Martiensen:

We have a lot of pages containing tables formatted as plain html code.

After upgarde to version 4.x it is nearly impossible to edit this tables. These tables are broken up into a lot of boxes. Every single HTML Tag was displayed as a single box.

Is there a way to convert tables betweem HTML and the new Wiki Format?

Ulrich


Answers:
author: hsuhailah
body: How about try to [re-running the migration](http://confluence.atlassian.com/display/DOC/Wiki+Markup+to+XHTML+Migration#WikiMarkuptoXHTMLMigration-Re-runningMigration). Otherwise, you can try to [re-attempt the migration](http://confluence.atlassian.com/display/DOC/Wiki+Markup+to+XHTML+Migration#WikiMarkuptoXHTMLMigration-Re-attemptMigration) but first you will need to rebuild the index (Confluence Admin \> Content Indexing \> Search Index \> Rebuild).

If the problem persists, please create a support ticket at <https://support.atlassian.com> and attach the [Support Zip](http://confluence.atlassian.com/display/DOC/Troubleshooting+Problems+and+Requesting+Technical+Support#TroubleshootingProblemsandRequestingTechnicalSupport-CreatingaSupportZipFileviatheConfluenceAdministrationConsole).
Is there a way to use a template multiple times in a page?
Asked by Michael Glatter-G?tz:

Hi!

I'm quite new to Confluence and am evaluating this system for our company right now. Now I can't figure out how to do the following thing:

Is there a possibility to make a reusable template-like thing that I can use in a page? With templates I can only create a new page but can't use it as part of a page.


Answers:
author: Andrew Frayling
body: Hi,

You're right that templates can only be used to create a new page, but a standard workaround to do what you're trying to do is the following:

1. Create a page at the root of the Space called "_includes" or similar  
2. Create relevant pages underneath the "_includes" page, 1 for each snippet that you want to re-use  
3. Populate these pages with the relevant content snippets  
4. Use the [{include} macro](http://confluence.atlassian.com/display/DOC/Include+Page+Macro) on your real pages to include the relevant snippet(s)

Does that make sense?

Andrew.

comments: author: Michael Glatter-G?tz
body: Thanks for the answer. But I'm afraid your solution is not what I want: If I had _includes\\Snippet1 and include that snippet in two other pages then I can't edit the snippet there. I want something like a template where I can fill in missing text fields/images/whatever but each "derivative" of the template should be independent from the others.


author: Andrew Frayling
body: Ah ok. Another approach would be to write a [user macros](http://confluence.atlassian.com/display/DOC/Writing+User+Macros) for each template which would be independent wherever they were used though they would be more rigid than normal templates as you'd need to define the missing values as parameters to the macros.

Or go really low-tech and have a page with a library of snippets and copy and paste them in to the real pages when you need them?

Andrew.


author: Michael Glatter-G?tz
body: Hey Andrew!

Thanks for you answers. After a few weeks of evaluation we ended at the "really low-tech" solution, it works fine for us.
Is it possible to add a blog post with a different username?
Asked by Elisabeth Friedrich:

I wondered if this would be possible...

The Blog posts from another portal shall be integrated into Confluence , but I can't change the username, who posts it...?


Answers:
author: Dennis Kromhout van der Meer
body: Unfortunately not, sorry about that. I created a new improvement request here: [CONF-25205](https://jira.atlassian.com/browse/CONF-25205)

It's also possible to create this yourself by editing the Confluence source code or by creating a plugin. If your company does not have the required time/skill to make this happen, I'm more than happy to find the best expert to help you based on your requirements.


Tags: blog
How can I add gravatar support in Confluence?
Asked by Sorin Sbarnea (Citrix):

I have latest version of Confluence which is still a wiki (3.5.13) and I want to add gravatar support.

Does anyone have done it?


Answers:
author: Sorin Sbarnea (Citrix)
body: Shortly there is no Gravatar support for Confluence, even if JIRA and Bamboo do have it.

[](https://jira.atlassian.com/browse/CONF-19636?jql=project%20%3D%20CONF%20AND%20text%20~%20gravatar)<https://jira.atlassian.com/browse/CONF-19636>\<-- Send your votes \& love here

comments: author: Thiago Figueiro
body: CONF-19636 is over 3 years old. I don't think Atlassian is going to action it.


author: JamieA
body: The easiest way IMHO is to front confluence with apache or nginx or similar, then you rewrite requests for profile pics either to gravatar or to some internal system. You will most likely need to rewrite first to your own servlet, then convert user IDs to md5's of email addresses, then you send a redirect for the gravatar image.

That's what I've done, works great, other people may have other ideas.

I may blog about it soon if of any interest. Of course, there are other ways, eg synching gravatar images to confluence pics. (But my way works across all the tools).

comments: author: Georg Schmidl
body: How do you redirect to the gravatar image if the profile pic request is */images/icons/profilepics/default.gif ?*


author: JamieA
body: It's necessary to modify the vm templates to make it default.gif?userId=blah. In later versions of confluence you also need to modify a soy template, rebuild and upload a plugin. I've done it and it's doable but it's a lot more hassle than when I first did it. Atlassian really need to blob on and add gravatar support to all their products.


author: Georg Schmidl
body: I found a way without modifying templates and created a plugin ;) <https://marketplace.atlassian.com/plugins/net.vicox.confluence.plugins.gravatar>


author: Sorin Sbarnea (Citrix)
body: Nice George +1 and +10 for making open source. I already filed a bug as it doesn't work for Confluence 3.5. Please make your contribution a separate answer to the question, not a comment.


author: Justin Shapiro
body: Hmm, wonder how George's plugin plays with mine (<https://marketplace.atlassian.com/plugins/com.cutlass.confluence.plugin.rest.cas>). If George's works with mine and becomes configurable and I port mine to JIRA we could have the same avatar in JIRA, Confluence and Fisheye/Crucible.


author: Sorin Sbarnea (Citrix)
body: Jira 5.1 has working avatar already, still I doubt many people will upgrade to Confluence 5.x due to lose of wiki markup editing.


Tags: gravatar