youngmon/atlassian-qna huggingface dataset:
quick and dirty macros?
Asked by Pat Erler:

hi,

I am fairly new to confluence, so bear with me.

I see that I can create templates, macros and even repeating forms with scaffolding. What I actually need is a quick way to repeat certain elements, say, a table 2 by 5 with certain informations about a server which I need to put into all kind of documents and later edit it (which doesn't seem to be possible with HTML elements in macros).

What would be the best approach or a plugin that helps with this kind of problem?

best,

Pat


Answers:
author: Bill Bailey
body: This is what templates are for. You are basically creating a blank document with a set structure and fixed elements. Then you when you create a new document based on the template, you now have all the elements from the template copied to your new page.

I use templates for standardized forms, and include instructional text to guide the user. This system ensure consistency of pages, and saves a lot of time for things like a partially blank table with set headings and entries that don't change.


author: Abdullah AlThawr
body: Since you mentioned scaffolding, you can use live-template macro in the scaffolding plugin like this:

1) Create the table you want in the global or space template, or even a page (like a parent page). Templates are preferred in your case.

2) Put the needed scaffolding macros you need in your columns (e.g. text-data, number data etc..)

3) Whenever you create a new page or edit a page, add the live-template macro and put the name of your template (or page name if the source of your template is a page).

4) Save the page, and view it. Your new/edited page will contain the same table elements and all you have to is edit the details using 'edit-content'.

The live template macro will work even if your template page has just static data (i.e. no other scaffolding macros) that you want to repeat in your pages.

comments: author: Ted Mahsun [ServiceRocket]
body: Just to add on (hah, pun not intended) to what Abdullah said, here's [a guide for Scaffolding's Live Templates](https://docs.servicerocket.com/scaffolding/user-guide/basic-tutorials/putting-live-templates-to-use). Includes a video!


Tags: confluence-server

server
problem I?ve seen is with one Add-on Linking
Asked by Rajratan Dahane:

Problem I've seen is with one Add-on. Linking. Is there anyway to tell if it is used? If not, perhaps we can uninstall it.

![Linking add-on.png](/t5/image/serverpage/image-id/23006i019F2408285AE085/image-size/large?v=v2&px=999 "Linking add-on.png")

Could you please help us?  
We are in Production Deployment.


Answers:
author: Moses Thomas
body: [@Rajratan Dahane](/t5/user/viewprofilepage/user-id/1160612)the only impact is that add-will top working in all pages that you use the plugin. you will get a box with message **Unknown macro : link page**if you have used the link page macro (broken link),and then you will need to remove this mess in all pages.

i suggest you try to get compatible version from vendor before removing plugin. so that you don't have to remove all broken link in all pages :/

Best!


author: Moses Thomas
body: [@Rajratan Dahane](/t5/user/viewprofilepage/user-id/1160612)

It depends atlassian built in free plugins will still work, depending on the Confluence

version you have, but when you expand this arrow on this image you will see whether or not is free or licensed in case of license expired plugin it shouldn't work you should get error message of expiry when you try to use plugin,

If you have a Third vendor free plugin for instance( if the vendor does not have a compatible version with your confluence instance you should contact the vendor for the plugin version that will be compatible with your

if you have a non - free plugin(licensed) and it is not compatible, in your confluence instance ie. plugin configuration should not even be visible in **Genenaral configuration** of your confluence (**hint** Go to General configuration as admin find**Linking for Confluence)**

see what linking does and how you can verify it whether it works in confluence

1. Go to a page confluence

2. Edit the page, click the + button and choose other macros

3. Search with the the word link, you will see macros like link location, link page, choose link page for example add all required field and save it you don't get error it means great!

4. if you get error it means license expired most likely if you don't get any macros related to this plug in, it means that you need to contact vendor to give you compatible version/info.

Best.

comments: author: Rajratan Dahane
body: Hi Thomas,

Thanks for your reply.

So if we uninstall **linking** add-on, is there any impact on confluence application?

Thanks

Raj


author: Nic Brough -Adaptavist-
body: Anywhere that you have used the add-on will stop working. You'll get a small grey box noting the break in the content if you've used any of its macros, but everything else will work fine.


Tags: atlassian-marketplace

atlassian-support
Character Display Issue
Asked by li.cao@gtdollar.com:

I post Chinese character on a page.

After refreshing the page, all Chinese character turn into "???????".

However, if I refresh one more time, all the Chinese character appears.

Please give adivce


Answers:
author: Bill Bailey
body: Sounds more like a browser issue. Have you tried with different browser to see if it appears in all cases?


Tags: confluence-server

server
Is there documentation on Confluence log reading for creating metrics?
Asked by Hope Niblick:

The log contains lines that include :: "/docreatepage.action" and "/editor-loader/editor.action" which gives me a clue, but I'm not sure what other actions look like in the log. I am trying to create an engagement metric that will capture how different parts of the population are using the wiki. In particular, I want to be able to identify when a user:

* just reads a page
* edits an existing page
* creates a page
* comments on a page
* likes a page
* creates a space

Is there any documentation that outlines what these actions look like in the log?


Answers:
author: Boris Berenberg - Atlas Authority
body: There is not. You may want to use something that is more integrated into the app so that your users can benefit from the knowledge you're working to harvest.

[https://marketplace.atlassian.com/apps/1215795/analytics-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1215795/analytics-for-confluence?hosting=server&tab=overview)


Tags: confluence-server

server
How to edit confluence user directory config via command line
Asked by Simon Tyler:

We host our own Jira/Confluence server.

I have copied my jira/test instance or server to a new aws instance, and I'm going through it to make changes to configure it as a test server.

I can login to the jira test instance successfully, but confluence was configured to use Jira User directory. In Jira Test, I have edited the Jira User Server to configure it to permit the Confluence test server (they are on the same server) access to the User Server.

However, I now need to configure Test Confluence to add the Jira Test User Directory, but I'm not sure how to do that if I can't login to Test Confluence. Is there a way to edit this configuration via a config file, or in mysql, to update Confluence to point to the new IP for Jira? I've created local host entries for the DNS name to point to localhost,


Answers:
author: Boris Berenberg - Atlas Authority
body: I think you're looking for <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>


Tags: confluence-server

server
Confluence API - setting permissions - using ScriptRunner
Asked by Steve Kamens:

looking for any documentation or examples for setting permissions via API

Java API documentation is lacking examples.

I've tried using EditSpacePermissionsAdministrator

using addPermissions on the space itself.

Nothing seems to work.

My immediate goal is to update every space to allow anonymous access, but I'd like to understand how to use the API for future use


Answers:
author: Emanuel Konringer
body: Hey Steve!

Have you found anything in the meantime?


Tags: adaptavist

api

atl-adm

confluence-server

server
Add more fields to jira issues macro
Asked by Casey Maynard:

My users want to import multiple jira cards, but want more than just the summary/description fields to be imported from a table.

How can I add more fields to the JIRA issues creation macro to create the jira field values initially instead of having them update after the cards are created through the bulk update option?


Answers:
author: Srikanth Mamidala
body: Hello Team,

Was there any solution or alternative for this ? to display more fields in confluence JIRA macro?

comments: author: Casey Maynard
body: It has been awhile, but I think it was making the fields you want to be completed to be a required field.


author: Srikanth Mamidala
body: I thought the same but seems like, project, issuetype and summary are default required jira fields in jira. Ive tried making others required fields but it dont show upp there


Tags: jira

macro
Two way document updater?
Asked by Casey Maynard:

Is there an add-on that allows a two-way edit option like the Office Excel/Word macro options? Where once they import the content into the Confluence page, they can edit the content IN the confluence page and it will update the Excel/Word document?


Answers:
author: Vronik
body: Look at this

<https://community.atlassian.com/t5/Confluence-questions/When-editing-a-document-with-word-how-does-collaboration-work/qaq-p/919937>

<https://confluence.atlassian.com/doc/concurrent-editing-and-merging-changes-144719.html>
Multiline text boxes in non-edit mode?
Asked by Casey Maynard:

I want to add a multi-line text box where users can 'update' the page without going into 'edit' mode.

Because several 'add-ons' display as 'widgets' while in edit mode, it creates a confusion of where users should 'type the content' they need to add to the page

Sure I could provide a bunch of direction like "type instructions here" in the box so there now where to 'type the instructions' but I my pages are like 'documents' where the people who enter the content really only should be filling in blank boxes and putting their instructions in the sections where they know.

Yeah, I know this is what the 'edit' button is for, but 'drop down' widgets, and except boxes, and the like really does not make the page a 'wyisiwyg' version of the page.

I am trying to make the page as "EASY' as possible for them to enter information without getting confused by the 'edit mode layout'.

Yeah, I know there is an add-on that I have to probably buy, but at this point so many users what to avoid seeing the widgets, it might be worth the cost for their time to avoid understanding the lack of a 'wysiwyg' edit mode in Confluence.


Answers:
author: EPS Software Engineering AG
body: Maybe the InPlace Editor for Confluence App could solve your problem. But it is only available for server. You can find it on the Marketplace.
Reading attachments question: Temp vs Download folder
Asked by Jonathan Smith:

Every time I want to read an attachment, the file downloads to a download folder by default. Is there a way to update this globally so these "read" files go to a temp directory that gets purged?

Goal: To keep C: storage clean

Thanks,

Jon


Answers:
author: Shannon S
body: Hi Jon,

This needs to be configured on your computer itself. It's not something that Confluence can even control.

If you let me know what OS you have I might be able to provide you with a set of instructions to do that and how to set it up to purge automatically.

Shannon

comments: author: Shannon S
body: Hi Jon,

I do realize now you mentioned your C: drive which means you're likely on Windows. Can you still confirm your OS version and also the browser you're using? This way I can maximize possible solutions for you.

Shannon


author: Jonathan Smith
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046) Windows 7


author: Shannon S
body: Thank you, Jonathan.

This will also depend on your browser, which is why I was asking which one you are using earlier.

If you're just using Internet Explorer, you can change the path (for all downloads, not a specific domain) [by following this article](https://www.howtogeek.com/273618/how-do-you-change-windows-default-download-path/).

If you have Chrome, you could specify a different folder for specific domains by using an add-on such as [Downloads Router](https://chrome.google.com/webstore/detail/downloads-router/fgkboeogiiklpklnjgdiaghaiehcknjo/).

Finally, to delete files after a period of time, you could run a script. [Have a look at this article](https://www.howtogeek.com/201930/how-to-automatically-delete-files-in-your-download-folder-on-a-schedule/).

I hope that helps but do let me know if you have any questions.

Regards,

Shannon


author: Jonathan Smith
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046),

Thank you for the information. I will share these findings with our desktop support team.

Regards,

Jon


Tags: atl-adm
Project/Team Status reporting
Asked by Brian Taylor:

We currently have a spreadsheet that user have a separate sheet within a workbook that then aggregates all of the sheets into primary status page.

Would like to have something similar on confluence where the user could have a page that could be a reference to build and aggregate rollup status report.

Not sure if there is some sort of add-on that could accomplish this task in an automated report.


Answers:
author: Stiltsoft Support
body: Hello [@Brian Taylor](/t5/user/viewprofilepage/user-id/594677) ,

You can try Handy Status from [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_vendorID=1216111&utm_content=project_status). Add it into the Page Properties macro and then collect an overview with the Page Properties Report macro. Handy Status can be switched in the page view mode to save your time.


author: EPS Software Engineering AG
body: I think, page properties (sub-page) and page properties report (status page) could do what your are looking for. In my opinion the App Ann mentioned can help on the page properties report macro.

Here is a good tutorial: <http://lightmanyfires.com/summary-pages-using-page-propeties-report-confluence/>

Regards,  
Stephan


author: AnnWorley
body: I found a plugin that looks like it's worth a free trial for your use case. It is available for Cloud or server: [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview)


Tags: confluence-administration

questions-for-confluence
Merge issue
Asked by Elinor Crews:

when multiple users are updating the same page, merge isn't always working correctly. Sometimes the data seems to "disappear" even when merge is selected.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Elinor Crews](/t5/user/viewprofilepage/user-id/1199862) ,

please check Collaborative editing settings <https://confluence.atlassian.com/doc/collaborative-editing-858771779.html>

It could help you on that.

Fabio
Confluence Page - PDF Export - PDF Stylesheet
Asked by shruthi sj:

I am trying to add header and footer to my pdf below is my code.

but the problem is image and initial page doesn't have space and also i would like to get my content (header) below the image which is not happening now.

@page  
{  
@top-right  
{  
background-image:url(/download/attachments/255066264/test.png?api=v2);  
background-repeat:no-repeat;  
background-position:left;  
content: "Engineering Requirements Document";  
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;  
font-size: 16pt;  
padding-top: 10px;  

<br />

}  
@bottom-center  
{  
content: "CTO-XXXXX-1.0" counter(page);  
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;  
font-size: 8pt;  
}  
}


Answers:
author: Shannon S
body: Shruthi,

Can you please clarify with us what your problem is exactly? When you say it doesn't have space, what does that mean? Can you illustrate?

In addition, your header will always be at the top. Can you tell me what you mean when you say you want it below an image?

Regards,

Shannon


Tags: atl-adm

cloud

confluence-cloud

css

export

pdf

stylesheet
why cant i open Excel file?
Asked by srikanth:

I am using IE 11 and tried to open Excel file within Confluence by clicking on "Edit in Office" button, but getting the following error message. ![Confluence error.png](https://community.atlassian.com/t5/image/serverpage/image-id/22984iD5C8C505D1956292/image-size/large?v=v2&px=999 "Confluence error.png")![error 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/22985iD392140C06F68835/image-size/large?v=v2&px=999 "error 2.png")


Answers:
author: Moses Thomas
body: * Make sure another program is not using the file
* Make sure that the name of workbook you are trying to save does not have same name as any other currently open work
* Lastly are you sure the file path exits ? cause attachment are stored in the confluence server for instance /var/lib/attlassian/gigawiki/attachments in Centos(unix like OS) . Can you download the file to your local host and view it normally if not then the file does not exit or has been removed by the owner

comments: author: srikanth
body: Its the special characters that prevented the page from opening or editing.

Thanks for your feedback


author: Moses Thomas
body: [@srikanth](/t5/user/viewprofilepage/user-id/1431566)If answers helped/worked then please accept answers so that it can help others.

Best regards,


author: Jonathan Smith
body: * Confirm the file is still at that URL destination
* Are you able to just read it (download)?

comments: author: Moses Thomas
body: .


author: srikanth
body: I figured it out, within the title of the page i used "\&" changed that to AND and its working now!

Thanks for your feedback


Tags: confluence-server

server
Collaborative editing not working
Asked by Erik Kamps:

Hi team,

We have multiple confluence instances running on the same server. We are currently experiencing issues with the collaborative editing; and configuring ports with synchrony.

Could you please advise or maybe set up a troubleshoot session?

Kind regards,

Patrick de Jong


Answers:
author: Moses Thomas
body: Hello Erik

Please try the documentation below if you are not able to solve it we can go from there.

<https://confluence.atlassian.com/conf63/troubleshooting-collaborative-editing-929729961.html>

best :)


Tags: confluence-server

server
Confluence layout/CSS corrupted
Asked by Support Neatideas:

All the sudden my confluence's page layout is corrupted.

Does anyone know how to fix?

![Capture.PNG](/t5/image/serverpage/image-id/22969iC22EC38797E3D410/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Bill Bailey
body: You did try shutting down Confluence, restarting the database and restarting Confluence?


Tags: confluence-server

server
Maintain Formatting between Confluence and Jira
Asked by Kasirajan Pothiraj:

I am trying to integrate Product Requirements from Confluence with Jira.

Using Jira issue macro in confluence to create multiple Jira issues.

But in the confluence product requirement table the requirements are listed as a bulleted numbers but i don't see the same format in Jira issues.

Please refer the below examples for more details

Confluence - Product Requirements Table

|-------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|---|
|       |             |                                                                                                                                                                     | * design  |
| SL NO | Title       | Summary                                                                                                                                                             | Priority  |
| 1     | Log In Page | 1. Upon entering Portal URL USER wants to be able to: 1. log into their portal 2. have ability to retrieve password 2. Upon Logging in user is brought to Home Page | Must Have |   |


Answers:
author: Danny
body: Hello [@Kasirajan Pothiraj](/t5/user/viewprofilepage/user-id/910805)

Is this still an issue for you or were you able to find a solution?

If so, could I clarify a few things with you. Are you using server or cloud for Confluence and Jira? If server, what versions are you running?

There is a known rendering [limitation documented](https://confluence.atlassian.com/doc/jira-issues-macro-139380.html).
> Formatted fields from Jira can be displayed in Confluence if you set up a Confluence-to-Jira application link. Otherwise, such formatted fields will be escaped within the output of the Jira issues macro. This is to prevent the possibility of malicious HTML being served by an untrusted Jira server. The most likely field where you will notice this is in the description field.

Hope this helps,

Danny
Create a Back button in a Confluence page
Asked by Leigh Stokes:

In order to help users navigate Confluence project pages, I would like to create a "back" button on the page that would return the user to the previous page s/he visited.

I have not been able to find this type of function from the Confluence tools.

How might I provide this type of navigation?

Thanks!


Answers:
author: Leigh Stokes
body: Hi [@Leigh Stokes](/t5/user/viewprofilepage/user-id/1431021),

Would the web browser's back page button not suffice (located in the top left corner of every web browser)?

Thanks

comments: author: Leigh Stokes
body: Thank you for taking time to write.

Although many users are accustomed to using the browser back button, in this case the user's attention is focused on the content in-page, so navigation that is located in-page will be the most usable.

Although a typical Confluence user may not encounter a usability issue with the lack of purposeful navigation, the audience for this particular content has varying technographic levels and is more likely to experience trouble. Adoption is important, so I want to make the experience as frictionless as possible.

Is there a way to create a "back" button using Confluence tools?

Thanks for any workaround that would provide this.


author: Michael Shaff
body: I strongly agree with Leigh's perspective on this capability. It's great to have the browser back button, but we have no idea on how the user's browser is configured. Having a visually incorporated back button is very handy.

I found this thread by looking for the exact same functionality.

Thanks for any and all pointers to accomplishing this within the Confluence environment.


author: Patrick Forssell
body: This is potentially something you might not want to do. But since you asked for a workaround this is how I would do it:

Add a java script to "Custom HTML" -\> "At the end of the BODY" section

```
<script>
AJS.$(document).ready(function(){
 $(".aui-header-primary .aui-buttons").append("<button class='aui-button aui-button-primary' onclick='window.history.back()'>Back</button>");
});
</script>
```

This should add a "Back" button next to "Create" button. At least in Default Theme.

Just a fair warning though nothing you put inside Custom HTML is supported and it can cause problems. Also when Atlassian does UI changes or updates the "menu" there is a chance this will not work and it will in fact cause something else not to work.
text wrap in info, tip, warning macros
Asked by dnacombo:

Hi,

I write a rather long "info" text that wraps in the editor, but not in the rendered page. How can I change this? Can this be considered a bug?

Thanks,

Max


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@dnacombo](/t5/user/viewprofilepage/user-id/1430725) and welcome,

please could you share how your text is rendered?

Fabio


Tags: confluence-server

macro

server