youngmon/atlassian-qna huggingface dataset:
Customize the Editor Tool bar
Asked by Ryosuke:

Hi. Is there any way to customize the Editor Tool Bar in Confluence?

Wish to add some macros as in the attached pic.

It makes me quite tired to add a macro each time by selecting

1.Insert more content

2.Other macros

3.Search macros

4.Select Macro

![Editor Tool Bar.png](/t5/image/serverpage/image-id/5527i0B45721F1926E38C/image-size/large?v=v2&px=999 "Editor Tool Bar.png")


Answers:
author: Shannon S
body: Hi Ryosuke,

Which macro are you looking to add to the toolbar? A quicker way might be to type { in the Confluence page and then the name of the macro. This way, you don't need to use the **Insert more content** option each time.

Otherwise, there's a tutorial on our Developer site that could help you. It is for an older version of Confluence but you may be able to work with it on your instance:

[Adding an option to the editor insert menu](https://developer.atlassian.com/confdev/tutorials/adding-an-option-to-the-editor-insert-menu?_ga=2.199234733.2096600635.1504172592-116406192.1504172592)

Let us know if you have any questions.

Kind Regards,  
Shannon

comments: author: Ryosuke
body: Thank you for your reply Shannon.

I have to change(show)all the existing page titles in English and Japanese for Japan and other countries employees, so trying to use Japanese macro, English macro, and Pagetitle macro.

Quite tough to do it in around a hundred pages, but typing the macro name directly as you advised seems to be much easier. I'll try it.

\>Adding an option to the editor insert menu

Hmm. It seems a little difficult to me. I'll ask our Admin for help.

Thanks!!

Regards

Ryosuke


author: Shannon S
body: Ryosuke,

You're welcome! Since you'd be changing the way that Confluence was written it would require you to edit the source files as in the developer documentation.

Do let us know how it goes or if you have any questions.

Kind Regards,  
Shannon


author: Selim Tougui
body: Thanks for the questions and the useful answer, it would be great for future Confluence version to provide an easy way to customized the tool bar :)
Numbered headers with tab
Asked by datecnl:

Hi,

I would like to number my headers. I can do that manually, but I would like a tab between the number and the header text, so that the headers are aligned.  

So not:

1. My header

1.1 My sub header

But

1. My header

1.1 My sub header

Is there a way to do this? Sorry if it is a silly question.


Answers:
author: datecnl
body: Hi thanks, but that one is a bit too clumsy, with enclusing everything in a Macro.

Too bad, I think Confluence is a great documentation platform, but it just needs a few extra's to make it complete.


author: Thomas Schlegel
body: Hi Pieter,

I think this is not possible with plain Confluence.

Maybe you want to have a look at the app [Numbered Headings](https://marketplace.atlassian.com/plugins/nl.avisi.confluence.plugins.numberedheadings/server/overview)

For server instances, it is free.
Create a Scriptrunner API endpoint for Word Import?
Asked by Joshua DeClerck:

There are a few reporting tools we use that can't generate wiki markup at this time, but can generate simply formatted Word documents that cleanly convert to Confluence pages using its importer.

What I'd like to explore is whether there's any kind of way to expose Confluence's Word importer as a REST endpoint that our reporting engines can automatically post to. It wouldn't need to do much more than take a doc/docx input, target space and (optionally) parent page, and disable page splitting.

But I realize even that much might be asking for a lot. Any help, or suggested alternatives, is appreciated!


Answers:
author: Christo Mastoroudes _Adaptavist_
body: It might also be possible to do a rest call that creates a page containing a "View File Macro" with it's property pre-configured to the name of the word doc, and also then attach the word doc to the page.

<https://confluence.atlassian.com/doc/view-file-macro-170494360.html>


author: Christo Mastoroudes _Adaptavist_
body: I had a quick look at your problem and it is not completely straight forward but should be doable.

So the service that does the conversion is a plugin called "Office Connector plugin" and it seems this is installed as default with confluence.

You should be able to gain access to this service by using the annotation in your rest endpoint defined in ScriptRunner.

```

import com.onresolve.scriptrunner.runner.customisers.WithPlugin
@WithPlugin("com.atlassian.confluence.extra.officeconnector")
```

<https://scriptrunner.adaptavist.com/5.1.0/jira/scripting-other-plugins.html>

The classes in the OfficeConnector plugin that seem to do the work is WordTextExtractor and WordXMLTextExtractor.

You can download the plugin and investigate the code: <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.extra.officeconnector/versions>


Tags: adaptavist

scriptrunner
Text and Table does not render beyond a certain limit in Confluence page
Asked by Raja Jeevan Kumar Maduri:

Having an issue with the entire table rendering in one of the Confluence Pages.

Have tried using the table width types "Fixed Width" and "Responsive". However, the table doesn't seem to get fixed. The edit mode looks alright. However, the table gets squished to a certain length in the view mode. There is NO ruler in the edit mode, which indicates where the indents are for me to fix the indents.

Here is a Dropbox link to an image in case I have not been able to articulate my question: <https://www.dropbox.com/s/wrejv0ebhdn5880/ConfluencePageIssue.png?dl=0>


Answers:
author: Shannon S
body: Hi Raja,

Can you please confirm the Confluence version you are running where you see this issue?

Thank you!

Kind Regards,  
Shannon

comments: author: Raja Jeevan Kumar Maduri
body: We are using Confluence Cloud version. Ain't able to figure out where to fetch the version.


author: Shannon S
body: No worries, Raja! All Cloud instances are essentially the same version.

Let me look into this for you but I definitely saw it before. You have the New Look, correct?

Kind Regards,  
Shannon


author: Raja Jeevan Kumar Maduri
body: Yes Shannon. I have the new look from Confluence.

BTW, just so that you know....I admire working with Atlassian products and wish they were getting better by the day. I know that you are still trying to work through the kinks. But, you are going in the right direction. You should be glad that you are associated with an awesome solution driven company which banks on innovation. Cheers!!  


author: Shannon S
body: Thank you very much, Raja for your support!

So, here's the bug I reported earlier that sounds like it may be related:

* [CONFCLOUD-56464](https://jira.atlassian.com/browse/CONFCLOUD-56464)

The previous customer I was reporting about could see a difference in Edit mode where the tables were smaller than in View mode, but yours seems to be slightly opposite.

I've commented this question in that case privately and we'll see what information I can find on this.

Thank you for your patience!

Kind Regards,  
Shannon
Is there a way to mass clear cells in a table?
Asked by Randy Oh:

Like in excel, I just want to select a whole column or drag and select multiple cells, and just clear the cell values to blank.

Right now, I have to individually select the values in each cell and then delete and repeat. Painful.


Answers:
author: Bryce Hays
body: You can select the values across a row but not a column. It seems to be similar to [another issue that some people have found a workaround](https://community.atlassian.com/t5/Confluence-questions/Copy-cut-paste-columns-in-confluence-table/qaq-p/206369) for.

However, one workaround for columns that I use is to:

1. add a new column next beside the existing column
2. copy and paste the heading into the new column
3. delete the old column

Here is the documentation for those editor buttons: <https://confluence.atlassian.com/doc/tables-136463.html#Tables-Edityourtable>

Hope this helps even though it doesn't address your drag-and-select pain.

comments: author: Bryce Hays
body: [@Randy Oh](/t5/user/viewprofilepage/user-id/595025) hopefully the above helps but there are also related feature requests that you may want to vote on for [Confluence Cloud](https://jira.atlassian.com/browse/CONFCLOUD-33572) or [Confleunce Server](https://jira.atlassian.com/browse/CONFSERVER-33572).


Tags: delete

table
Breadcrumb says "undefined" on Confluence Knowledge Base
Asked by Brooke Sconyers:

Hi, I can't figure out why my breadcrumbs all say "undefined" in the blue bar. I have breadcrumbs built in the pages (automatically), and there are no undefined pages in space tools. I feel like this should adopt the breadcrumb from the content page in the editor but it isn't doing that? Where can I manage this field?

![undefined.jpg](/t5/image/serverpage/image-id/5518i901BE3257025BD89/image-size/large?v=v2&px=999 "undefined.jpg")


Answers:
author: Shannon S
body: Hi Brooke,

Had you done any imports prior to the breadcrumbs becoming undefined?

Please try [rebuilding the ancestor table](https://confluence.atlassian.com/doc/rebuilding-the-ancestor-table-153948.html) and then [re-indexing Confluence](https://confluence.atlassian.com/doc/content-index-administration-148844.html) and let us know if that corrects the issue with your breadcrumbs.

Kind Regards,  
Shannon


author: Kathy Earle
body: Actually another question: Is this solution applicable to Atlassian cloud?

comments: author: Shannon S
body: Hi Kathy,

As a Cloud administrator, you will be able to rebuild the ancestor table, but not reindex Confluence manually. You can raise a request with our Cloud team if you would like them to try reindexing your instance.

Kind Regards,  
Shannon


author: Kathy Earle
body: Could you please send instructions for rebuilding the ancestor table for a Cloud administrator.


author: Shannon S
body: Hi Kathy,

The instructions above are the same. You will go to the URL:  

    http://yoursite/admin/permissions/pagepermsadmin.action

So for your site it would be like this:  

    http://yoursite.atlassian.net/wiki/admin/permissions/pagepermsadmin.action

Let me know if you have any trouble!

Kind Regards,  
Shannon
Ouch! We can't load the PDF error message
Asked by Michael Flores:

We have PDF loaded into pages. When a user goes to view that Page the PDF preview or image doesn't appear. The only thing you see is a message whihc states Ouch! We can't load the PDF.


Answers:
author: Shannon S
body: Hi Michael,

Can you confirm if you encounter this issue with all PDFs or only certain ones?

Which version of Confluence are you running?

Lastly, what browsers and versions have you been able to replicate this on?

Kind Regards,

Shannon

comments: author: Michael Flores
body: Thank you,

Yes happens on every PDF on every single page. When I original load the PDF everything appears fine and it thumb nail preview appears fine. Once we go back to it the thumbs nail preview doesn't show and you get that error if you click on it to view it. Happens on all 3 browsers. Chrome IE and Firefox


author: Shannon S
body: Michael,

I assume all your browsers are on the most recent version available?

Please let me know what version of Confluence you are running.

Kind Regards,  
Shannon
Where can the permalink be accessed for comments?
Asked by Chris Riley:

Used to be able to get the permalink code for a comment by clicking on a button on the comment block. I don't see it in Confluence 6.x. Is it gone? Is there now no way to find the permalink for a comment in this version?

Much thanks,

Chris


Answers:
author: Shannon S
body: Hi Chris,

Are you referring to the permalink URL that will get you straight to a comment that has been made on a Confluence post?

Generally, the part below the comment which mentions the date or relative time that the comment was posted will be linked to the permalink for that comment.

Can you confirm if that's what you're looking for or if there's something else you require?

Kind Regards,  
Shannon

comments: author: Chris Riley
body: You are correct, Shannon! I found the spot. Thank you.

Chris


author: Shannon S
body: Chris,

Happy to assist you. :)

Take care and Kind Regards,  
Shannon


author: Ravi Varma
body: Thanks [@Shannon S](/t5/user/viewprofilepage/user-id/510046) . This was useful


author: Shannon S
body: Hi Ravi,

Thank you for the feedback! I'm happy that I was able to help more than just the original poster. :)

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

Regards,  
Shannon


author: Ravi Varma
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046) , Ideally the team should somehow use ![Screen Shot 2019-04-04 at 10.00.10 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/50557iA915554416918969/image-dimensions/29x25?v=v2 "Screen Shot 2019-04-04 at 10.00.10 PM.png") which would be intuitive rather than clicking on the date link. In JIRA it is more intuitive and we should retain that across other products as well.

Can you take our inputs on this?


author: Shannon S
body: Hello Ravi,

Thank you for clarifying the confusion. It does make a lot of sense, and honestly, the only reason I thought to click on the date is because I noticed that same behavior from other apps such as Facebook, Twitter, etc.

You can submit any feedback about our products via [jira.atlassian.com](https://jira.atlassian.com/secure/Dashboard.jspa). Let me know if you have any trouble with that!

Regards,

Shannon


author: Ravi Varma
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046) ,

I have created [CONFCLOUD-66077](https://jira.atlassian.com/browse/CONFCLOUD-66077 "CONFCLOUD-66077") based on your suggestion.

Regards,

Ravi Varma


author: Shannon S
body: Good morning, Ravi,

It looks great! Thank you for sharing that here. Hopefully if other users see the feature from this thread they'll be able to vote on it and we can increase the visibility on your request!

Take care, and have a pleasant week.

Regards,

Shannon


Tags: comment

permalink
Missing Page
Asked by Think Technologies Group:

I was in the middle of a new page being created and either I accidentally closed out of the browser or something else happened to stop me from hitting publish at the end of it. I have looked in the trash bin of the space and can't seem to find trace of it. Any ideas? I know that Confluence starts saving drafts of previously created pages as you edit them, but I can't seem to find anything for a page that was never "saved" from the start.

Any help is greatly appreciated!


Answers:
author: Thomas Schlegel
body: Hi,

if you once again create a new page in the same space, Confluence should ask you, if you want to open the draft.

comments: author: Think Technologies Group
body: Hi Thomas,

Thanks for the quick reply, but for some reason it didn't ask me when i tried your suggestion.


author: Thomas Schlegel
body: Strange...

but have a look here:

http://\<your-confluence-url\>/users/viewmydrafts.action

I've just tested in my environment, created a page and did not save it. Did you add a page title to your page already?

I found my page in the drafts section of my profile.

I've also tried another page without a page title. This is also there as "page without name".


author: Think Technologies Group
body: Hi Thomas,

<br />

Yes! I found it using that URL. Awesome trick!!!


author: Thomas Schlegel
body: Great :-)

If you think your question is answered, please mark it as answered. With such a marker, other users may find answered questions more easy. Thank you.
create new page with big content create error
Asked by Josef Artner:

if an new page was created with empty or small content everything works fine. this pages can be updeted / edit with big content withput problems.

new pages created wirh big contend before the first time published / saved are create an error and content not work.


Answers:
author: AnnWorley
body: I understand that if you create a page with a little bit of content, or a blank page, everything is fine, but when you create a page with a lot of content, you get an error and cannot save the page.

Please let me know more:

* Does it matter which browser is used?
* What is the error you see when the page canot be saved?
* Is the content being pasted in? If so, what is the source of the content?
* Do you have a reverse proxy in place? If yes, is it Apache, NGINX, IIS or something else?
* What version of Confluence are you running?
* Does this bug report describe your case: [Pasting a large amount of text will disconnect Synchrony](https://jira.atlassian.com/browse/CONFSERVER-46504)?

"Synchrony" is the name of the feature that enables Collaborative editing.

* Please check if the pages with a lot of content can be saved with the Collaborative editing mode set to Off in Confluence Admin\>Collaborative Editing or \<Confluence_Base_URL\>/admin/confluence-collaborative-editor-plugin/configure.action.

I look forward to hearing more about the issue and finding out if it is related to Collaborative editing.


Tags: create-page
Cut-and-paste numbered list from Confluence to Outlook
Asked by cburkins:

I'm trying to cut-and-paste a simple numbered list from a confluence page over to an Outlook email. It seems to drop the numbering. Any ideas on how to work around this ?


Answers:
author: Bill Adams
body: I'll try to remember to use one of these approaches. MS Office and Altlassian products are fixtures in our landscape. Although I am biased in favor or Altlassian, Confluence and Jira are making me, a Unix guy, appreciate the maturity of Microsoft products.


author: Dave Bosman
body: Hi,

Never tried this before and i have to agree with you that this does not work. :'(

But I have found a workaround!

Export to pdf first and copy from the pdf should do the trick

Regards

Dave

comments: author: cburkins
body: Hmm, decent work-around, I guess. Though seems like a pretty basic functionality that should work within confluence. Any chance of a comittment from Atlassian on fixing this ?


author: AnnWorley
body: I tested with Confluence server 6.3.x and Confluence Cloud and I was able to paste numbered lists into Outlook 2011 email messages from both. May I know more about the versions of Outlook and Confluence you all are using?

I noticed that if I use plain text in Word, or paste the numbered list into a plain text editor like TextMate it does strip the numbers. is it possible your Outlook is configured to use plain text?
Scanning text before posting
Asked by Jonathan Jacobi:

So I want to do the following:

Before a post is being posted (like before an "article" in the confluence is being published), I want to scan the post's actual text.

For example, to scan it and check if it contains certain words (i.e curse words and like so).

How should I approach the problem?

A confluence plugin?

How do I get it to get executed before the post is published?

BTW:

I am using Confluence 5.4.3

Thank you in advance!


Answers:
author: Stephen Deutsch
body: Sounds like you're looking for [WTFilter](https://marketplace.atlassian.com/plugins/com.singingbush.confluence.WTFilter/server/overview)

comments: author: Jonathan Jacobi
body: To be honest the use of it is not to filter such words,

it's more like:

Beofre an article is being published, I want to scan the text and compare the words inside it to a list I own, and if I find matches I want to add certain labels to the "article".

Do you know of such Filter/Plugin?

If there isn't one that exists, how do I write one?

I mean, how do I approach it?

Thanks!


author: Jonathan Jacobi
body: any ideas :)?


Tags: app
Sql Server upgrade
Asked by indra:

Hello,

We are planning to upgrade Confluence DB. Current setup is we are using confluence 6.x with Microsoft SQL Server 2012 Database,we want to upgrade MS SQL to 2014. I dont think we need to do any changes on confluence except the driver file. Plesae let us know any more changes required in confluence.

Thank you


Answers:
author: AnnWorley
body: Hi Indra,

I understand you are upgrading your MS SQL server from version 2012 to 2014. You do not need to change the driver. Atlassian bundles the [JTDS driver](https://sourceforge.net/projects/jtds/files/jtds/1.3.1/) which was last updated in 2013. Here is a doc with more details: [Database JDBC Drivers](https://confluence.atlassian.com/doc/database-jdbc-drivers-171742.html)

Good luck with the upgrade. Please do reach out to the Community again if we can help with anything.

Thanks,

Ann
Setting up mail works in Jira, but not in Confluence
Asked by Arne Reith:

Hello,

we have just installed Jira and Confluence. While setting up a secure SMTP server in Jira worked flawlessly, we can't get it to work in Confluence, using the exact same settings.

We definitely need help with that. If there is any info we should provide that could help with solving the problem, please ask for it.

Thanks for your help in advance.


Answers:
author: Shannon S
body: Hi Arne,

I assume you're using port 465 for your SMTP server since you mentioned it was secure?

What is the exact error message you run into on Confluence when connecting? When you tail your logs, do you have further details there?

Thank you!

Kind Regards,  
Shannon

comments: author: Arne Reith
body: Yes, I am using port 465. This works in Jira, though I specifically had to set the protocol to SECURE_SMTP in the setup dialog. Otherwise I get the same error-message I get now with Confluence, but I can't find a similar option in Confluence's setup dialog.

The error-message comes down to:

```
com.atlassian.mail.MailException: javax.mail.MessagingException:
Exception reading response;
nested exception is: java.net.SocketTimeoutException: Read timed out
at
...
```

I would post the complete log here, but for some reason Confluence doesn't allow me to copy it from the dialog and the output isn't added to the standard log file. Other details also can't be found in the log file.

Thank you for your help!


author: Shannon S
body: Hi Arne,

Thank you for that.

1. Are you able to telnet to port 465 on your mail server from the server Confluence is hosted on? Is it hosted on the same server as JIRA?
2. Where is your email hosted?
3. Do you have TLS checked in your email settings for Confluence?
4. Is it possible to test port 587 on your SMTP server rather than 465 or is it not available?

Kind Regards,  
Shannon


author: Arne Reith
body: Hello Shannon,

1. Yes, I can telnet port 465 on the mail server from the server Confluence ist hosted on. Jira and Confluence are both running on that server.

2. The email is hosted by a service provider here in Germany.

3. I have tried it both with TLS enabled and disabled.

4. I just tried it, and that works, thank you, we will leave it with these settings.

You were a great help for us, thank you for that!.


author: Shannon S
body: Arne,

Thank you for confirming! I'm happy I was able to assist you.

Kind Regards,  
Shannon


Tags: configuration

email