youngmon/atlassian-qna huggingface dataset:
Can I prevent Comments being posted on particular page?
Asked by Rodney Hughes:

We have a requirement where we do not want users to be able to Comment on selected particular pages in the Space (neither at the bottom of the page, nor in-line) but we don't want to block Comments on the other pages.

I have set the page edit Restrictions to just myself but still others can post a Comment :(

How can I block Commenting on a particular page?


Answers:
author: Irina_Bel_Stiltsoft_
body: Hi [@Rodney Hughes](/t5/user/viewprofilepage/user-id/853250) ,

I can suggest you a workaround with [Talk - Advanced Inline Comments for Confluence](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=datacenter&tab=overview). When you disable Comments permissions over the space for specific users or groups, you disable both inline comments and page comments functionality for them. The Talk comments work with Pages **or** Comments permissions. Thus, when you enable only Page permissions over the space and restrict editing on specific pages for the same users or groups, these users will see neither inline comments nor page comments. In this case, a user can only add inline comments on other pages where users can edit permissions.

To wrap up: Page comments on a space level + restrict editing on some pages.


author: Bill Bailey
body: I can't take credit for the basic concept of this macro (but I don't remember where I found it). It basically uses a white tape approach to inhibit inline commenting via CSS.

```
## No macro body

## @noparams
<style> button[data-key*=inline-comment] { visibility:hidden; } 
div#inline-dialog-selection-action-panel.aui-inline-dialog { visibility:hidden; }
</style>
```

The rest of the my version of the macro add a note banner to the top of the page (at the macro location to warn the user that commenting has been disabled - key to avoid lots of support questions as to why commenting is not working.

You may be able to do the same thing to "inhibit" comments at the bottom of the page.


author: Stefan Kohler
body: Hi [@Rodney Hughes](/t5/user/viewprofilepage/user-id/853250),

This is currently not possible with Confluence out-of-the-box. There are a couple of add-ons available that could help you, please have a look at

* [HideElements for Confluence](https://marketplace.atlassian.com/apps/1211757/hideelements-for-confluence?hosting=server&tab=overview) -- It allows you to hide certain elements (like comments, edit, etc) on a per-page base.
* [Community Forums for Confluence](https://marketplace.atlassian.com/apps/1211273/community-forums-for-confluence) -- Enables a forum style to your Confluence space, allowing you to ie. lock topics and disabling comments.

Another option is to create your own user macro or script, but it requires a bit more technical insight then add-ons :)

There could be other add-ons out there, but these I know and have good experience with.

Cheers,  
Stefan


Tags: confluence-server

server
Looks like cloud now supports up to 5000 users, did the storage size increase as well?
Asked by Sean Sowell:

#### Does anyone know if the storage size for cloud Atlassian was also increased with the new support of up to 5000 users? {#toc-hId-1431855074}

#### Atlassian cloud storage size - available below {#toc-hId--1120301887}

<https://confluence.atlassian.com/cloud/atlassian-cloud-storage-policy-873871366.html>

#### Atlassian Cloud storage limits {#toc-hId-622508448}

Jira products Maximum\*Confluence Maximum\*Overall Maximum\*

|-------------|-------|------|-------|
| 0-500 users | 25GB  | 25GB | 25GB  |
| 500+ users  | 100GB | 50GB | 100GB |


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Hello Sean,

I don't believe storage limits will change as of today.

On the same note, the storage page you linked has a last update as of 19JUL2018 and Atlassian does a very good job at ensuring their documentation stays updated.

I would suggest for now, vote for this feature request to get more storage:

<https://jira.atlassian.com/browse/CLOUD-7987>


Tags: confluence-cloud

atl-cloudmisc

cloud

jira-cloud
Eu apaguei um espa?o e os draw.ios que eu tinha copiado para outro espa?o sumiram. Como reaver?
Asked by Juliana Ramos Barreto:

Eu estava migrando de espa?o e copiei todas as p?ginas para o outro espa?o. Quando apaguei o espa?o ele apagou tbm o q eu tinah copiado para o espa?o novo. Como eu fa?o para reave-los?

Atenciosamente, Juliana.


Answers:
author: Shannon S
body: Hi Juliana,

I'll be responding in English as this is an English speaking forum, and it's the best way we can help the majority of users.

From your description, I understand that you're migrating a space, and that space contains draw.io diagrams.

So far I understand that you have copied the pages from the old space to a new space. You then deleted the old space, but upon deleting it you realized that the pages you just copied over are now deleted as well. Is that correct?

Can you please clarify what steps you took exactly to copy the pages to the new space, and which steps you took in order to disable the old space?

Thank you for your help!

Regards,

Shannon

comments: author: Juliana Ramos Barreto
body: Hi Shannon! I'm sorry. I'll be responding in English too.  
The first point of you question is correct, I migrated a space with draw.io diagrams.  
When I deleted the old space, only the draw.io diagrams disappear to the new space.  
I copied the pages to new space with a simple Ctrl C/ Ctrl V and I verified before deleted de old space all pages and the draw.io diagrams were there!

Can you help me?

Juliana.


author: Shannon S
body: Juliana,

Thank you for confirming that.

Draw.io is storing the diagram on the specific page where you created it as an attachment. However, if you copy the text on a Confluence page and paste it into another page, it doesn't copy the diagram over. The macro will appear to have the diagram associated with it, but the moment I clicked on it or tried to edit, I got a "file not found" error.

I was able to go into the macro and link it back to a recently used diagram, but once the original page is deleted, the diagram is no more.

However, if you were to move pages using Confluence's own copy feature, then the diagram is actually copied to the new page.

Have a look here: [Copy a Page](https://confluence.atlassian.com/doc/copy-a-page-139013.html) for more information on how to do that.

One more thing you can check is by clicking **... \> Attachments** on each page in question, and see if your diagram is there. In my case, when I followed your steps (Ctrl+C and Ctrl+V) then those diagrams weren't available from that menu.

As it's likely that you've deleted the original copies of your diagrams, there may not be a way to get it back. It's worth reaching out to [Draw.io themselves](https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence?hosting=server&tab=support) in order to see if there's a way to do that.

Regards,

Shannon
Need help with CSS code that will change the font color of the Name of my site.
Asked by Carmen Eoppolo:

I am referring to the name at the top left of the sidebar. TY


Answers:
author: Bill Bailey
body: The trick is to use the inspect function of a browser to determine the structure of the page and the CSS selector.

For my version, the HTML is as follows:

```
<h1 id="logo" class="aui-header-logo aui-header-logo-custom"><a href="/">
<img src="/download/attachments/XXXXX" alt="XXXXX" data-aui-responsive-header-index="0"></a>
</h1>
```

So to change the font color:

```
#logo {
color:#999;
}
```

comments: author: Carmen Eoppolo
body: thank you! I am not a web designer, so that tip was very helpful.


author: Bill Bailey
body: If it works, please click accept. ;-)


Tags: css

font

side-bar
Dependencie between plugin A and plugin B with OSGi and Spring on Confluence
Asked by Richard B?zin:

Hi,  

I want to create 2 plugins on Confluence: the first is like a "core" and the second, "macro" uses this core.  
I created 2 plugins with *atlas-create-confluence-plugin* command.  
Following the snippset, I only kept api/MyPluginComponent interface:

```
public interface MyPluginComponent
{
 String getName();
}
```

and impl/MyPluginComponentImpl class file in the "core" plugin:

```
@Component
public class MyPluginComponentImpl implements MyPluginComponent
{

    public String getName()
    {
        return "myComponent";
    }
}
```

<br />

In the "macro" part, I create a Macro wich use MyPluginComponent:

```
public class PluginMacro implements Macro {

    private final MyPluginComponent myPluginComponent;
    private final XhtmlContent xhtmlContent;

    @Autowired
    public PluginMacro(@ComponentImport MyPluginComponent myPluginComponent, @ComponentImport XhtmlContent xhtmlContent) {
        this.myPluginComponent = myPluginComponent;
        this.xhtmlContent = xhtmlContent;
    }

    @Override
    public String execute(Map<String, String> map, String s, ConversionContext conversionContext) {
        try {
            return xhtmlContent.convertStorageToView(myPluginComponent.getName(), conversionContext);
        } catch (XMLStreamException | XhtmlException e) {
            e.printStackTrace();
        }
        return "Error";
    }

    @Override
    public BodyType getBodyType() {
        return BodyType.NONE;
    }

    @Override
    public OutputType getOutputType() {
        return OutputType.BLOCK;
    }

}
```

The core part compiles, but of course the "macro" part needs the "core" dependencies. I try to add the jar with Maven, but when I upload "core" and "macro" on my Confluence, I take this error :  
> ERROR \[Spring DM Context Creation Timer\] \[internal.dependencies.startup.DependencyWaiterApplicationContextExecutor\] fail Unable to create application context for \[com.km.plugin_macro\], unsatisfied dependencies: Dependency on \[(\&(objectClass=com.km.core.api.MyPluginComponent)(objectClass=com.km.core.api.MyPluginComponent))\]

In */plugins/servlet/upm/osgi,* I can see "macro" imports com.km.core.api..

I don't know if I use the right annotations, or maybe I need to update pom.xml files ?  

Thanks for the help,  

Richard


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

You need to include a dependency for core plugin in the pom.xml of the macro plugin and create an obr of the macro plugin. Please refer to the below links

<https://community.atlassian.com/t5/Jira-articles/Tutorial-how-to-create-an-obr-with-dependent-jar-inside/ba-p/708656>

<https://developer.atlassian.com/server/framework/atlassian-sdk/bundling-extra-dependencies-in-an-obr/>

Hope this helps.

Thanks,

Santwana


Tags: atl-dev

developer

osgi
Clone existing confluence to new VM
Asked by Software Licenses Virtamed:

Hi People,

we are running a productive instance of Confluence (among others) and would need a clone of that instance to test upgrading, installing new plugins etc.

The database is in the VM itself.

What I would do is cloning the VM, changing IP and machine specific settings in /var/atlassian/application-data/confluence.cfg.xml

Anything else to do there?

Best regards

David


Answers:
author: Pete Singleton
body: We do this quite regularly, onto a new VM:

1. Shut down production instance
2. Take database export (we use Oracle)
3. Take backup (using tar) of the Confluence filesystem and tomcat instance
4. Start Prod instance
5. Import database into new schema
6. Copy tar of filesystem to new VM and unzip
7. Update confluence.cfg.xml to reflect new database schema name
8. Update tomcat server.xml to reflect new VM host/URL
9. Start test instance
10. Apply development licence

You only need to copy the Tomcat instance the first time you do this. One subsequent copies you only need to do the Jira home directory and database.

comments: author: Software Licenses Virtamed
body: Thanks for the reply!

Now what I would like to do is having a 1:1 clone for the start.

Can't I just clone the virtual machine with Confluence on it and then adapt some setting like IPs. trial license etc?


author: Lionel Seaw
body: Hi. Did you manage to solve this? having the same issue here


Tags: confluence-server

server
How to make links from a Confluence page open in the same tab while using the Service Desk?
Asked by Gilberto Almeida Neto:

We have a Knowledge Base written in Confluence that is associated with our Service desk.  
When reading this knowledge base through Confluence, the links open in the same tab/window (as we want it to be)  
However, if the same knowledge base is being read through the Service Desk, all links from the articles are being opened on a different tab.

How can I change it so they always open on the same tab too?


Answers:
author: Shawn C
body: Hi Gilberto,

There are quite a few different Feature Requests for both Same Tab or New Tab when clicking on Confluence KB Articles, however based on the comments from one of our Developers (<https://jira.atlassian.com/browse/JSDCLOUD-5942>), the current intended behavior for Confluence KB links in Jira Service Desk to open the links in a New Tab.

If you have any feedback about this, I would ask that you include it on the Feature Request case as it can help to influence their decisions on what features to bring into the product.

If you have any other questions about this, please let me know.

Regards,   
Shawn

comments: author: Gilberto Almeida Neto
body: Thank you Shawn. I will watch the issue.  

Regards,   
Gilberto


Tags: atl-adm

cloud

confluence-cloud

jira-service-desk
update the mysql database driver from 5.1.38 to 5.1.42 on Linux
Asked by David Urquhart:

How do I update the mysql database driver from 5.1.38 to 5.1.42

I have put the driver in the WEB-INF\\lib, but some functionality such as Team Calendars

is looking for the old driver


Answers:
author: Craig Castle-Mead
body: Hey David,

did you remove the old driver, or just add the new one in the lib directory?

Check your catalina.out file from the last startup and it will tell you which driver file it used.

CCM

comments: author: David Urquhart
body: Hi Craig

I removed the old driver from the lib directory.

Some things work, but not others, such as Calendars with the following error

java.io.FileNotFoundException: /opt/atlassian-confluence-5.10.8/webapps/../confluence/WEB-INF/lib/mysql-connector-java-5.1.38-bin.jar (No such file or directory)


Tags: confluence-server

server
Update link from upgraded confluence to Jira
Asked by Aderemi Dayo:

I inherited an undocumented Jira and Confluence setups, at the time of inheritance none of them was up, though set up on the same server. We bought a new license for Jira and did a clean install we changed the URL. Now we buy a new license to upgrade our Confluence, after the upgrade, Confluence come up normal but no one can log in. Checking log I realise Confluence was configured to use Jira authentication system and it was an evaluation version.

```
ERROR [http-nio-8090-exec-6] [crowd.manager.application.ApplicationServiceGeneric] authenticateUser Directory 'Remote JIRA Directory' is not functional during authentication of 'super_cto'. Skipped.
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to jira.mydomain.com:7080 [jira.supermartng.com/34.246.161.76] failed: connect timed out
```

Due to the change in the URL of Jira, the authentication is falling. How can I change the URL to our new Jira URL.

Thank in advance.


Answers:
author: kris
body: Try running through this article to identify which users are local to the Confluence application in the database and from there reset the password (if needed) and perhaps grant that user admin rights so that you can log into the UI to change the directory to your new URL:

[https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html](https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html?)

User directories:

[https://confluence.atlassian.com/adminjiraserver/configuring-user-directories-938847049.html](https://confluence.atlassian.com/adminjiraserver/configuring-user-directories-938847049.html?)


Tags: confluence-server

jira

server
Old files available in attachment macro
Asked by Shagun Jain:

On the same page create a new attachment macro, it displays the old files even when "Include old attachment versions" is unchecked.


Answers:
author: Yoga Reddy {Appfire}
body: Hi Shagun Jain

If you have 2 attachment macros and even though you have checked the option, "show include old attachment" in one of them, then the respective attachment macro should display the latest version only. Can you please share the screenshot of the page ?

Thanks

Yoga
Confluence PDF Export without links
Asked by Jan-Lucas Panskus:

Hi,

I would like to export confluence pages without enabling links.

Use case:

We have release notes that reffer to / show JIRA Tickets. The confluence pages with the release notes should be exported as PDF and handed out to our partners.

The problem is that they don't and mustn't have access to our confluence and JIRA. So when they open the PDF-files, see the links and click on them, they don't see anything due to no access to our systems.

So is there any possibility to customize the PDF export in a way that there are no links in the exported PDF?


Answers:
author: Thomas Rough _K15t_
body: Hi Jan-Lucas,

Had you considered using a third-party app to meet your requirements?

Our app, [Scroll PDF Exporter](https://www.k15t.com/software/scroll-pdf-exporter) would enable you to export Confluence pages and choose whether you wish to enable or disable links in the PDF export to external websites or Confluence pages. Would this be of interest?

Alternatively, we also offer macros that integrate with our app, allowing you to have [content displayed in Confluence but ignored in the export](https://help.k15t.com/scroll-pdf-exporter/latest/ignore-content-in-exports-150570571.html) or conversely, [hidden from Confluence but included in the export](https://help.k15t.com/scroll-pdf-exporter/latest/ignore-content-in-confluence-but-include-it-in-exports-150570583.html).

Should you wish you can try our app for free for 30 days from the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview). If you have any questions feel free to reach out to us via support@k15t.com.

Cheers, Thomas (K15t Software)

comments: author: Jan-Lucas Panskus
body: Hi Thomas,

thanks, for your response.

We didn't consider using a third-party app yet, but Scroll PDF Exporter looks like it could solve our problem.

I'll try the 30 days trial version.

Best wishes, Jan-Lucas


author: Darren S_ Eyers
body: Tried the plugin but does not yet have options for Jira Issue to:

1. remove Jira link (use if forced too)

2. remove Jira ticket summary and keep the Jira no (what I want)

3. as 2 but keep summary and not Jira no (probably not use)


Tags: confluence-server

jira

jira-server

server
Get average age report data from REST API
Asked by Nithin Kumar Jonnala:

i have an external website , i need to monitor the metrics from there and i need to update it in my confluence page , please help out in this


Answers:
author: Warren
body: Hi Nithin

You haven't really asked a question here, all you've done is to make a few statements.

What exactly do you need help with? You mention the API and an average age report, but I wouldn't know what to start advising on. Please give more info on what help you want
What are the correct attributes to highlight cells?
Asked by t m:

I am using Confluence 6.4.1. I have a page with two column sections, each section contains a single table. The tables have a few columns and several rows.

If I highlight a row and use the "Change cell colour" drop-down to set the colour of the row's cells the appropriate colour is applied.

Upon viewing the HTML ("Open in source editor") I see that different attributes are used to implement this, depending on which table I apply this to first.

Sometimes this is used:

```
<td class="highlight-green" highlight-colour="green">
```

however, sometimes this is used (this maybe depends on which table I chose to perform the operation on first, but I have not figured what the logic is here):

```
<td?class="confluenceTdhighlight-green" data-highlight-colour="green">
```

Depending on how I edit the source to make these match, when I close and re-open the source editor, sometimes some of my edits are replaced, sometimes they are not.

Which is the \*correct\* way?

If I am updating the tables via the API, which attributes are the correct ones to use to highlight cells in a row?


Answers:
author: Shawn C
body: Hi T,

Both options are correct and you really do not need to change one to the other as they both should render without issues.

For reference, the current HTML for Table Cell green highlighting is:

```
<td class="highlight-green" highlight-colour="green">
```

Cheers,  
Shawn


Tags: atl-adm

confluence-server

server
How can we create hashtag and read that using API
Asked by Atul Kunkulol:

Is it possible to create a hashtag and read that data using API. I can read it using labels but not tags.

Please help


Answers:
author: Nic Brough -Adaptavist-
body: Labels are the equivalent of hashtags in confluence, so all you need to do is use labels.

comments: author: Atul Kunkulol
body: ok. Thanks Nic.

Is it possible to label a paragraph. I am trying to create a help section for my software and want to use the text which are stored on confluence as tooltips in my software.

Labels would work but then I have label the entire page which may not create relevant information for tooltips.

Please advice.


author: Nic Brough -Adaptavist-
body: No, labels are for whole pages or attachments.


author: Atul Kunkulol
body: ok. Thanks a lot Nic. Really appreciate your input.
Moving template from personal space to main space
Asked by Bruce Becker:

Hi,

I've created a template with the content tools in my personal space. I want to share this template with another space- the main one of my team.

I can't see how to do that.


Answers:
author: Sattesh M
body: Hello Bruce,

Unfortunately there is now way yo move templates between Spaces or to the Global template section.  
The only way around this is to create a new template in the Space itself, and copy over the content of the template in your personal Space, into the template in the Space.

The same goes to when you would like to copy over any Space templates to the Global templates page and vice-versa.  

Do let me know if you have any questions, Bruce.  

Cheers,  
Sattesh

comments: author: Bruce Becker
body: Thank you very much for that answer, [@Sattesh M](/t5/user/viewprofilepage/user-id/1244849)! have a good one.


author: David Pressley
body: is it still the case that we cannot work on templates in our personal space and then promote them to a "global template" status? I can't seem to find any good information on how what seems to be a reasonable workflow: users create templates in their personal spaces, and when ready to roll out to the larger team, promote them to a global status, so they can be used throughout the child spaces?

Please educate me if there is an obvious way that I just don't know about yet


author: Kenny Paul
body: Encountered the same problem after having to carve out a new community space for access control purposes and moving a ton of content from the default space over to the new one. More than a little bummed that there doesn't seem to be a solution for moving templates.


Tags: confluence-server

server