youngmon/atlassian-qna huggingface dataset:
A better way to edit files?
Asked by Shawn in Van:

Thanks to Atlassian for added the v6.x feature to allow file editing directly from Confluence.

<https://confluence.atlassian.com/doc/confluence-6-11-release-notes-953678666.html>

<br />

But limiting the editing application to whatever the default OS application is an annoyingly shortsighted. :(  

For images, what I use for viewing images and what I use for editing are different tools. More often I want to open an image for previewing, not to edit. Therefore, the default is Google Picasa for quick previewing of images. It is significantly faster to open this tool than to open a graphics editor.

![Editing direct - limit to default.png](/t5/image/serverpage/image-id/35373iDF07D2CC9D4D7A27/image-size/large?v=v2&px=999 "Editing direct - limit to default.png")

<br />

This limitation is just lazy programming. I would have been nice to allow the end user to pick one or more tools to select for editing. :(


Answers:
author: AhmadDanial
body: Hi there, Shawn.

I read through the improvement that you are seeking that goes together between Confluence and Atlassian Companion. I understand the context and created the following Suggestion to address this concern:

* [CONFSERVER-57390: Atlassian Companion: Provide Option to Choose the Application to Edit / View Attachment (Images)](https://jira.atlassian.com/browse/CONFSERVER-57390)

I encourage you to visit the suggestion page linked above and click the *Vote* and *Watch* links near the top right to show support for the feature. By doing this, it will ensure you are proactively informed of progress and updates going forward.

You can also share your feedback by leaving a comment on the ticket as this helps the team prioritize \& understand the use case of the feature request. Let me know if you have any other concerns and I'll be happy to help.


Tags: attachment

confluence-server

edit
Slack in Confluence
Asked by Gesa Ritz:

Hi guys,

I am looking for a widget or possibility to show the recent slack feed of a certain slack-channel on my (home)page on Confluence (as the possibility to show the recent blog posts on the homepage). Is there any option?  

I found a widget for Confluence-Twitter, that is able to do exactly what I need, but for Confluence-Slack... As well I found options to integrate the recent changes of a certain page in a slack-channel, but I would like to have it the other way around.

Cheers, Gesa


Answers:
author: Caroline Bartle
body: Hi Gesa - thank you for posting your question. I'm a PM from the Atlassian team that developed and supports [Confluence Cloud for Slack](https://marketplace.atlassian.com/apps/1219518/confluence-cloud-for-slack-official?hosting=cloud&tab=overview).

Unfortunately, we don't yet support the functionality that you've outlined, but it's something that we've certainly discussed. Hence, it's great to hear about your particular use case, and that it would be a useful feature for Confluence customers like yourself.

comments: author: Yasmin Chaudhry
body: Hi, this is also something I'm looking for. We have announcements posted in lots of channels in Slack and I can create a reacji channel in slack which gathers all announcements if we use a particular emoji. I then wanted to post this channel to our homepage in Confluence so the team can see all recent announcements in one place. It looks like there is a widget that does this but we're worried about the security of third party access to our Slack so would prefer an official integration.

Thanks


Tags: cloud

confluence-cloud

slack
Creating a hyperlink with modified text by typing only, like pasting astring that will be recognised
Asked by Alexandre Beaulieu:

I am looking for a way to paste a text that will be converted into an hyperlink and have the displayed text modified, without passing thru the dialog box.  
Something like in Mattermost: (Click here)\[[www.google.com](http://www.google.com)\], which will display "Click here" as a hyperlink to "[www.google.com](http://www.google.com)".

Currently, I type \[[www.google.com](http://www.google.com)\], then I need to go back, click the link and enter my text (eg "Click here").  
I have a list of work item htat I am pasting from TFS and don't want to go back to each link to make it look good.

Thanks in advance,

Alex


Answers:
author: Thomas Schlegel
body: Hi [@Alexandre Beaulieu](/t5/user/viewprofilepage/user-id/2150609)

you can type this in the Confluence Editor:

```
[Click here|http://www.google.com]
```

But you have to type it, Copy and Paste is not working. And don't forget a blank space after the closing bracket.

Another way is using the markup editor:

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

There you can copy and paste also.


Tags: link
How to display confluence pages in a jira service desk portal for a custom field
Asked by Mar?a Zeneida Gonz?lez Alvarado:

When you write a word in the summary field of the service desk portal, you can have confluence pages according to the labels, but just in the summary field, how can we do that for another field, in this case description field.

Please see the attachments.

![Confluence.png](/t5/image/serverpage/image-id/35342iCDF7E40BA8B74A04/image-size/large?v=v2&px=999 "Confluence.png")![ConfluenceA.png](/t5/image/serverpage/image-id/35343i514D35EA4BAEE218/image-size/large?v=v2&px=999 "ConfluenceA.png")


Answers:
author: Victor Mutambuki
body: Maria,

Confluence pages will show depending on Request Type and the restrictions you set. The word user is too general. You should set instead based on Request Type and the labels.

<https://confluence.atlassian.com/servicedeskserver034/serving-customers-with-a-knowledge-base-875313984.html>

victor


Tags: confluence-server

jira-service-desk

jira-service-desk-server

server
Invitation to Confluence routes user to Service Desk
Asked by Tiptopp:

We've set up a new Confluence Space which is very much read only. This is for an external party to be able to read, but not edit or go further than this Space.

When we invite a new (external) user to this Space, the invitation email routes them to an Atlassian signup/signon page and then, when completed, to the customer Service Desk 'Raise a request' page.

Any ideas as to which Admin function can fix this? We assume that we've set something up wrong, somewhere. And although we've only been using Service Desk for a couple of weeks, we've had Confluence and Jira for ages.

Thanks,

Paul


Answers:
author: Victor Mutambuki
body: ![Screen Shot 2018-10-18 at 11.40.08 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/35368i6ABA01A72FCACF32/image-dimensions/454x138?v=v2 "Screen Shot 2018-10-18 at 11.40.08 AM.png")

Paul,

You should give external users the VIEW space permission under ANONYMOUS ACCESS.

I assume they're sent to Service Desk because they don't have confluence application. Allowing anonymous access should take of the issue.

Victor

comments: author: Tiptopp
body: Hi Victor. We've already given just the View permission, and the user does have Confluence access already, which is why we're confused!

Thanks for trying to help, though.

Paul


author: Victor Mutambuki
body: Paul,

One last thing. Under customer permissions, do you've the option "Anyone can email the service desk or raise a request in the portal"?

Victor


author: Tiptopp
body: Hi again Victor.

We do have that option. It was set to 'Yes'. We changed it to 'No' and tried again.

The routing was the same (i.e. to the 'Raise a Request' portal) but with no permission or options to do anything!

It seems to be the routing that is at fault - although this may be down to a permissions thing somewhere - but it's strange given that the invitation was from Confluence, NOT Jira.

Paul


author: Victor Mutambuki
body: Paul,

In your JIRA then, do you've Public Sign Up enabled?

Victor


author: Tiptopp
body: Victor - I can find this in Jira settings:

### Customer Permissions {#toc-hId-1649668396}

**Can customers create their own accounts?**

Yes, by signing up or sending a request

No, only my team can create accounts

This was set to 'Yes'. I've changed it to 'No' and we'll re-test it.

Paul


Tags: cloud

confluence-cloud

jira

jira-cloud
How to increase number of found users when @mention them within comment
Asked by Wilfried M?ller:

If mentioning a user within a comment by @ it only will show the first 5 found users. Not all available users with entered name are shown.

How this number can be increased?

Or even better, how the same functionality from choosing a user as assignee can be used for mentioning a user?

For the assignee all users will be shown supported by a drop-down-box (scroll functionality) if too many users found than can be displayed at once.


Answers:
author: Brant Schroeder
body: There is no way to expand the number that is shown or change how it works. but as you type it will narrow the selection down. You can also use email since it is unique to the user.


Tags: mention
Create user in confluence-Server from plugin
Asked by Siva Polamarasetti:

I am planning to write a REST API Plugin to create/delete users from confluence server 6.6.7 hosted on our server. As there are no API available for user management, we are planning to write a rest API plugin to add user management functionality which will be used in our organization automation process.

I am referring

<https://developer.atlassian.com/server/framework/atlassian-sdk/developing-a-rest-service-plugin/>

to create rest API, but not sure how to add user management module to create/delete users. Any pointers would be helpful.

Thank you,

pvs


Answers:
author: Santwana Sarangi {Appfire}
body: Hi Siva,

You can use the "UserAccessor" class to create or delete the user in the confluence. Here is the link <https://docs.atlassian.com/atlassian-confluence/6.6.0/index.html?com/atlassian/confluence/user/UserAccessor.html>.

You can do a constructor inject of UserAccessor into the rest module you are writing and then you can use its method to create/delete users. Here is an example of the use of confluence components in the plugin <https://developer.atlassian.com/server/confluence/accessing-confluence-components-from-plugin-modules/>.

Hope this helps.

Thanks,

Santwana


Tags: atl-adm

atl-dev
Formatting Changes after publishing
Asked by David Salsbury:

Having an issue where the formatting in a bulleted list, changes to very small font size and is centered, after publishing the page.

although it looks normal and is left-aligned in editing mode.


Answers:
author: Kayleen Cucugliello
body: Was this resolved? I'm having the same issue.


author: Bill Bailey
body: Was the list pasted from some other HTML source? If so, that could be why you are seeing an issue.

My suggestion is to highlight the entire list, and possibly the paragraphs before and after and clear formatting, then reapply bulleting.


Tags: cloud

confluence-cloud
Collabrative editing option missing
Asked by David Urquhart:

We have upgraded to Confluence 6.6.8 and I don't have the option in the UI

General Configuration / Collabrative editing

it is missing ?


Answers:
author: Rambabu Patina _Appfire_
body: [@David Urquhart](/t5/user/viewprofilepage/user-id/2011919) Can you check, Is the 'Confluence Collaborative Editor Plugin' (*system plugin*) is enabled in your Confluence site.

If enabled you should be able to see at **General Configuration** -\> **Collaborative editing**

comments: author: David Urquhart
body: Thanks it was not enabled, is this the default ?


author: Thomas Schlegel
body: Hi [@David Urquhart](/t5/user/viewprofilepage/user-id/2011919),

you should find it with this URL:

http://\<your-confluence\>/admin/confluence-collaborative-editor-plugin/configure.action


Tags: collaborative-editing
How to store a BLOB and authenticate users to download it?
Asked by Ar?n Mirza:

I am writing a simple plugin that generates a special purpose Powerpoint presentation from an existing Confluence page.

The file needs to be **(1)** generated upon the user clicking a button, **(2)** stored somewhere temporarily and **(3)** be offered to the (authenticated) user to download by an "open/dowload file" prompt.

![generate-pptx.png](/t5/image/serverpage/image-id/35313i3BE2E72BEA7FA86F/image-dimensions/174x181?v=v2 "generate-pptx.png")![open-download-prompt.png](/t5/image/serverpage/image-id/35314i3797214239509E97/image-dimensions/248x180?v=v2 "open-download-prompt.png")

The user interface part (1) is working as expected, but I am stuck in (2)nd and (3)rd part. Currently I am storing the file in the local plugin directory by most basic means:

```
File file = new File("export.pptx");
// ... Open stream, write to file and close stream
```

But I am aware that this is far from being the best practice. Where should I store these generated files instead? How can I authenticate *the user who clicked the button* to access this file, get a Uniform Resource Identifier belonging to the file so that I can redirect the user to this address and pop up the "open/download file" prompt?

By examining other plugins, I've concluded that I am probably going to need to use the GateKeeper interface, but there are unfortunately no tutorials about using it. Therefore, a most basic functional code example would be highly appreciated.  

**If anyone is interested, I've reopened this question at <https://community.developer.atlassian.com/t/how-to-store-a-blob-and-authenticate-users-to-download-it/24577>**


Answers:
author: Thomas Schlegel
body: Hi [@Ar?n Mirza](/t5/user/viewprofilepage/user-id/2147800),

do you know the Atlassian Developer Community:

<https://community.developer.atlassian.com/>

Maybe you find an answer for your question there.

comments: author: Ar?n Mirza
body: I am totally in wrong part of the website, thank you for the notice.

**Edit:** Is there a proper way to delete this question or inform the moderators to do so?

**Edit 2:** Please see **<https://community.developer.atlassian.com/t/how-to-store-a-blob-and-authenticate-users-to-download-it/24577>**


Tags: authentication

blob

confluence-server

developer

download

file

gatekeeper

server

storage
Pages are rendering blank in Chrome
Asked by Michael Brown:

I wrote a page using the "Decision" template. After publishing it renders blank in chrome. It shows fine in safari.

This is a fresh confluence cloud instance. I've made no layout changes.


Answers:
author: Michael Brown
body: Nevermind, appears to be a [cache problem](https://community.atlassian.com/t5/Confluence-questions/Confluence-shows-blank-page-in-Chrome/qaq-p/788417).


Tags: cloud

confluence-cloud
get path attachments groovy
Asked by alex:

Could you please give me a help?  
I'm writing the script which copy an attachment from space to space. But I can't get a path for attachment.  

<br />

```
 def filePath = null
 RequestFilePart requestFilePart = new RequestFilePart("application/octet-stream", attach.first().title.toString(), filePath, "file")
 List<RequestFilePart> fileParts = new ArrayList<RequestFilePart>()
 fileParts.add(requestFilePart)

 authenticatedRequestFactory
 .createRequest(Request.MethodType.POST, "rest/api/content/" + conf.id + "/child/attachment")
 .addHeader("X-Atlassian-Token", "nocheck")
 .setFiles(fileParts)
 .execute(new ResponseHandler<Response>() {
 @Override
 void handle(Response response) throws ResponseException {
 if(response.statusCode != HttpURLConnection.HTTP_OK) {
 throw new Exception(response.getResponseBodyAsString())
 } else {
 def webUrl = new JsonSlurper().parseText(response.responseBodyAsString)["_links"]["webui"]
 }
 }
 })
```


Answers:
author: Maksim Smetannikov
body: Hi! You have an "attach" variable but no declaration of it.

If in the second line your code declaration "attach" variable look like this:

```
def attach = page.getAttachments()
```

You can get the attachment path as follows:

```
attach.first().getDownloadPath().toString()
```

comments: author: alex
body: Hi.  
I'm sorry, but you give me a web link to download, and I need a path where the attachment is hosted on the server


Tags: atl-adm

atlassian-marketplace

developer
How to insert a link to an external weather widget?
Asked by Martin Kaufmann:

Hi all,

because users love eye candy, I want to insert a weather widget to my confluence page(s).

I am trying to use code like this:

*\<div id="weatherWidget" data-serviceid="5bc8362892f347.33127988" data-format="160x160" data-version="1.1" data-city="18220613" data-source="http://www.wetter24.de"\>\<div serviceid="weatherWidgetBlock"\>\</div\>\<script src="http://www.wetter24.de/fileadmin/scripts/widget.js"\>\</script\>\</div\>*

Is there a known way to achieve this?

We are on confluence 6.11.1

Thanks in advance,

Martin


Answers:
author: Thomas Schlegel
body: Hi Martin,

just put your code into a User Macro like this:

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

This works fine for me:

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

comments: author: Martin Kaufmann
body: Hello Thomas,

thanks. Stil had no time to try that, but I will..!

Regards,

Martin


author: Martin Kaufmann
body: Hello Thomas,

still no luck, I can?t get this to even show *anything*.

But thank you anyway.

Regards,

Martin


author: Martin Kaufmann
body: I have tried to use the macro "widget connector", but I get a rendering error every time.

Maybe its just the wrong syntax, but I don?t get it .. :-(

Regards Martin


Tags: confluence-server

server

widget
Date macro broken
Asked by Ilkka Kiviharju:

Hi,

I tried to use date macro with "//" and from the upper menu with all macros but the date macro does not appear to my screen. I don't get any visible error to my screen.

Where could i get more information how to fix it? Or to find out what the error is? I don't see any errors in catalina log which would relate to this.


Answers:
author: Ilkka Kiviharju
body: [@Grigory Salnikov](/t5/user/viewprofilepage/user-id/1323725)

It worked like couple of days ago. then it suddenly stopped working.  
And yes, user mentions work.

comments: author: Grigory Salnikov
body: Ok, thank you.

Have you added any new macros recently? If you have, try to disable them and see if Date macro is back to life.


author: Ilkka Kiviharju
body: You mean "User Macros"? I haven't created any yet.

Or if you meant apps, i have tried to disable them but still the Date macro does not work.


author: Grigory Salnikov
body: Hi, [@Ilkka Kiviharju](/t5/user/viewprofilepage/user-id/2005106) and welcome to our Community!

Did Date macro work before or it *never* worked in your environment?

By the way, does "User mention (@)" work?


Tags: confluence-server

server
Anchor size limitation
Asked by Naor Penso:

Hi Everyone,

While setting an anchor, the input does enable me to set any length of anchor as a link, but after the insertion it crops the anchor to 10 characters (11 with the #).

did anyone experience this issue? It is causing a lot of frustration as it is referencing to a topic which is longer than 10 chars (e.g. reference to an API with the name "contentProvider" is cut to "contentPro"


Answers:
author: Grigory Salnikov
body: Hi!

No, I've never encountered that. In my environment it works well:

![example.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/35300i6DB73C4BAAD761A5/image-size/large?v=v2&px=999 "example.jpg")


Tags: cloud

confluence-cloud
LDAP Authentication Problems
Asked by Bastian Uzlas:

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

since one-two months we have problems with ldap-authentication. Sometimes we need 3 - 5 authentication attemts for successful login. We try to use an other ldap-server without success.  
We dis an update from 6.9.0 to 6.11.1 without success.  

How can we fix this problem?  

<br />

<br />

Regards, Bastian


Answers:
author: Grigory Salnikov
body: Hi!

Have you seen the following article:

[User cannot login to Confluence with LDAP synchronization enabled](https://confluence.atlassian.com/confkb/user-cannot-login-to-confluence-with-ldap-synchronization-enabled-687014865.html)

?

There're steps to resolve the problem. I think they *may* help in your situation as well.

comments: author: Bastian Uzlas
body: Hi,

problem is solved. But it was not the same problem like in the article above. We got an new domain-controller to our structure. In the firwall i'v seen that there are connections (LDAP) blocked, i did open the connections an the problem was solved. I dont know why confluence know this server and want connect to them over LDAP becase an other DC is declarated in our configuration, but after this firewall-rule all works fine...


Tags: confluence-server

server
many files in temp folder of install directory
Asked by stefan:

Hi,

i've tons (2GB) of files like "attachment-3745204208356821348.tmp attachment-6530018798180249981.tmp attachment-987567489211104383.tmp" in the temp folder of the install dir (/opt/confluence/temp)!

I dit restart confluence, ran the scheduled cleanup jobs, but the files are sticky.

How do i get rid of them?

Thanks in advance!


Answers:
author: Nic Brough -Adaptavist-
body: You don't. If you find they are being recreated by Confluence after deletion, then it's because Confluence needs them for some reason. No harm in deleting them (when Confluence is offline), but it's creating them because it needs to.

You could see if increasing memory reduces the volume, but that's about the only thing you can do about it (other than stop using attachments which need to create temporary files)


Tags: confluence-server

server
how to bulk change username for confluence server
Asked by Bryan Bai:

before export / import space between 2 confluence instance, we want to have unified username. for sure I can change through admin GUI one by one. but wondering if I can do it in a program way.

confluence doesn't have REST API for user update and also scriptrunner doesn't have relate interface.

any suggestions are welcome.


Answers:
author: Santwana Sarangi {Appfire}
body: Hi Bryan,

You can write a custom plugin with the rest module for the above functionality. For the bulk change, a file with data can be sent to the rest endpoint and use the confluence api to rename the username of the user. Here are the useful links for creating a rest module and confluence user management api

1. <https://developer.atlassian.com/server/framework/atlassian-sdk/developing-a-rest-service-plugin/>
2. <https://docs.atlassian.com/atlassian-confluence/6.6.0/index.html?com/atlassian/confluence/user/UserAccessor.html>. Note: You can use renameUser method to rename the user.
3. Here is an example of the use of confluence components in the plugin <https://developer.atlassian.com/server/confluence/accessing-confluence-components-from-plugin-modules/>.

Hope this helps.

Thanks,

Santwana


Tags: confluence-server

server
Adding Team Members to Confluence
Asked by Crystal Reynolds:

I created a new work space in Confluence and added the appropriate team members all at the same time. However, one guy has not received his email to join... I did it at the same time so it makes no sense to me. Suggestions?

Related I went to make a lead a "site admin" and found where to do so but it hasn't updated with his new role. Does it take awhile to update?


Answers:
author: Saif
body: Hello Crystal,

Greetings for the day!

In this case, we need to check whether the email is bounced at our end which is actually handled by our Support Team and regarding the new role update, it may take a while to reflect changes. Sometimes, it doesn't get updated so we need to check the logs. I have therefore created [a support case](https://getsupport.atlassian.com/browse/JST-432044 "https://getsupport.atlassian.com/browse/JST-432044")for you, and we will investigate this further. Let's continue the discussion there.

Cheers,

Saif Ali


Tags: confluence-cloud

cloud