youngmon/atlassian-qna huggingface dataset:
How to display attached images with markdown
Asked by apurva abhyankar:

I want to display an image(attached to the page) with markdown. From what I looked up on the various portals, the format is:

!\[Alt text\](/path/to/img.jpg)

But, this works for actual links to the image. How do i reference the image that is attached to the page itself.


Answers:
author: Stephen Deutsch
body: It doesn't seem like the Wiki Markup converter has any smart check to determine whether an image is attached to a page or not, so you'll probably have to use the following format:

```
![](/download/attachments/<page_id>/<filename>)
```

comments: author: apurva abhyankar
body: Thank you for the answer. It worked. Really appreciate your help.


author: Stephen Deutsch
body: No problem :)


author: Stephen Deutsch
body: For anybody else coming to this page, the format is actually

```
![](<contextpath>/download/attachments/<page_id>/<filename>)
```

so for Confluence Cloud users it would be

```
?![](/wiki/download/attachments/<page_id>/<filename>)
```


author: Milan Panic
body: Hi, have tried this and it does not work for me?

Has something changed in the meantime?

Any ideas?

Would highly appreciate help

Works pefrectly with external links but not for internal:

```
External images should be avoided use the following format in markdown
BEST TO BE AVOIDED unless publicly available resources

Example:

![](https://i.ibb.co/ncPSnTF/sample-tech-specs-image.jpg)

For internal attachments - use following format
DOES NOT WORK UNFORTUNATELY:

![](/wiki/download/attachments/4238410304/sample_tech_specs_image.jpeg)
```


author: Milan Panic
body: Seems that this answer is not valid anymore in 2024:

Any ideas of the reason - would highly appreciate help?

```
External images should be avoided use the following format in markdown
BEST TO BE AVOIDED unless publicly available resources

Example:

![](https://i.ibb.co/ncPSnTF/sample-tech-specs-image.jpg)

For internal attachments - use following format
DOES NOT WORK UNFORTUNATELY:

![](/wiki/download/attachments/4238410304/sample_tech_specs_image.jpeg)
```


author: apurva abhyankar
body: Yes, COnfluence server 5.8

comments: author: Stephen Deutsch
body: Are you inserting markdown in the "Insert Markup" menu or using a plugin to display it?


author: apurva abhyankar
body: Insert Markup


author: Stephen Deutsch
body: Hi Apurva,

Could you please let us know which product you are using (Confluence?), which type you are using (Cloud, Server), and if Server, which version?
Can I change the horizontal line rule color on an individual basis, instead of system wide?
Asked by Neil Adams:

I am trying to change the default color on the horizontal line rule on just an individual page, not a global change. Is it possible to use markdown to do that, or not?

Thank you!

-neil


Answers:
author: Thomas Schlegel
body: Hi Neil,

do you have the free plugin [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview) installed?

With that, you are able to edit the sources of your Confluence page directly:

A page with the horizontal rule looks in Confluence Sources like that:

\<hr/\>

With the source editor you can add a style to your hr, e.g.:

\<hr style="border: dashed rgb(0,255,0) 1.0px;background-color: rgb(170,0,0);height: 15.0px;"/\>

The hr then looks like this:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/4237i118A6992D10875C5/image-size/large?v=v2&px=999 "image.png")

comments: author: Neil Adams
body: Thomas,

I was unaware of that plugin. I'll give that a shot and see if that works.

Thank you!

-Neil


author: Shannon S
body: Hi Neil,

It's not possible to edit CSS for a single page in Confluence. We have a feature request for this, however: [CONFSERVER-41708](https://jira.atlassian.com/browse/CONFSERVER-41708). You can vote onthat issue to help us keep track of how many users would be interested in such a feature.

In the meantime, my reccomendation would be to try Dan's answer on [this other community post](https://community.atlassian.com/t5/Questions/Styling-a-single-page-with-CSS/qaq-p/154339) and enable the [HTML Macro](https://confluence.atlassian.com/doc/html-macro-38273085.html) and use that to try and insert the CSS for the single page.

Let us know if you have any trouble!

Kind Regards,  
Shannon

comments: author: Neil Adams
body: Shannon,

Thanks for your reply! I'll also give that a shot and see what works.

-Neil


author: Shannon S
body: Hi Neil,

No worries! Thomas' answer is also very good as you can directly edit the page so go ahead and give them both a try and see which works best for you.

Kind Regards,  
Shannon


Tags: colour

horizontal-rule
Create more Jira issues from table in Confluence where issues already are mapped
Asked by Leland Smith:

I use the create Jira issues from table feature in confluence, but then I added more table rows with new requirements. I want to export the additional rows to Jira, but when Confluence offers to "use table" it includes the already linked issues.


Answers:
author: Shannon S
body: Hi Leland,

There is currently a feature request at [CONFSERVER-52357](https://jira.atlassian.com/browse/CONFSERVER-52357) to be able to select the issues you wish to create when creating multiple issues from table. Otherwise it will indeed attempt to create all issues in the table.

You can help out by voting for the above feature request. Thank you in advance!

Let us know if you have any questions about this.  

Kind Regards,  
Shannon

comments: author: Leland Smith
body: thanks, i just created a new table


Tags: jira
Why do all my images I post to a confluence page show as "Broken Image?"
Asked by Ryan Pereira:

For the past three weeks, any images I try to populate on confluence pages show as "broken image." I have tried to paste screen shots and attach/upload files from a folder. Nothing seems to work.


Answers:
author: Ryan Pereira
body: Other users can update my page with images I provide to them. This is occurring in Firefox.

comments: author: Shannon S
body: Hi Ryan,

Can you confirm with us the version of Firefox you're using as well as your Confluence version? Do the other users not have the same problem in Firefox?

Thank you!

Kind Regards,  
Shannon


author: Ryan Pereira
body: 54.0.1 (32-bit) - Firefox. How do I determine my Confluence version?


author: Ryan Pereira
body: Confluence Cloud

### Confluence 1000.1804.0 {#toc-hId-1564465175}

perhaps...


author: Shannon S
body: Hi Ryan,

Great, thank you!

Can you tell me, do the other users not have the same problem in Firefox?

If you disable all add-ons in Firefox, do you have the same problem? The same when you access from another network or computer?

Kind Regards,  
Shannon
Integrate Smartsheet with Confluence?
Asked by Joe Wilkinson:

Hi,

I currently use Confluence as a way to maintain information and report on the status of projects. It's a high level overview. I would like to see if I can link Smartsheet with Confluence so that the status of the project is reported on the Confluence page. If possible it would be ideal that if there is any change in Smartsheet that Confluence would automatically update and reflect this change.

Does anyone know if this linking is possible and if so, how to do it?

Thank you,

JW


Answers:
author: Boris Berenberg - Atlas Authority
body: Take a look at <https://confluence.atlassian.com/confkb/how-to-embed-smartsheets-in-confluence-using-the-html-macro-800862394.html>


author: Joe Wilkinson
body: Thanks for the link Boris! This is exactly what I was looking for.

JW


Tags: addon-placeholder_temp.smartsheet.com
I want to replicate excel sheet data in to confluence but with a search?
Asked by KRC:

So, I do have an excel with data and right now am using excel filters to search data, but now i want to use confluence and add excel data to one of the page or within a page and use confluence search so that it automatically filters business keywords and display appropriate columns and its data .

We would like to be able to search by one of the columns, such as XYZ and have it list all the cells/tables that have XYZ included which is signified by some cell data.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Charan,

You can use Office Excel macro to display your excel sheet in Confluence. To [filter](https://docs.stiltsoft.com/pages/viewpage.action?pageId=9404471#ManagingDropdownFilters-Filteringthetablewithdropdownfilters) this sheet you can use [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro (also you an use [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) macro to aggregate it and [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) macro to visualize it).

comments: author: KRC
body: That's good to know, Will work on it and get back with questions if any. Thanks, Andrey Khaneev


author: Andrey Khaneev _StiltSoft_
body: Will be glad to help you!


Tags: ms-excel
Is there a Confluence macro to limit or show the number of characters in its body?
Asked by Steffen Opel _Utoolity_:

I have a use case that requires many identically structured pages with a fixed multi column/row layout. For the moment, I'm resorting to a custom [page template,](https://confluence.atlassian.com/confcloud/create-a-template-724764986.html) which works fine as such. However, one aspect of that predefined layout is that several text areas have a hard maximum character limit.

Is there a macro (or any other approach) to limit or at least show the number of allowed characters in a text area so that the page template users are guided regarding the character limit while editing the page?


Answers:
author: Boris Berenberg - Atlas Authority
body: I would start by just using a panel macro which says the max number. But off the top of my head, I don't know of any macro which does what you want.

If you're on Server, then a user macro may be an easy solution? If cloud, then writing a connect add-on for this should also be fairly simple.

comments: author: Steffen Opel _Utoolity_
body: Thanks [@Boris Berenberg - Atlas Authority](/t5/user/viewprofilepage/user-id/744528) - seems a no is the correct answer then.  

The request is for Server right now, but would apply to Cloud scenarios too down the road. I've scheduled a backlog item for our team now, let's see whether we can up with something (looks like the typical 'hardly enough pain to tackle it' issue though ...).

Meanwhile, showing the allowed number of characters in   
a panel macro might indeed be a helpful workaround for scenarios where the layout/visual impact doesn't matter, good idea!


author: Boris Berenberg - Atlas Authority
body: At the end of the day, no macro can modify whats going on in the editor. The closest I can say is you could have a macro that displayed the character count, and try and detect if it's being used in a preview view, and then have text entered into a property instead of macro body. If you don't detect preview view, you just show the text, and no count.


author: Stavros_Rougas_EasyApps
body: If you need a character count for Confluence our app does that inline [Word Count by Easy Apps](https://marketplace.atlassian.com/apps/1224670/word-count-by-easy-apps?hosting=cloud&tab=overview).


Tags: macro

server
Create a page templates
Asked by 1GT Tech:

Hello! My problem:

I did a page templates, and I use a macros "create from template", but I want to give a name page like - "Name page" + "Some text".

I can use this form - @spaceName, @currentDate, but I need also use, for example, - @pageName. Confluence dosent understand me. How can I address to page?

Sorry for my english:)


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid the only three shortcuts available are spaceName, currentDate and spaceKey

There might be another way to get something with this though - can you explain what you're trying to do with the name of the page and the "some text"?

comments: author: 1GT Tech
body: I have structure:

* Page1
  * Page2

And at "Page2" I want to create a page from macros "create from template". And I want to give the page a title "Page2 - Document", but I need to specify this in a macro![5a2c0f2943](https://community.atlassian.com/t5/image/serverpage/image-id/4212i663D848D7D4C46CF/image-size/large?v=v2&px=999 "5a2c0f2943")


author: EPS Software Engineering AG
body: Hi,

Maybe our Page Tree Creator (commercial Add-on for Server) could help solving your problem.

Check out our [Live Examples](https://focuspro.eps.ch/display/PEPSMarktExample) (no registration required).

Regards,  
Stephan


Tags: template
CREATE page WYSIWYG wont load
Asked by Jon Hauge:

When i press CREATE - the edit page is loading but the WYSIWYG editor is not loading and the message appears:

This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/4187i61B0F79B68103C58/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Boris Berenberg - Atlas Authority
body: Is this a server instance? It looks like Synchrony isn't working in your environment. <https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html>


author: Jon Hauge
body: I'm using IIS as an SSL proxy and the port 8091 is not open in my FW. I just switched off coll. editing as i dont need it.
Clicking on Images Stuck at Loading
Asked by anielsendigiriv:

Confluence 6.2.3 - In IE and FireFox, when clicking on an image in Confluence the image does not display, instead we just see a loading screen. Using Chrome and Opera, clicking on an image results in a popup of the image as expected.

Any ideas?

Thanks!


Answers:
author: Jeremy M
body: Dear Aaron,

I have encountered this error before aswell whilst using firefox. What version IE/Firefox are you using?

There has also been some documetnation posted from Atlassian about this.. here:

[Some images not displaying, endlessly loading on Confluence page](https://confluence.atlassian.com/confkb/some-images-not-displaying-endlessly-loading-on-confluence-page-911935177.html)

Friendly Regards,

Jeremy Mooiman

comments: author: anielsendigiriv
body: Hi Jeremy,

My Firefox version is 54.0.1, IE is 11.0.9600.18738CO. However others (assuming all) at my company are having the same issue. We recently upgraded Confluence to version 6.2.3 from 3.4.9.

Regarding the linked artice, I'm not using Adblock Plus but appreciate the link.

Thanks!

Aaron


Tags: image
Urgent How to recovery key
Asked by System Admin:

Hi support,

We have other user using the confluence,can we recovery the trial key first?

Our server is trial will expire in 3 days.Can we recovery this key \& will renew it later.

Regards

Sam


Answers:
author: Nic Brough -Adaptavist-
body: Your key is kept in your my.atlassian account, where you can get more keys if you need them.

Please note that your question was flagged as spam - I suspect it's because you are using a dubious name in your account, you should correct that.


author: Lars Olav Velle
body: You can evaluate confluence 3 times (90) days.

New license keys are generated here:

<https://my.atlassian.com/license/evaluation>

-Lars
Include file in code block
Asked by Nicolas Bauland:

I would like to know if is it possible to create a code block and drag and drop a file code in it ?

I try but without success, maybe it's not the way to do.


Answers:
author: Shannon S
body: Hi Nicolas,

Currently you will need to type in the code you wish to use, but I have created a feature request to add the ability to drag-and-drop at [CONSERVER-53149](https://jira.atlassian.com/browse/CONFSERVER-53149)

Please let me know if you have any questions about that and feel free to provide your usage case information on that ticket. It will also help if you can add a vote so the developers can see how popular this feature could be!

Thank you for your help!

Kind Regards,  
Shannon


author: Nicolas Bauland
body: Hi Shannon,

I hope this feature will be soon implemented, it would be very useful !

Thanks,

KR,

Nicolas

comments: author: Shannon S
body: You're welcome Nicolas! Thank you for your support.

Kind Regards,  
Shannon
How to disable the Create button
Asked by Gabrielle Ocumen:

Hi,  

Good day!  

I wanted to know on how to disable the create button at the top (see attached)![create button.png](/t5/image/serverpage/image-id/4155i2387C05560B1E981/image-size/large?v=v2&px=999 "create button.png") even if a user has access in editing a page. Or how to restrict a user adding a page but he/she can edit a page?


Answers:
author: Jeremy M
body: Dear Gabrielle,

I have not done so myself, but I believe you can achieve this by using CSS with Confluence, grabbing the Div ID of the button and making it a display;none. However.. you will need to play around a little bit with that because I am not sure if that Div ID is being used elsewhere.

<Documentation for CSS with Confluence>

A second option, which I have seen in action is the following;

Refined Theme, a popular add-on for Confluence enables you to alter specific elements, including the create button on the dashboard. This person has the same use case as yours and succeeded with this add-on.

[Link to Use Case](https://community.atlassian.com/t5/Confluence-questions/Refinedwiki-remove-Create-button-on-dashboard/qaq-p/448672)

[Link to Refined Theme](https://marketplace.atlassian.com/plugins/com.refinedwiki.confluence.plugins.theme.original/server/overview)

I hope this answer can be of use,

Friendly Regards,

Jeremy Mooiman


author: AnnWorley
body: There is also this free plugin:

[HideElements for Confluence](https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.hideelements-macro/server/overview)
Oracle DB release
Asked by Anna Protopapa:

We are going to make the production installation for Confluence and we have a question about the supported platforms: Can we use Oracle Database 12c Release 2?


Answers:
author: Shannon S
body: Hello Anna,

As Daniel let you know in [your JIRA question](https://community.atlassian.com/t5/JIRA-Software-questions/Oracle-DB-release/qaq-p/620434), there is a list of supported platforms for Confluence [available from our site](https://confluence.atlassian.com/doc/supported-platforms-207488198.html).

In Confluence, we currently support 12c (Release 1). Release 2 is not yet listed. Please keep an eye on that page for when Release 2 is officially supported.

Kind Regards,  
Shannon


author: Daniel Eads {unmonitored account}
body: Duplicates <https://community.atlassian.com/t5/JIRA-Software-questions/Oracle-DB-release/qaq-p/620434>
Can I use a 'canned' script with a 'script job' in ScriptRunner for Confluence?
Asked by Thomas Berger:

I'd like to use the "Bulk delete comments from one or more pages" canned script on all pages of a specific space running as a script job and deteting page comments older than 60 days.

However, this script has a few user params defined and wants the user to select a page.

Not 100% sure on how to approach this? Do I build a custom 'Script CQL function' and then use the 'CQL escalation service' script job type?


Answers:
author: Stephen Cheesley [Adaptavist]
body: Hi Thomas,

I think the best approach would be to get a list of the current pages for a space using the SpaceManager and PageManagers that are built-in to the Confluence API. You can then use these to call the built-in space.

I have taken the liberty of putting an example script together:

```
import com.atlassian.confluence.pages.PageManager
import com.atlassian.confluence.spaces.SpaceManager
import com.atlassian.sal.api.component.ComponentLocator
import com.onresolve.scriptrunner.canned.confluence.admin.BulkDeleteComments
import groovy.json.JsonBuilder

def spaceMgr = ComponentLocator.getComponent(SpaceManager.class)
def pageMgr = ComponentLocator.getComponent(PageManager.class)

// The canned script we want to use...
def canned = new BulkDeleteComments()

// Let's grab the space
def space = spaceMgr.getSpace("ds")
def ids = pageMgr.getPages(space, true).collect{ it.idAsString }

// Build the params
def scriptParams = [
    "FIELD_PAGE": new JsonBuilder(ids).toString(),
    "FIELD_AGE": "60",
]

// Run the script
def response = canned.doScript(scriptParams)
response["output"] // <- Return the response - don't need to do this for a built-in job but you might want to log it.
```

**TODO:**Where I do spaceMgr.getSpace("ds") you need to swap that for your desired spaces key.

If you want to test this out you can run it from a script console first. Otherwise put it into a script job to run at your desired frequency.

If you have any questions just let me know.

I hope this helps!

Steve


Tags: adaptavist

scriptrunner

server
Confluence works but I cannot edit pages
Asked by Jessica Mulein:

![Screen Shot 2017-08-05 at 6.43.50 PM.png](/t5/image/serverpage/image-id/4124iE28E9A85BB5B792F/image-size/large?v=v2&px=999 "Screen Shot 2017-08-05 at 6.43.50 PM.png")This pops up immediately. Also /heartbeat.js is a 404 because it is not beneath /confluence- and doesn't seem to be respecting the prefix.


Answers:
author: Nic Brough -Adaptavist-
body: The most common cause of this is a problem reaching the Synchrony service.

Check this by going to Admin -\> Collaborative editing, and disabling it. You should find that you can now edit pages, but with the old Confluence 5 style editor. If that happens, then we'll need to look at Synchrony.

comments: author: Steven F Behnke
body: OP should also answer whether or not this a new installation or did they upgrade an existing installation? Are they the system administrator? :p

So little context.


author: Jessica Mulein
body: The Synchrony stuff was the root cause! Thanks! I'll probably take some time to troubleshoot it eventually, but for now it's off and I can edit again!  

Thanks thanks thanks! :)


author: Jessica Mulein
body: PS It was upgraded and I am the admin.


author: Nic Brough -Adaptavist-
body: My instinct would be to look at the proxy server.

I had massive problems getting Synchonry to work over https behind an Apache proxy on 6.0. On 6.2+ it works fine if you follow all the docs, but you still do have to fiddle with the proxy setup for it quite a bit.


author: AnnWorley
body: [@Jessica Mulein](/t5/user/viewprofilepage/user-id/655697)When you do get ready to tackle the collaborative editing, there are some good diagrams on [Administering Collaborative Editing](https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html#AdministeringCollaborativeEditing-ProxyandSSLconsiderationsproxy) and a good checklist on [Troubleshooting Collaborative Editing](https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html).