youngmon/atlassian-qna huggingface dataset:
user mention macro not valid
Asked by Markus Holzer:

dear support-Team,

we using confluence about 3 months. user-mention (@) worked fine. Also date-picker (//) worked fine.

Since a couple of days, both doesnt work anymore!

It seems, that the macros doesnt exists anymore! by clicking the +-DropDown (macro-menu), user-mention isnt shown anymore!

in editor using "@" happens nothing! the @ sign is inserted as a normal sign - no popup opens.

I suppose, I changed anything with system-macros by accident. I activated the system-html-macro for testing purpose. In the meanwhile I disabled it again. But with no success.

I have absoultly no clue, why @ or // doenst work at all!

this is a very worthful feature!

thanks for helping

regards,

markus


Answers:
author: Shannon S
body: Hi Markus,

Can you check that autocomplete wasn't accidentally disabled on your profile?

* [Enabling and disabling autocomplete](https://confluence.atlassian.com/doc/autocomplete-for-links-files-macros-and-mentions-249858190.html#Autocompleteforlinks,files,macrosandmentions-Enablinganddisablingautocomplete)

If not, do other users have the same issue? Does it occur in all browsers or only certain ones? Can you replicate it on more than one computer?

Regards,

Shannon

comments: author: Markus Holzer
body: thx Shannon for your hint - but saddly autocompletion is not disabled.

All users are affected and miss the user-mention-macro AND the date-picker (//)

there must be a system-configuration which depends on these features....


author: Shannon S
body: Hi Markus,

There is within the profile but not for the entire instance for both of those things. There's an add-on called User mentions that controls the mentions, but it doesn't effect the date macro.

Could you try running a full system reindex and see if it helps your issue?

In addition, from my previous question, does this also occur in more than one browser?

Did you recently upgrade or anything prior to the issue breaking?

Shannon


author: Markus Holzer
body: Dear Shannon,

I was in holidays last days...

thanks again for your feedback --\> and you gave me the perfect hint!!!

1.) add-on "user mention" was DEACTIVATED

2.) add-on "inline comments" was DEACTIVATED

now both features (user-mention and date-picker) working perfect again!!!

Thanks a lot!

regards,

markus


author: Markus Holzer
body: by the way: I have absolutly no clue why both features were DEACTIVATED! I definitly didnt do that!

Update? is that possible?


author: Shannon S
body: Thank you for confirming, Markus.

It's possible that they didn't activate properly for some reason after a restart, if you didn't deactivate them. There may be some messages in your logs from the last restart that would mention if something couldn't activate properly.

Regards,

Shannon


Tags: confluence-server

server
How does one access the full set of chart parameters in the Chart from Table macro?
Asked by Daniel Fenton:

Hi - I am trying to use the Chart from Table macro and customize the look of my graphs and tables but cannot figure out how to get access to all of the parameters mentioned in the documentation. I see that the parameters change when I change the chart type but they still seem to be mostly missing.

In the attached example I am trying to do obvious things like change the colors of pie slices to match the labels, replace the percentages with values and get the values to be the counts of my task numbers versus their sum which is not particularly useful.

Are such things possible?

Thanks,

Daniel F.

Here is an example of my chart:

![Chart Pic 1.PNG](/t5/image/serverpage/image-id/24622i52D0C7A0EF9039B9/image-size/large?v=v2&px=999 "Chart Pic 1.PNG")


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Daniel,

You can change colors when [viewing](https://docs.stiltsoft.com/pages/viewpage.action?pageId=8323543#HowtouseChartfromTablemacro-ManagingChartsinthePageViewMode) or [editing](https://docs.stiltsoft.com/pages/viewpage.action?pageId=8323543#HowtouseChartfromTablemacro-Configuringlookofthechart) the page.

It is not possible to show values instead of percentage currently, but it will be implemented in future versions.

To count number of tasks, you need to use [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) macro.

comments: author: Daniel Fenton
body: Hi Andrey,

Thanks - this helps a bit. Using the pivot table macro for counts was useful but overall this macro is not flexible enough to be particularly useful. Folks here loved the dynamic nature of it but they need more complex KPI data so we are using static MS-Excel graphics that render quite well.

We look forward to the future enhancements.


author: Andrey Khaneev _StiltSoft_
body: Hi Daniel,

We've released version 4.3.0 with a capability to select value format for pie / donut / bar charts.


Tags: confluence-server

server
Passing system properties to Confluence container
Asked by Matt Doller:

Is there any way to configure confluence system properties \*without\* placing them in the confluence.cfg.xml file? I am in the middle of a rebuild of our confluence setup, and I'm using the official docker image (<https://hub.docker.com/r/atlassian/confluence-server/>) to run our new confluence instance. The end goal of this project is to be able to tear down the machines running the docker image, and to provision new instances, all in an automated fashion. The problem I'm running into is that it seems the only place to setup system properties is within the confluence.cfg.xml file. Now I can create a copy of this file, add my database configuration in there, and then mount it in the container when it starts, but there is a fair amount in that file that probably shouldn't be managed by me - the jwt.private.key and jwt.public key, for example.

So, is there a way to provide system properties for things like:

* atlassian.license.message
* confluence.setup.server.id
* hibernate.connection.\*
* synchrony.host

In a properties file or through environment variables that are then passed to the container?

1. Can something like hibernate.connection.url be added to the CATALINA_OPTS environment variable when launching the container? I've tried this ("-Dhibernate.connection.url='...'"), and it seems to be ignored.
2. Are there any other properties files used by confluence when it starts to read in system properties that I can mount in the container? Can the setenv.sh file be leveraged here?
3. can the args be passed directly to the "docker run ..." command? I'd like to avoid this option if at all possible, because it would contain the database password in plaintext, and would be visible to anyone running \`ps\`.

Thanks,  
Matt


Answers:
author: Gavin McDonald
body: The docker page you link to says :-

Example:

    $> docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Djavax.net.ssl.trustStore=/var/atlassian/application-data/confluence/cacerts -v confluenceVolume:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server

Did you try adding in your hibernate values that way?

(Also note the Support paragraph near the bottom stating the docker image as is wont be supported by Atlassian, so I'd be careful using it in production.)


Tags: confluence-server

docker

server
Getting kicked out frequently
Asked by Nagaraj_Alla:

We are facing problem with Confluence. It is getting down frequently. While we are going through logs we are getting the following errors frequently.

"Caused by: java.sql.BatchUpdateException: Packet for query is too large (22556 \> 1024). You can change this value on the server by setting the max_allowed_packet' variable."

"Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (22556 \> 1024). You can change this value on the server by setting the max_allowed_packet' variable."

We are unable to work until we restart MySql Service. After restarting the MySql service it is working for couple of hours, sometimes couple of days with out interruption and getting again the above errors.

Please help us to troubleshoot and resolve this issue as it is badly effecting in our production users.


Answers:
author: Krisztian Kovacs
body: Hi [@Nagaraj_Alla](/t5/user/viewprofilepage/user-id/615405),

have you seen this page already?

<https://confluence.atlassian.com/confkb/exceeds-max-allowed-packet-for-mysql-179443425.html>

Let me know if it helps.

Cheers,  
Krisz


Tags: confluence-server

server
adding what was changed after publishing a page
Asked by Paul McClements:

When publishing a page in confluence you get the ability to add a comment next to the Publish button. If you did not added a comment and publish the page can you add a comment afterwards? So that it shows up in the Page history?


Answers:
author: Igor M.
body: Hello,

There is no way to insert a comment into already published page. You can make a new edit and add comment after, or if page has just been published, restore it and publish new change with comment deleting old version.

There is a feature considered allowing ability to change page version comments, you can find it here [CONFSERVER-52704](https://jira.atlassian.com/browse/CONFSERVER-52704) . Please vote want follow. Comments are also welcome.

Regards,

Igor

comments: author: Paul McClements
body: Thanks Igor
I'm Creating a Newsletter - I need your help with making a Confluence riddle
Asked by Martin James:

I'm building a newsletter to share with our Confluence users.

I want to include a riddle within this newsletter to get people thinking about the application.

Is there anyone here who can come up with a killer conundrum?


Answers:
author: Davin Studer
body: You could lead them on a scavenger hunt through the system where the last page has some reward or something like that. Make them use search and maybe even create a page in a person space using ceratin macros and labels (maybe the content by label macro) that once created correctly will lead them to the next clue ... something like that.
NoPrint Macro not working after upgrade
Asked by Vic:

I'm using this NoPrint Macro for over a year now and it worked (which means the content inside this Makro is not getting exported to PDF) until I today upgraded my server from 6.7 to 6.9.

This is my Macro:  
## @noparams  
\<div class="noprint"\>$body\</div\>

Any suggestions?


Answers:
author: Tobias Schramm
body: Hello,  

we have the same problem.

Before we run the upgrade to server version 6.13.0 we could use the macro perfectly.

But now the content in the body of the NoPrint macro is no longer hidden in PDF exports.  

The macro is getting used in many articles all over in our wiki and we uese it espcecially in documents to save important notes.

Please do a bug fix.  

Thanks!

comments: author: Todor Plachkov
body: Hi,

I've did it with the following macro:

**Macro Body Processing:** Rendered

**Template:**

## Macro title: No Print Area  
## Macro has a body: Y  
##  
## Developed by: xxxx  
## Date created: xxxx

## @noparams  
\<style type="text/css" media="print"\>  
.dontprint  
{ display: none; }  
\</style\>

\<div class="dontprint"\> $body\</div\>


author: Tobias Schramm
body: Hello Todor,

Yes, that work-around solution does work, to hide content that is embedded in the macro.

But there is an unpleasant side effect:

The area of ??the \<DIV\> \</DIV\> is still reserved. Therefore, an empty section appears on the page that is as large as the embedded content.  

Do you think, if that could be fixed by changing the \<DIV\>\</DIV\> into a \<SPAN\>\</SPAN\> tag?  

Greetings.


Tags: confluence-server

server
How to edit the visibility of Confluence Comments?
Asked by Carlos Moreno:

Hi,

Our company has created documentation for a customer in Confluence and we want them to have access to it but not to be able to see the comments we wrote during its creation (and the ones that still may be there). I have two questions regarding this:

1. Can we restrict the comments to roles?
2. Can anyone access old comments on pages/page history?

Best,


Answers:
author: Manon Soubies-Camy
body: Hello Carlos and welcome to Community!

The apps mentioned above by [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638) actually aren't available for Cloud.

I don't think there is any solution to restrict comments and/or page history access to only some users or groups in Cloud, see below links:

* [Restrict view option for comments on a WIKI page](https://jira.atlassian.com/browse/CONFCLOUD-24939)
* [Disabling the ability to view the "Page History" on a space](https://jira.atlassian.com/browse/CONFCLOUD-34041)
* [Restrict access to page history to certain users (or groups)](https://jira.atlassian.com/browse/CONFCLOUD-13247)

Hope this helps,

- Manon


author: Ollie Guan
body: Hi [@Carlos Moreno](/t5/user/viewprofilepage/user-id/1512213),

As far as I know - there is no standard feature available in Confluence for this. However there are plugins that may allow you to achieve this.

e.g. this add-on is promising: <https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility>

also read this article: <http://www.adaptavist.com/display/AtlassianConfluence/hide-from+macro>

comments: author: Carlos Moreno
body: Hi [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638), thanks a lot for your fast reply.

When I try to access <http://www.adaptavist.com/display/AtlassianConfluence/hide-from+macro> it tells me "Sorry, it seems you were trying to access a page that doesn't exist" - can you please send me again that article?

Best,


author: Ollie Guan
body: <https://scriptrunner.adaptavist.com/latest/confluence/fragments/HideUIElement.html>


Tags: cloud

comment

confluence-cloud
Open links to filesystem location in confluence on firefox
Asked by Marco Stoffel:

Hi Community

Has anyone found a solution to have a hyperlink to a local folder like c:/this that can be opened by win explorer when clicked on a confluence page?

Firefox quantum 60.0.2

Have tried on of the browser plugin's but still don't see behaviour as expected..

Thanks for any hints


Answers:
author: Nikola
body: Hi Marco,

I did a research on this topic, and it seems as there isn't a standardized way of doing this that will work on all browsers.

However, there are few workarounds that can be applied, depending on your Confluence version, browser and the location of the file you'd like to access via a hyperlink.

Please refer to the link below and let me know if it was helpful for the task you're having.

<https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790#M43693>

Kind regards,

Nikola


Tags: firefox
How to pass real-time input to 3rd app/webpage?
Asked by Steven YU:

I am new to confluence, and I want to add one page with one form:

name: ____

cell phone: ___

submit (this is a button)

Once one user key in the 1st and 2nd information, and click submit, my personal webpage will get this information and do the following action.

Is this doable?


Answers:
author: Shannon S
body: Hi Steven,

Confluence doesn't come with a way to add forms, but you can do so using a 3rd party add-on.

Have a look below:

* [Confluence Forms Add-ons](https://marketplace.atlassian.com/search?product=confluence&query=forms)

Let us know if you have any questions!

Regards,  
Shannon


Tags: atlassian-marketplace
response.varfile is missing in existing confluence installation
Asked by Suyash Jain _Appfire_:

Hi,

I am trying to automate the installation of Confluence based on installed Confluence configuration. As per unattended installation procedure (<https://confluence.atlassian.com/doc/unattended-installation-838416261.html>), the file response.varfile must exist at `<installation-directory>/.install4j/response.varfile` but I have search server as well as many other installed Confluence directories but could not find this file.

Am I missing something?. Do I first need to create this file by following certain procedure or this file is created automatically after every installation?

I've installed Confluence via the tar not the bin. Is this why I can't find the response.var file? Is it only available when installing via the bin file?, if yes than how can I get a sample file that works for linux?


Answers:
author: Shannon S
body: Hi Suyash,

According to the article, if you installed Confluence previously using the Windows or Linux installer (.exe or .bin), then it should be in that directory. You're supposed to copy it from there into your new installation. I do not believe using .tar.gz would generate the same file.

I hope this helps!

Regards,

Shannon


Tags: confluence-server

server
Importing Confluence Space that contains Team Calendars data
Asked by Jaime Romaguera:

We backup/exported a wiki space using the XML option. When we restored the wiki space back "Team Calendar" entries/events from that space has disappeared. Wondering if there is any way of recovering entries/events. I have rebuilt the calendar and normal search index, still no luck.

I have a bad feeling I cannot recover them, any help would be appreciated.

Thanks

Jaime


Answers:
author: Shannon S
body: Hi Jaime,

You can export the .ics from the original calendar, create a new calendar on the new site, and then import the .ics there.

Can you let me know if you have any trouble with that?

Regards,

Shannon

comments: author: Jaime Romaguera
body: Hmmmm doesn't help me. The original wiki space was accidentally removed before I could export the calendars to .ics, luckily (I thought at the time) we just made a backup of the space to xml but when we restored the space the calendars entries/events have disappeared.

Regards

Jaime


author: Shannon S
body: Jaime,

In that case your calendar was deleted along with the space.

Do you happen to have a recent site backup? In that case you can restore the site to an evaluation instance, and export the calendar that way.

There's a feature request regarding the fact that the space backup doesn't include calendar details. I would recommend that you vote and watch this, and comment there with your experience:

* [CONFSERVER-49348](https://jira.atlassian.com/browse/CONFSERVER-49348)

Regards,

Shannon


author: Jaime Romaguera
body: Thanks Shannon,

Really appreciated your advice, it has been helpful :-)

Have a nice day.

Regards

Jaime


author: Shannon S
body: You're welcome, Jaime!

Take care, and have a pleasant rest of your week.

Regards,

Shannon


Tags: team-calendars-for-confluence
Get average age report data from REST API
Asked by tuandph:

Hello everybody,

Today, I have a requirement need getting summary data of issues from JIRA and show in my Website like this:

![](https://attachment.outlook.office.net/owa/TuanDPH@fsoft.com.vn/service.svc/s/GetFileAttachment?id=AAMkADIxYTBiOGM2LTU4YWEtNDE0NC04YzVlLTM1MjUyOGY3ZmJjYQBGAAAAAAALQxy5RnuZTaMWkxomyQn6BwBS9vVKFLEWR7%2Br97Mq1VZ7AAADleQlAAAcy40eVfizTZgH4sIoXwYzAAHfim7QAAABEgAQAIz0N2%2BIgnBCn76avFwoS8c%3D&X-OWA-CANARY=YpatDPrgskG2PzqSx5coqfCLwF2q0dUYQdjrwffTsNHNXdqcn7ur0UTkL9PwlYIprUbonwvxgto.&token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjA2MDBGOUY2NzQ2MjA3MzdFNzM0MDRFMjg3QzQ1QTgxOENCN0NFQjgiLCJ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0jprI1ZT7cB704zUJ_rIW5TotM8KqRo7dJThjhzE2IRYADnWBQemOMPzTdt5jDaILHq3lJe2iyJgQU4Q&owa=outlook.office.com&isImagePreview=True)

Let me explain this chart.

This chart will show total number of UnResolved issue by Day

Example: in 14-May we have 50 Unresolver Issue. But in 15-May 15 issue has been Resolved. So, total of UnResolved issue in 15-May is (50-15) = 35 issues

And, My question is:

1. Can I use REST API to get Summary data for this requirement?

2. If #1 can not do it, What is the best solution for this requirement?

Hope that I can see much Advice from all of you.

Thank you very much,

TuanDPH


Answers:
author: Aron Gombas _Midori_
body: Although your image is not displayed, you should check-out the built-in *Created vs. Resolved Report* and gadget. These pretty much display the key metric you are look for.

I don't think that it is embed the gadgets in an external website (but it may eventually be possible), but you could eventually "leverage" the REST API end-points that return the data for these.


Tags: cloud

confluence-cloud
Custom forms in Confluence
Asked by Lakshmi Narasimhan:

I want to build a custom form to get user feedback in confluence, Can anyone help me how to go about this. I know i can do it thru HTML Macros but want to specifically know how to collect feedback for different users.


Answers:
author: Mike Pearson
body: I would also suggest trying out the [ServiceRocket Scaffolding](https://marketplace.atlassian.com/apps/190/scaffolding-forms-templates?hosting=server&tab=overview) plugin. I've been using it for years and it is incredibly versatile, especially when combined with the [Reporting plugin](https://marketplace.atlassian.com/apps/186/reporting-for-confluence?hosting=server&tab=overview).


author: Immanuel Siagian _ServiceRocket_
body: Hi [@Lakshmi Narasimhan](/t5/user/viewprofilepage/user-id/1410537),

You can achieve this (Creating form for feedback) by utilizing the [Scaffolding Forms \& Templates](https://marketplace.atlassian.com/apps/190/scaffolding-forms-templates?hosting=server&tab=overview). You can then extract the data and organize it into a report using the [Reporting for Confluence](https://marketplace.atlassian.com/apps/186/reporting-for-confluence?hosting=server&tab=overview).

Here are some examples/use cases:

Creating form:

\* Simple form: <https://docs.servicerocket.com/scaffolding/user-guide/basic-tutorials/creating-a-simple-form>

\* Project form: <https://docs.servicerocket.com/scaffolding/user-guide/miscellaneous-tutorials-and-recipes/creating-a-project-details-form>

\* form that require calculations: <https://docs.servicerocket.com/scaffolding/user-guide/intermediate-tutorials/storing-data-and-using-that-data-for-calculations>

Reporting Use Cases:

\* <https://docs.servicerocket.com/reporting/user-guides/recipes/pages/listing-contents-with-specific-text-or-macros>

\* <https://docs.servicerocket.com/reporting/user-guides/recipes/pages/extracting-scaffolding-data-from-children-pages>

\* In case you would like to build a chart for the feedback, you can follow this example: <https://docs.servicerocket.com/scaffolding/user-guide/miscellaneous-tutorials-and-recipes/generating-charts-from-a-dynamic-table-using-the-reporting-add-on>

Hope this helps.


author: Patrick Cartier [Candylio]
body: Hi [@Lakshmi Narasimhan](/t5/user/viewprofilepage/user-id/1410537),

If you have the budget, I would go with this plugin called [Forms for Confluence](https://marketplace.atlassian.com/apps/261/forms-for-confluence?hosting=cloud&tab=pricing).

If you don't have the budget you can develop your own using this documentation for [Confluence Developers](https://developer.atlassian.com/server/confluence/).

Hope this helps!