youngmon/atlassian-qna huggingface dataset:
Forms email macro and textarea macro - how to add line breaks?
Asked by Tyler Yarborough:

I am using the forms macro and it emails the results of the form.

Part of the form uses the textarea macro to capture information.

The issue is that the textarea macro takes a single string and does not create line breaks if a user has line breaks in their textarea.

This is the current email reply I receive

BusinessUnit: Test BU  
Issue: line1 line2 line 3  
Submitter: Tyler  
Submitter email: email

I am looking to have the issue line1, line2, line3 all be on their own line as the textarea user input each one on a separate line.

What I have tried so far.

I have tried using the css-style under the advanced feature to enable line breaks by using the following css styles: white-space: pre; and display:block;

Neither one of those did the trick.

I have also tried adding the mail body formatter and editing the style to use display:block; or white-space:pre; . Neither of those worked either.

Is there a different CSS style that I should use to create line breaks in emails? Or is this a limitation to the forms, textarea, and mail body formatter macro?


Answers:
author: Sarah Woods
body: Hi Tyler,

I'm having the same issue. Did you ever find a resolution?

Many thanks


Tags: confluence-server

server
Is it possible to make the "Link to a Confluence page" mandatory in a Jira ticket?
Asked by Developer 1:

So, we have the already built in "Link a Confluence page" in Jira.

<https://www.collabshot.com/show/a5a226>

Can we make mandatory to have that link for a certain type of tickets? (eg. all Story types).

I was not able to find a reference for it. I thought on creating a new Custom field add-on, however, I was not able to find a way to create the link through REST API. Is that even possible? Has anyone tried it before?

Thanks in advance!


Answers:
author: Davin Studer
body: I don't know of a way to do this natively, but you might be able to require the page link using something like [ScriptRunner](https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview).

comments: author: edgar.polancogomez
body: But could ScriptRunner actually do that? I hesitate about it. I assume it should be able to do it, if it can update the ticket through a REST API or something, right?

I couldnt find an endpoint to add those link types to a ticket.


author: Davin Studer
body: I think the REST resource you are looking for is this ...

/rest/api/2/issue/{issuekey}/remotelink

It supports GET, POST, and DELETE. If you manually create a link on an issue you should be able to then do a GET on it to see the format to the object you need to supply for a POST. Should look like this ...

```
{    "globalId": "appId={Your Confluence Applink Id}&pageId={Confluence Page Id}",    "application": {        "type": "com.atlassian.confluence",        "name": "System Confluence"    },    "relationship": "Wiki Page",    "object": {        "url": "https://{Your Site Host Name}.atlassian.net/wiki/pages/viewpage.action?pageId={Confluence Page Id}",        "title": "Wiki Page",        "icon": {},        "status": {            "icon": {}        }    }}
```


Tags: cloud

confluence-cloud

jira

jira-cloud
How does a user set custom shortcuts in Confluence?
Asked by nima.zeighami:

We've merged all of our projects into a few clean logical hierarchies, but one of our PM's mentioned that he doesn't like that shortcuts are global now. When he had a Space for his product, he had a bunch of shortcuts that were useful to him. Now, any shortcut that's set is set for all the other products as well.  

Is there any way for him to configure his sidebar for himself but NOT effect the global shortcuts?


Answers:
author: Shannon S
body: Hello Nima,

Thank you for contacting us. Could you just confirm with me with what you mean by "shortcuts"? I assume you're not referring to the [Confluence Keyboard Shortcuts](https://confluence.atlassian.com/confcloud/keyboard-shortcuts-markdown-and-autocomplete-724764956.html) but by the items linked to in [the Sidebar](https://confluence.atlassian.com/confcloud/the-sidebar-724764714.html)?

The Sidebar will display anything you've worked on recently, and any spaces that you added as favorites. Another thing that I did to make things more easy for me is by creating my own landing page that includes various Jira filters, links to pages in Confluence that I reference a lot, and my favorite spaces. I set this to be the homepage of my personal space. So when I come into work, I go to Confluence, click on the link to my personal space in the sidebar, and I'm brought to my landing page.

I hope that helps, but if not, if there's a particular task he's trying to accomplish, let us know and we could suggest a workaround for him.

Regards,

Shannon


Tags: cloud

confluence-cloud
Running Change log with Timestamps
Asked by Zach B:

We are new to Confluence (Server edition) but haven't been able to find a solid way to have a running Change log.

What we'd like is a way to just enter one line or whatever the change was and have it timestamp/date the item automatically and then have it be searchable and ideally sortable as well. Bonus points if it can include the person/username as well.

Something like:

8/23/2019 14:25 PST - Made such and such change on firewall

8/23/2019 14:18 PST - Made such and such change to group policy

7/18/2019 8:32 PST - Rebooted x server due to performance issues

I haven't found a template that can help with that yet so we considered just a blank page and using comments. I'm hoping there's a better solution and thought I would ask the community!

Thanks!


Answers:
author: Davin Studer
body: There is nothing built-in that can give you all the features you are looking for. One app that I am familiar with that can do what you are asking is called [ConfiForms](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=cloud&tab=overview). It's a pretty versatile app and can be used for a ton of different purposes.

comments: author: Zach B
body: That looks pretty cool! Overkill feature wise for our initial solution, but now it has me thinking of many other uses too as it looks quite powerful. Thank you for the suggestion and we'll look into it!


Tags: confluence-server
How can I pull multiple rows into a page properties report?
Asked by x x:

**I only see the first two rows, but I have several rows of data I want reflected in the report.**


Answers:
author: Davin Studer
body: The page properties and page properties report macro are not designed to handle multiple rows. It is designed to roll-up singular instances of key/value pairs across multiple pages of your site.


Tags: macro

page-property
Re: Como bloquear download de arquivos?
Asked by Fabiana Araujo Garcia:

Na vers?o antiga conseguia exibir arquivos como miniaturas, visualmente ficava mais amig?vel para os usu?rios. Na vers?o atual n?o estou conseguindo, sempre que fa?o o upload de um arquivo pdf, ele fica como um quadrado cinza informando o nome e tamanho do arquivo.

Como podemos resolver essa situa??o?


Answers:
author: Shannon S
body: Ol? [@Fabiana Araujo Garcia](/t5/user/viewprofilepage/user-id/3508037),

Bem-vinda ? Atlassian Community! Prazer em conhec?-la.

No editor novo, arquivos PDF n?o s?o visualizados automaticamente, mas n?s temos um pedido para a inclus?o desta funcionalidade abaixo. Por favor vote no mesmo se quiser esta funcionalidade em vers?es futuras. Voc? ser? adicionada automaticamente ? lista de participantes e receber? atualiza??es sobre o pedido.

* [CONFCLOUD-67512](https://jira.atlassian.com/browse/CONFCLOUD-67512) *Retain PDF attachment as a thumbnail not as an icon*

Por enquanto, use o [PDF Macro](https://confluence.atlassian.com/confcloud/pdf-macro-724765266.html) se voc? quiser adicionar um arquivo PDF em uma pagina.

N?s temos tamb?m uma discuss?o em aberto (em Ingl?s) abaixo, voc? est? convidada a participar:

* [Try out the new editing experience](https://community.atlassian.com/t5/Confluence-discussions/Try-out-the-new-editing-experience/td-p/1000813)

Espero que ajude, mas avise se voc? tiver alguma pergunta.

Atenciosamente,

Shannon

----

Welcome to the Atlassian Community! It's nice to meet you.

In the new editor, PDF files do not automatically preview, but we have a feature request for it below. Please vote if you wish to see this feature implemented. You will automatically be added to the list of watchers and receive updates on this.

* [CONFCLOUD-67512](https://jira.atlassian.com/browse/CONFCLOUD-67512) *Retain PDF attachment as a thumbnail not as an icon*

In the meantime, you can use the [PDF Macro](https://confluence.atlassian.com/confcloud/pdf-macro-724765266.html) if you wish to embed a PDF preview in a page.

Additionally, we have a conversation going on (in English) on the thread below, that you're welcome to join in on:

* [Try out the new editing experience](https://community.atlassian.com/t5/Confluence-discussions/Try-out-the-new-editing-experience/td-p/1000813)

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

Regards,

Shannon


Tags: confluence-cloud
Show collapsed groups in excel on confluence page
Asked by Matt Mueller:

I am able to view my excel sheet directly on the confluence page, which is awesome. But I have grouped rows set up in the excel sheet and most of them I want collapsed when people view it. The confluence view expands all the groups automatically unless you click on edit and then it shows the collapsed groups correctly.

Can anything be done about this to shows groups as collapsed when viewing on confluence?


Answers:
author: Davin Studer
body: Unfortunately, no. Confluence does a decent-sh job of displaying Excel documents, but it is limited. It cannot do everything that Excel can do.
How to create a new template based on standard Confluence templates
Asked by Timothy Baynes:

We would like to create our own content templates in Confluence. We prefer to base them on the standard Confluence templates, if possible. I would like to either:

- Edit a standard template (e.g. Product Requirements) and copy it/save it with our own name, like "MyCompany Product Requirements"

- Alternatively, we would create our own custom template, but ideally we start with a Confluence template and modify it.

Are either of these paths possible?


Answers:
author: Timothy Baynes
body: Thank you. I don't think this addresses the requirement. If we edit the standard templates, it would be good to know that they have been edited and also to identify them as ours.


author: Sharon Helms
body: Hi Timothy,

You can edit existing Confluence templates either at the Space or Global level. Check out the Edit templates section of [Blueprints and User Created Templates](https://confluence.atlassian.com/confcloud/blueprints-and-user-created-templates-724764985.html#BlueprintsandUserCreatedTemplates-Edittemplatesedit_templates)

One thing to keep in mind:
> Unlike user created templates, you can't change the name of blueprint templates, only their content. If you decide you don't like the edits you've made to a blueprint template, you can select **Reset to default** (which only appears for edited blueprints) from beside that template to return it to its original state.

Hope this helps -- good luck!

Sharon


Tags: cloud

confluence-cloud
Creating HTML macro that will search in multiple defined wiki pages
Asked by Madysen Gardner:

Hello,

I have a few wiki spaces and would like to create a search bar using the HTML macro that will allow me to search within only the few spaces I've defined. I'm not handy with HTML and would like some help with an HTML macro that will allow me to do this. I know the newer version of Confluence has this ability but my org will not update to a new version.

<br />

Thank you!


Answers:
author: Madysen Gardner
body: This worked perfectly, thank you!


author: DPKJ
body: Here is sample you can use and start your work.

It contain a simple html form with text field, and when you submit this form search result page is opened.

There is array called 'SPACES_KEY' in which you can provide all spaces you want to search with this particular form.

```
<div>
  <form id="space-search" method="GET">
    <input type="text" name="query" id="search-query"/>
    <input type="submit" value="Search" />
  </form>
  <script>
    AJS.toInit(function () {
      var SPACES_KEY = ['CM']; //list all space you want to search in this array
      var $ = AJS.$;

      $('#space-search').submit(function (e) {
        e.preventDefault();
        var q = $('#search-query').val();
        var query = 'siteSearch ~ "' + q + '" AND space in (' + SPACES_KEY.join(",") + ')';
        
        window.location = 'dosearchsite.action?cql=' + encodeURI(query); //open new page with search results
        
        return false;
      });
    });
  </script>
</div>
```
What is the easiest way to copy notes from one meeting template and add them to the next?
Asked by Reggie Pendleton:

After you create a meeting notes page (using the notes template) and have added your meeting notes and action items...what is the best way to copy those action items to the next meeting?


Answers:
author: Brant Schroeder
body: I add the task report gadget at the top of all my meeting notes and then set it to just filter on that specific meeting series based on the meetings labels. This way as you copy the notes you can delete action items from the last meeting but the will show at the top of the new meeting. The task report gadget will actually aggregate all incomplete (or complete) tasks so you never have to hunt down what is remaining.

Image of task report in edit mode:

![notes.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/64230i65AB3EE69B566F15/image-size/large?v=v2&px=999 "notes.PNG")

comments: author: Reggie Pendleton
body: This is brilliant...thank you!
Why isn't file preview is not working when using the office excel macro?
Asked by Tim Perrault:

When I use the office excel macro to add excel content to a page, I don't get the preview functionality. If I just drag and drop the excel file I can click on it and get the preview functionality which then give me the option to edit with. If I go to the attachments for the page I can't preview there either, but if I add the attachments macro to the page I do see the preview button. Am I missing something?


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

which Confluence version are you using?

You might want to check:

<https://confluence.atlassian.com/doc/confluence-6-14-release-notes-963655609.html#Confluence6.14ReleaseNotes-Morewaystoeditfiles>

The Excel macro embeds defined content of the excel file directly into the page w/o the need of a preview, whereas dragging or embedding the excel file directly creates a preview placeholder \& opens a preview after clicking on the placeholder.

Best

JP


Tags: confluence-server

server
Con no long view nor edit excel file
Asked by asitzler:

We have a log that gets regularly updated. Normally, we use view, edit with excel to make the necessary updates. Recently, this functionality has stopped working. Some of us can view the file, but don't get the option to edit. For some the file never comes up in view. We didn't change anything that we know of. We all use Chrome, all PCs no Macs


Answers:
author: Shannon S
body: Hello there,

Welcome to Atlassian Community. It's nice to meet you.

Have all of your users installed the [Companion App](https://confluence.atlassian.com/confcloud/edit-files-724765124.html) in order to edit the files? Have your users try clearing their browser cache as well and see if this helps.

Regards,

Shannon


Tags: cloud

confluence-cloud
Cannot access wiki page after server reboot
Asked by Vinnie O-Hare:

We had a wiki server reboot early this morning (Server 2019 standard) and now none of my staff can access the wiki page (it times out). I have stopped and restarted the Atlassian Confluence.0 Confluence230419090421 service as well as the Kaseya Agent and Kaseya Agent Endpoint services and still nothing. Are there any additional services that need to be started that I am missing? Any assistance would be greatly appreciated.


Answers:
author: Davin Studer
body: How long did you wait for it to come back up? Our Confluence instance typically takes about 10 minutes to be accessible after the system has rebooted and the service has started. Also, Kaseya is not related to Confluence and will not affect the availability of Confluence in any way.

comments: author: Vinnie O-Hare
body: It has been back up now for over two hours and is still not accessible.


author: Kurt Klinner
body: [@Vinnie O-Hare](/t5/user/viewprofilepage/user-id/2540670)

Hi Vinnie,

what about the db that is used by confluence, does that one also reside on the server you rebooted.

Did you take a look to the log files to figure out if there are any exceptions thrown?

Cheers

Kurt

comments: author: Vinnie O-Hare
body: I am not sure where the db is located, and I do know that quite a few of the servers rebooted (power loss) around the same time. Our Network Admin is on vacation and is unreachable. Is there an easy way to tell where the db is located?


author: Vinnie O-Hare
body: It looks like that might be it, as I am now getting the following error when trying to connect to our wiki page.

DATABASE: DATABASE CONNECTION FAILED

How can I tell where my database is located?


author: Kurt Klinner
body: [@Vinnie O-Hare](/t5/user/viewprofilepage/user-id/2540670)

Hi Vinnie

you will find the db connection information within the confluence.cfg.xml

located at \<confluence_home\>/confluence.cfg.xml

See also

<https://confluence.atlassian.com/confkb/how-to-find-confluence-s-database-connection-parameters-779172320.html#targetText=Solution,confluence.cfg.xml%20file.>

Cheers

Kurt


author: Davin Studer
body: If you look int this file you can find the location of the database. Look for an entry called **hibernate.connection.url**. That is the connection to the database.

C:\\Program Files\\Atlassian\\Application Data\\Confluence\\confluence.cfg.xml


Tags: confluence-server

server
Numbered headings not tied to page update
Asked by Lalyn Shivers:

If you select numbered headings (in the style bar, not the macro), and discard changes on your page, the headings still persist. How can you remove the change without turning off numbered headings?


Answers:
author: Maarten Arts
body: Hi Lalyn,

The Numbered Headings button is not tied to the saving or discarding of changes on a page. When you click on the button, Numbered Headings immediately saves your numbering configuration.
> How can you remove the change without turning off numbered headings?

I'm not sure I understand your situation. What was the situation like before you made and discarded your changes? Was Numbered Headings turned on or off for this page?

With kind regards,  
Maarten  
Numbered Headings


author: Shannon S
body: Hello Lalyn,

Happy to help you with this.

Can you confirm which version of Confluence you are using?

In Confluence Cloud, when I click **Close** instead of **Publish,**it'll retain any changes I made as a draft. That way, I can go back in and make the rest of the changes later, and then publish it when I'm ready.

If you went in, added a numbered heading, and didn't want to, you can click CTRL+Z (CMD+Z on Mac) and undo the last change. If you want to undo all changes, click **Revert to last published version**.

Otherwise, the changes you made will be saved as part of the draft and will still be there the next time you edit the page.

Let me know if you have any questions about this.

Regards,

Shannon

comments: author: Shannon S
body: Lalyn,

Can you also please confirm with [@Maarten Arts](/t5/user/viewprofilepage/user-id/518525) and myself, are you referring to the Numbered List that's built into Confluence, or [Numbered Headings](https://marketplace.atlassian.com/apps/16063/numbered-headings?hosting=cloud&tab=overview), which is a 3rd party add-on built by Avisi BV?

Regards,

Shannon


Tags: atlassian-marketplace
I am having issues uploading a file that is password protected
Asked by Robert.Blamey:

In Edit, then "Insert Files \& Images", then "Upload Files" I am repeatedly receiving the message "Error connecting to Server". File will not upload. Is this because the document in question is password protected? I am able to upload other non protected files of the same document type, e.g powerpoint


Answers:
author: jira guy
body: Hey Rob,

Confluence tries to index every file after the upload so the text in the file is available on confluence search engine. I would expect confluence to be smart enough to ignore the index on these types of files. You could try zipping the file in a folder and try to upload.
In Confluence Calendar - Week View - is it possible to only show business hours?
Asked by Tiago Cardoso:

When using Confluence Calendar with the "week" view, it shows all hours, from midnight to midnight. It's not always needed, but by doing so the agenda is "squeezed", not showing all the details of the items, and at the same time leaving a considerable amount of unused area.

Is there any way of using the Confluence Calendar Week view and only see a given range of hours (or alternatively, hide specific ranges of hours)?


Answers:
author: jira guy
body: Don't think so. You would be better off with the list view.

comments: author: Denene Hough
body: Any changes in the last 5 years? We were just migrated to the cloud and our calendar is all messed up.


Tags: calendar

confluence-server

server

team-calendars-for-confluence
Confluence page link suddenly does not work
Asked by Susanne_K?hler:

Hey I just recently started confluence and its great. But today in the middle of restructuring some pages the "/link" stopped working. First I thought there is just something wrong with the auto-suggest, since it would not give me a selection of recently visited pages. But then it turned out it would not even create the link if I typed in the correct page name.

Any suggestions, fixes? Maybe I accidentally turned smt on or off?


Answers:
author: Shannon S
body: Hi Susanne,

Welcome to Atlassian Community.

Can you confirm that the pages you were trying to use /link on were also using the new editor? Some Cloud instances are still on both the old editor and the new editor. If you're editing a page on the old editor, try the command with { or use CTRL+K (Windows) / CMD+K (Mac) to insert a page.

Let me know if you have any trouble.

Regards,

Shannon


Tags: cloud

confluence-cloud