youngmon/atlassian-qna huggingface dataset:
How to embed a Brightcove video in the confluence page?
Asked by Manoj Kumar:

I would like to embed an internal instance of the Brightcove video link in a confluence page and attempting to do so shows the widget icon. Please let me know to the steps to insert the Brightcove video


Answers:
author: Shannon S
body: Hello Manoj,

Happy to help you with this!

According to [Brightcove's documentation](https://support.brightcove.com/choosing-correct-embed-code), you can either embed a video using iFrame or using an in-page embed code.

I'm not sure which method you were using, but if you use the standard iFrame option, you could try using the [iFrame Macro](https://confluence.atlassian.com/confcloud/iframe-macro-950276528.html) and include the URL that Brightcove provides you in their script. The widget connector might not work properly with their servers, which could be the reason you see the widget connector icon.

If you are having trouble, could you share the details for an example video you wish to embed and I can test it with you?

Regards,

Shannon

comments: author: Manoj Kumar
body: Hi Shannon,

Thanks a lot for addressing my issue. Earlier I used the Widget connector for adding the Brightcove video which didn't work. But, using iFrame the issue is resolved. Do you know how to enable the fullscreen mode for the Brightcove video added in the confluence page?


author: Shannon S
body: Hi Manoj,

Happy to hear that you were able to get the video using iFrame. But regarding the fullscreen mode not being available in iFrame, I discovered in an earlier thread on Community that most video hosts do not provide this option while their video is played in iFrame:

* [Center Widget Connector](https://community.atlassian.com/t5/Confluence-questions/Re-Re-Center-Widget-Connector/qaq-p/1241929/comment-id/162149#M162149)

I would probably place a link to the video directly under the iFrame letting people know that if they want to view fullscreen, they can open the video from that link.

Take care,

Shannon


Tags: cloud

confluence-cloud
After restart confluence service, the old logs are deleted
Asked by Carol Li:

Hi,

I noticed all my old logs are disappeared after restarting the confluence service, do you know how to prevent it from happening? I need those logs for debugging, could you please help, thanks!

### version: Confluence 6.13.4 {#toc-hId-1116830033}

OS version: CentOS Linux release 7.5.1804 (Core)


Answers:
author: Shannon S
body: Hello Carol,

Welcome to Atlassian Community. It's nice to have you join us!

Your logs shouldn't be completely deleted after a restart. Could you let me know the location where you noticed this is happening for your site?

I'd also like to know how you are running Confluence. Could you let me know what type of server you're running Confluence on, and if it's being run as a service?
> According to [Working with Confluence logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html):
>
> * When you start Confluence, log entries will be sent to the application server logs until Confluence has completed its initial bootstrap. Any log entries written to the console will be repeated into the log in the Confluence home directory as described below.
> * Once the initial startup sequence is complete, all logging will be to `<confluence-home>/logs/atlassian-confluence.log`. For example: `c:/confluence/data/logs/atlassian-confluence.log`.
>
> Note that the default location is the Confluence **home directory** , not the application server's log file. The home directory is specified in `<confluence-installation>/confluence/WEB-INF/classes/confluence-init.properties`.

Are the logs in your Confluence home directory the ones being deleted, or were you checking the application server log file?

Regards,

Shannon


Tags: confluence-server

server
Bug in NumberFormat.getNumberInstance with GERMAN Format
Asked by Steffen Stamprath:

Is there a bug in confluence? I use this code in scriptrunner:

```
import java.text.DecimalFormat
import java.text.NumberFormat

def locale = new Locale("de","DE"); //The same with Locale.GERMAN

double doubleValue = 12345.67d
DecimalFormat format = (DecimalFormat)NumberFormat.getNumberInstance(locale)
String formattedValue = format.format(doubleValue);?
```

It returns on confluence 6.14.2: 12.345,67 (CORRECT)

And in Confluence 7.0.4: 12,345.67 (WRONG!)

Both have the same java locale. Whats wrong?


Answers:
author: Steffen Stamprath
body: okay, now both systems on the same version (Confluence 7.1). But the same Problem.

Anybody an idea?


author: Steffen Stamprath
body: ok, Upgrade auf Confluence +7.1 fixed it.


author: JP _AC Bielefeld Leader_
body: Hi,

what Confluence version are you using? 7.4 is not released. Latest is 7.2.1.

Best

JP

comments: author: Steffen Stamprath
body: Sorry, I mean: 7.0.4


Tags: confluence-server

format

number

scriptrunner

server
The background log stores the plaintext password
Asked by gaodapeng:

Dear,

our Security Department found the plaintext password from the backgroud logs. and they thought this kind of behavior had certain safety hidden trouble. how can we resolve this problem?

thanks in advance?

![plaintextpassword.png](/t5/image/serverpage/image-id/79757iB2CAA2663E83DC6C/image-size/large?v=v2&px=999 "plaintextpassword.png")


Answers:
author: Davin Studer
body: What Confluence log are you getting that info from? What I am seeing the screenshot appears to be based on a URL request. You can pass the querystring parameters os_username and os_password to the confluence server to auto authenticate your request. This is often times used for automation processes.


Tags: confluence-server

server
Confluence knowledgebase connected to jira servicedesk
Asked by Krister Persson:

Hi!  

We have a knowledgebase in Confluence connected to Jira ServiceDesk  
Works fine. A question though  

We don?t want the knowledgebase be wide open to the world through anonymous view rights though.

The idea is to connect two user directories to Confluence AND Jira: a local AD/LDAP for internal personel, and another instance (as of know local directories in Jira AND Confluence)  

The only way that we want to permit ANYBODY to raise a JIRA ServiceDesk request is through mail, and only registered customers are allowed to use the JIRA portal, and hence view articles through that.  

We do not want the world to have an open view into the Knowledgebase due to the fact that is needed to connect JIRA ServiceDesk to Confluence Knowledgebase Space.  

How do I achieve that?


Answers:
author: Ivan Lima
body: Hey [@Krister Persson](/t5/user/viewprofilepage/user-id/613784) , your Confluence space does not need to allow anonymous access to link your Jira Service Desk Project to a knowledge base. From a Confluence perspective, you've got "Anonymous Acess", which makes your Confluence site public, and "Unlicensed Access", which allows any active user to view spaces (*including those who don't have a Confluence license*), the latter enabled when you link a Jira Service Desk project to a Confluence space as a knowledge base.

On the Service Desk side, you can either define your viewing permission to "All users and customers" or "Only licensed users". The first option, although users who don't have a Confluence license can view knowledgebase information via the customer portal, you'll need to create a Confluence user account for each Service Desk customer - if your service desk site and Confluence site have separate user bases.

Cheers.

comments: author: Krister Persson
body: [@Ivan Lima](/t5/user/viewprofilepage/user-id/1351762)!  

Plz excuse me for asking once again. I switched off anonymous access and the knowledge base articles stopped showing up in as well in the Service Desk Agent interface of the issues as well as in the customer portal.  

Exactly how should I alter the Users and Roles or the permissions of the JIRA project? The integration/connection between JIRA and Confluence otherwise works smoothly.  

JIRA 8.4.2 with JIRA Service Desk 4.4. and Confluence 6.15.8.  
(running on own servers not Cloud.)


author: Krister Persson
body: Thanks a lot Ivan. Please excuse me for answering so late. /K


Tags: knowledge-base

server
What is the root cause of the "Edit in office issue" https://jira.atlassian.com/browse/CONFSERVER-57
Asked by Prakash:

Hi All,

I am facing the exact same issue as follows "<https://jira.atlassian.com/browse/CONFSERVER-57721>"

As per the "Note" , atlassian not supporting "Edit-In-Office" feature anymore. But I would like to know the root-cause of this issue.

I registered this question ,because the Reporter of the above ticket is inactive so bringing this discussion here.


Answers:
author: Carlos Garcia Navarro
body: Hi Prakash,

Even though the reporter is inactive, I recommend to post your question in the CONFSERVER-57721 ticket. It's still in the 'gathering impact' status so I assume someone from the Atlassian Team is reviewing the comments. Good luck!

comments: author: Prakash
body: Hi Carlos,

Thank you, I will comment it in the issue itself.

Also, I would like to keep it here, by that someone who faced this issue might answer .


Tags: confluence-server

server
How do you remove the activity feed from a user profile.
Asked by Natasha Bartlett:

When I person logs into our Confluence site and clicks onto a user profile they see all the Activity that user has completed on the website. I would like to know how I can remove the activity feed from a user profile.


Answers:
author: Mirek
body: Simple, quick and easy solution that do not require any add-ons is always JS modification.

Add below code to your Custom HTML section (e.g HEAD)

```
<script type="text/javascript">
     AJS.toInit(function(){
     AJS.$('#profile-status-list').hide();
     });
</script>
```

Enjoy!


Tags: confluence-server

server
How do I create a data room in Confluence that can be accessed by external parties?
Asked by Dominic Ryan:

I am creating a folder that contains our Information Security Documentation. I want to be able to share this with third parties who may request InfoSec documentation from time to time.

This should be on a read-only basis and I should have a record of who has viewed the folder.

Thank you


Answers:
author: Mike Bowen
body: Hi [@Dominic Ryan](/t5/user/viewprofilepage/user-id/3715151)

Do you perhaps have a Jira Service Desk linked to your Confluence?

If so then you have some possibilities:

* (*Most secure option*) - You could create a ticket on behalf of the third party and attach a secured PDF file to the ticket. When 3rd party requests password you know they have/are in the process of reading your doc.
* You could have the infosec doc as a web page on Confluence and shared with Jira Service Desk via Customer Portal. Again via Jira Service Desk create a ticket on behalf of 3rd party and share link to customer portal containing the infosec doc. (*most things are searchable on Customer Portal, but unless you specifically add infosec doc to a category it won't be found until you share a link to a Infosec doc*).

-Mike

comments: author: Dominic Ryan
body: Thank you Mike. That is an interesting workaround. It looks like we are going to use a folder system within MyDrive as a simple solution. I appreciate you taking the time to think this through and share.

Regards

Dominic


author: Mike Bowen
body: HI [@Dominic Ryan](/t5/user/viewprofilepage/user-id/3715151)

No problem, another solution if you want to keep it within Confluence (which we also use, I just hadn't thought of it at the time), is to use a Google Drive Confluence Plugin. The document can be stored in Drive and shared with Customer. Google Drive folders are also visible in Confluence and can be edited by internal staff, made read only and shared with customer.

-Mike


author: James Dellow
body: There isn't a way to do this out of the box with Confluence Cloud, particularly if you don't want to give each of those users a paid subscription to your Confluence site.

There is a solution in the marketplace called "External Share for Confluence", but I don't believe it will track who accessed the page. You could contact the developer of that app to see if they could add that functionality.

comments: author: Dominic Ryan
body: Thanks James, I appreciate the response. Helpful. Dominic


Tags: cloud

confluence-cloud
How to disable e-mail notifications - Confluence Cloud
Asked by Darrel Lee:

I'm trying to disable e-mail notifications because users are complaining about the volume of notifications.

After much searching, I finally found the "page-created notification module, but it says I cannot modify it.

What gives?


Answers:
author: Lenin Raj
body: Hi [@Darrel Lee](/t5/user/viewprofilepage/user-id/924045)

Have you tried following <https://confluence.atlassian.com/confcloud/email-notifications-724765358.html> mainly this section:

**To edit your email notification settings:**

1. Choose your profile picture at the bottom of the sidebar, then choose **Settings**

2. Click **Email** in the left-hand panel
3. Click **Edit**

You will see a page like this where you can uncheck which emails you do not want to receive:

![Screen Shot 2020-01-21 at 3.48.52 pm.png](https://community.atlassian.com/t5/image/serverpage/image-id/79733i5F86F3D6CC0D4A5D/image-dimensions/578x287?v=v2 "Screen Shot 2020-01-21 at 3.48.52 pm.png")

comments: author: Darryl St_ Pierre
body: To add to [@Lenin Raj](/t5/user/viewprofilepage/user-id/2895958) 's response, the users are primarily in control of what they want to receive via email using the settings from their Profile.

They can Watch spaces or page of interest to receive targeted notifications.

Hope these suggestions help!

Darryl


Tags: confluence-cloud
Confluence REST APIs vs Java development for dynamically creating spaces and pages
Asked by antony terrence:

I have developed a small DITA plugin that converts DITA content to Confluence format and creates Confluence pages using REST APIs. It does its job ok. Recently, we faced an issue after upgrading to the latest version of Confluence. The pages would not be created unless we refresh pages manually in Confluence. That got me thinking.

Is there any other way to dynamically create Confluence pages and spaces?

**Uses cases:**

1. Publish dita maps to Confluence
2. When a dita topics are updated, publish the map to Confluence and update the pages without deleting the space - we would like to preserve comments. And we would like to maintain the source in DITA.
3. Convert a bunch of dita maps as a Confluence space

I am able to achieve most of these using REST APIs. But it's slow and then new upgrades can cause problems.

Is Java based development a better option in this case? If yes, could you please redirect me to some resource that could get me started?


Answers:
author: antony terrence
body: [@Minh Tran](/t5/user/viewprofilepage/user-id/732683) DITA is an external system. It generates XHTML pages. We need to import those pages into Confluence programmatically. Also, the TOC should be retained after posting the pages to Confluence. Is there any other way to do it efficiently than REST APIs?


author: Minh Tran
body: I am not sure what DITA plug-in is. Is that a plugin from another system?

If yes, REST api might be the only option for you if you want to migrate data that system into Confluence

Another option is to write Confluence plugin but connect to that DITA system database and do the migration via Confluence Java api


author: antony terrence
body: [@Minh Tran](/t5/user/viewprofilepage/user-id/732683) @I am not trying to build a confluence plug-in. I am trying to build a DITA plug-in that will push content to Confluence server. Is that possible without REST APIs


author: Minh Tran
body: [@antony terrence](/t5/user/viewprofilepage/user-id/441493) REST api is a good option for creating spaces / pages

However, you can also use the java api to do such thing

You can check out <https://developer.atlassian.com/server/confluence/> for how to develop the Confluence plugin and its api


Tags: confluence-server

server
how do you change colors on the epic or task in the roadmap? In confluence.
Asked by Dan Westin:

how do you change colors on the epic or task in the roadmap?


Answers:
author: Ang?lica Luz
body: Hello Dan,

Welcome to Atlassian Community!

The Roadmap is exclusive for next-gen projects and now it's possible to view it in a Confluence page as a macro.

With that said, to configure the roadmap, change epic color, view the tickets to change the due date and any other change must be done directly in Jira since the macro is only for viewing purposes.

Regards,  
Ang?lica


Tags: cloud

confluence-cloud
JIRA project roles capability in Confluence for managing permissions in a granular way
Asked by Onder Ozcan:

Dear community,

Is there any macro, add-on or some sort of tweak to achieve project role capability in Confluence Cloud offering? All I want is that creating custom roles and assigning users to the correspondent roles to have granular permission in Confluence cloud just like in Jira Software!

Kind regards,

Onder


Answers:
author: Davin Studer
body: The best way to do what you are looking for in Confluence would be to create groups that correspond to your roles. Then you would assign permissions to the groups instead of users. After that is setup then you could simply add/remove users to the groups to grant permissions. It is a bit of setup work, but it will make Confluence permissions much easier. I do not assign any permissions or page restrictions to individual users. I ALWAYS assign permissions to groups ... even if it is just a group of one person.

comments: author: Onder Ozcan
body: Hi Davin,

Thank you for your swift reply. Actually, using groups for permission is pretty much what we're doing right now and this is where the administrative challenges emerge from. Let's say you have 90 projects in your Confluence. Then you end up having to create many many groups to **imitate** role in JIRA. I wish Atlassian's permission scheme was consistent across products. Again, thank you for your response.

Cheers

Onder


author: Davin Studer
body: Yeah, it is unfortunate. I would recommend maybe using script to automate that process a bit for you so that it is not quite so tedious. One thing we did was use the [Power Scripts for Confluence](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=datacenter&tab=overview) app to automate the creation of new spaces so that this is easier. You could also look into the REST/XML-RPC API's or possibly [ScriptRunner for Confluence](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview) to make the process a little easier.


Tags: cloud

confluence-cloud
Adding markdown with external image and link
Asked by Cliffery:

Hi team,

I was trying to add a CIrcleCI badge using their provided markdown:

\[!\[CircleCI\]([https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)\](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api))

which provides me with the badge, but clicking it only takes me to the image, not to the CircleCI project.  

I've taken a look at the keyboard shortcuts and guides to insert images with links, but I've had no luck in formatting the MD correctly.

Any help/tips?

Cheers


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@Cliffery](/t5/user/viewprofilepage/user-id/3711176) ,

you'd need to format the link in a different way:

```
[! http://external/image.png!|http://external/link.html ]
```

comments: author: Cliffery
body: Thanks [@marc -Collabello--Phase Locked-](/t5/user/viewprofilepage/user-id/1205132)  

So I've tried using that format, but it doesn't display the badge icon, it just shows the text.

The right column is with the space after first bang, and before the closing \], the left is without the spaces.

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

If I insert:

```

![CircleCI](https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)
```

it shows the badge but with no link.  

If i insert:

```

!(https://circleci.com/gh/Curve-Tomorrow/retina-dr-api.svg?style=svg)
```

It just shows the link but no badge (Which is odd, I would assume the \[CircleCI\] is just the alt text right?)

I'm sure there's a simple answer to this, I've played around with \[\], spaces, but still haven't found the *correct* format yet.  

Any other insights?


author: marc -Collabello--Phase Locked-
body: It seems confluence cloud does not support all markdown: <https://jira.atlassian.com/browse/CONFCLOUD-68137>


author: Cliffery
body: Ah! Yep, that would be it.  
Thanks.


Tags: cloud

confluence-cloud
"Atlassian Companion" app and simultaneous editing
Asked by Tamaki Hiratsuka:

Question - can multiple people edit a Microsoft Office file using the "Atlassian Companion" app at the same time? I briefly tested it with a coworker - we both opened the same file to edit using the "Atlassian Companion" app at the same time, but I did not see the changes my coworker made in the file until after they uploaded the updated file back to Confluence. If I had made changes at the same time and uploaded them, would Confluence have merged both changes into the file?


Answers:
author: Alex K
body: Hi [@Tamaki Hiratsuka](/t5/user/viewprofilepage/user-id/3714789) ,

Atlassian Companion will allow multiple people to "edit" the same attachment. However it does not enable real-time collaboration in the desktop application. If two people are editing the same version of the attachment and they both upload it to Confluence, then two new versions of the attachment will be stored in Confluence. The person who uploaded the attachment last will have their version appear as the "latest version", which shows in the attachment preview.

Feel free to vote on our public suggestions for having Companion detect if the version you are currently editing is out of date: <https://jira.atlassian.com/browse/CONFSERVER-57955> \& <https://jira.atlassian.com/browse/CONFSERVER-57886>

If you would like to lock attachments such that only one user can edit them at a time, then have a look at the [Cenote Lockpoint marketpace app](https://marketplace.atlassian.com/apps/36199/cenote-lockpoint-attachment-checkout?hosting=server).


Tags: confluence-server

server
How can I display website links with previews or descriptions on my page?
Asked by Enrique Villagomez:

Problem- I am not able to create a page using external links in confluence. I want the link to display a preview or image and description of the article or website. I have an example picture to explain what I would like to accomplish. I have tried finding macros but I am coming up short. I am new to confluence and not the most technical person when it comes to learning new programs. Thank you for your help![Screen Shot 2020-01-20 at 12.53.30 PM.png](/t5/image/serverpage/image-id/79699i0E9F8D428D2CB7F4/image-size/large?v=v2&px=999 "Screen Shot 2020-01-20 at 12.53.30 PM.png")


Answers:
author: James Dellow
body: Have you tried the "Shared links template"?

<https://confluence.atlassian.com/confcloud/shared-links-template-937893685.html>

comments: author: Enrique Villagomez
body: Thank you! This worked perfectly. I appreciate the help.


author: Howard Nedd
body: I cant seem to find the template that you are referring to via the link? Any chance where I can find it?

Thanks [@James Dellow](/t5/user/viewprofilepage/user-id/502478)


author: James Dellow
body: [@Howard Nedd](/t5/user/viewprofilepage/user-id/4566707) Look for the "Share a link" template


Tags: atl-gruland

cloud

confluence-cloud