youngmon/atlassian-qna huggingface dataset:
Make post request for rest api in confluence ondemand
Asked by Bondable Inc:

How to make rest api post request call for confluence ondemand? All I am having is this documentation which is very vague ..

[](https://docs.atlassian.com/atlassian-confluence/REST/latest/#d2e257)<https://docs.atlassian.com/atlassian-confluence/REST/latest/#d2e257>


Answers:
author: Pedro Cora
body: Hello, you might want to take a look at our Developers API docs. They contain more information on how to use and also a few examples that might help you get started.

<https://developer.atlassian.com/display/CONFDEV/Confluence+REST+APIs+-+Prototype+Only>


Tags: confluence-cloud
Word count
Asked by Fraser Balaam:

Hello,

I need to understand the word count of the Confluence On-Demand system I look after.

Can you tell me how to find this information out?

Many thanks,

Fraser


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Fraser,

Confluence OnDemand, currently does have a page that can display statistics for the content that lives on top of it, it can be viewed from *Confluence Admin \> Global Activity,* more info about it can be reviewed after [this link](https://confluence.atlassian.com/display/DOC/Viewing+Site+Statistics).

For Word Count specifically, I believe that such is not available from the application, there is a request for adding this type of stat,a s described in [this feature request](https://jira.atlassian.com/browse/CONF-7792).

Hope this helps.


author: Steve
body: I was searching for a word count for Confluence and got to this page pretty quickly but it didn't help. I did more research but still in 2021 no way to highlight words and get a word count in Confluence and a character count in Confluence for cloud. So I built a solution (for cloud), works well so put it on the Atlassian marketplace, [if interested take a look](https://marketplace.atlassian.com/apps/1224670/easy-word-count-for-confluence-cloud).

I know lots of admins are planning moves from server to cloud and users expect same functionality (which is a challenge).


author: Guilherme Nedel [Atlassian]
body: Hello Fraser, if the answer below did help, kindly mark it as accepted on the top right corner of its box, that will help other people to find the same answer.

Thanks!


Tags: cloud

confluence-cloud
Render date
Asked by Karie Kelly:

Does anyone know how to render a current date in a PDF export and on a page?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Karie,

There is a request for this which has been around for a while now, it can [reviewed here](https://jira.atlassian.com/browse/CONF-29895). As for the current possibility, [this thread](/questions/25481/insert-current-date-into-confluence-page) is a good start.

comments: author: Karie Kelly
body: Thanks for the quick reply. I'll check the links out.


author: Karie Kelly
body: Is there a plugin that could be used for Confuence? The report plugin mentioned takes me over into JIRA and I cannot seem to find a plugin or something that would allow me to input a macro or code into a wiki page or pdf stylesheet.
Too much user counted
Asked by Dominic Feig:

Hello there,

We are currently evaluating Confluence und we are quiet happy with it. Now we are considering to buy a license for it. But now we are a way too confused about the amount of licensed user. In the system information Confluence shows us 115 users und I can find all of them while searching for users (\*). The price different between the 100 and 500 user license is not very small so I want to get sure.

I often read about licensed users are only those who have global permission "can use" (<https://confluence.atlassian.com/display/JIRA/Managing+Global+Permissions>). In our case we have 84 users in confluence-users (with some deactived user as well) and 2 in confluence-administrator. This two groups are the only one with "can use" permission. In consideration of the confluence page above this means we have \<= 86 users who need a license?

Final question now: Do we need a 100 license or a 500 user license?

Thanks in advance.

Best regards, Dominic


Answers:
author: Andris Grinbergs
body: Hi,

Depending of your setup probably deactivated users are counted towards license, please try to remove them from confluence-users group.

Also ensure that just those 2 groups have "can use" permission. Probably somebody added one or few more groups.

BR,

Andris.

comments: author: Andris Grinbergs
body: You can also try to create new group (for example "confuence license users"), move your users there and allow "can use" permission ONLY to that group, then you can live with 100 users license. :)


author: Andris Grinbergs
body: One more thing - system information shows all the users in directory - not only those which counts towards license. So you can go ahead with 100 user license. Number of users which counts towards license is visible under License Details menu, but only after you will have any non Unlimited license.


author: Sven [Dione Technology]
body: Hi Dominic,

Yes indeed for the global permission stuff.

Are you using different directory ?

Just for a testing, could you please disable one user to see if it take in account ?

Regards,

Sven.


author: Dominic Feig
body: Thank you two for your fast answer.

We are only using the remote JIRA directory. The JIRA directory is synced with our AD (unfortunately without good filter settings). All of our jira-users are now confluence-users.

Only confluence-users/-administrators have the global "can use" permission. No one changed it since I looked for it last time :-)

Regarding the deactived users: If I search for users I found 115 and also the system information displays 115 users. Regardless if they're disabled or not.

Currently I'm quiet happy about your answers because you stated that I can choose the 100 user license.

comments: author: Andris Grinbergs
body: If you don't have more than 100 users (including admins, auditors etc...) then 100 user licnese will be ok. You will be able to sort it out if anything...


author: Andris Grinbergs
body: You should probably want to mark this question as answered.


Tags: confluence-administration
Can Confluence Tool talk/communicate with Oracle Agile system?
Asked by Remus Woo:

May we know if we are to use Confluence Tool (internally), can we talk/communicate with Oracle Agile system (which is hosted by our partner/cilent outside our company)? If yes, how can we do it? Looking forward to your kind reply and advise soon. Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: Yes you can - Confluence has remote APIs.

Howver, "how can we use it" depends entirely on what you actually want to do and what your other system can support in terms of remote access.

On the Confluence side, have a look at <https://docs.atlassian.com/atlassian-confluence/REST/3.2/>


Tags: agile

oracle
How to hide People tab in Confluence
Asked by Bob Scott:

I need to hide People tab form the Confluence bar


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi Bob,

There's a specific permission based for user.

if you need just to hide this tab you can use a javascript.

Go to Confluence Admin -\> Custom HTML and add the following script :

```
&lt;script&gt;jQuery().ready(function() {  jQuery("#people-directory-link").hide();});&lt;/script&gt;
```

Regards,

Fabio

comments: author: Fabio Racobaldo _Herzum_
body: yes, they can.

Regards,

Fabio


author: Bob Scott
body: Thanks for your quick reply!

Using this javascript, can users still use mention capability?


author: Bob Scott
body: it works perfectly.

Thanks so much!


author: Felix Grund (Scandio)
body: I would prefer CSS and Confluence Admin \> Global Stylesheet for this purpose in order to avoid bloating my installation with JavaScript code that is executed on DomReady:

```
#people-directory-link { display: none; }
```

Also note that jQuery.hide does an asynchronous animation in the background. If you want to stick to your JS solution, I would definitely prefer:

```
AJS.toInit(function($) {  $('#people-directory-link').addClass('hidden');});
```


author: Roman Holzner
body: To prevent people to call the url:

```
&lt;script&gt;AJS.toInit(function($) {  $('#people-directory-link').addClass('hidden');});if (document.URL.indexOf("browsepeople.action") &gt; -1) window.location.href="/";&lt;/script&gt;
```

comments: author: Tomaszp
body: Roman, Please confirm where to apply your custom script to disable "people area". is it "head section" in Custom HTML? or somehwer else? Thanks in advanceTomek


author: Roman Holzner (adabay GmbH)
body: Hey Tomasz,not that this is only preventing to access the page in the Browser. You still can access the people tab by e.g. turning Javascript off or using cURL.But exactly, simply add this in Custom HTML in the head section.Greets from Munich,Roman (adabay GmbH)


author: Bob Scott
body: Thanks Felix


Tags: confluence-administration
Marquee (scrolling text)
Asked by Paula Berry:

This isn't working and I don't know why.

\<marquee behavior="scroll" direction="left"\>test message \</marquee\>

The text just sits there on the page. (And I can see the markup.)

Thanks.


Answers:
author: HosseinA
body: Hi Paula,

Are you trying this with HTML macro? If you are, below should work fine:

```
&lt;html&gt;&lt;marquee behavior="scroll" direction="left"&gt;test message &lt;/marquee&gt;&lt;/html&gt;
```


author: rsperafico
body: Hi Paula,

There is nothing wrong with your marquee.  

I would suggest you to create a HTML sample file and include only your marquee for testing purposes, do not include any CSS and/or Javascript to this sample.

Please, refer to [\<marquee\> Browser Compatibility](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee#Browser_compatibility) for further information.

Kind regards,  
Rafael


Tags: marquee
Using CLI to remove one label from all the pages in a space
Asked by Daniel Samuels:

Hi!

I am trying to use a confluence cli command to remove one label from all the pages in one space (and remove the label from the space at the same time). I found a code I could use at: [](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+remove+a+label+from+a+set+of+pages)<https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+remove+a+label+from+a+set+of+pages>

But I can not get it to work for me - it keeps returning an error "Error: Unexpected argument: removeLabels".

This is the code I am using (to remove the label 'purple' from the space 'MUMB'):

--action runFromPageList --space MUMB --common '--action removeLabels --labels purple'

Any advice what I might be doing wrong?

Thanks,

Daniel


Answers:
author: Bob Swift (personal)
body: Try this:  

```
--action runFromPageList --space MUMB --common "--action removeLabels --labels purple --id @pageId@"
```

comments: author: Daniel Samuels
body: Hi Bob,

Thanks so much! That works perfcetly!

Is there a way I can use the "@all" for the space entry?

Best,

Daniel


author: Bob Swift (personal)
body: No, I don't think so. You would need to use runFromSpaceList to drive your existing command, just have to watch out for the quoting. I opened [CSOAP-289](https://bobswift.atlassian.net/browse/CSOAP-289) for you for direct support.


author: Daniel Samuels
body: Thanks so much for the information - this is really helpful!


Tags: bob-swift

cli

label
Users cannot access new On-Demand Confluence wiki
Asked by Ethan Leland:

I just added a confluce wiki to our on-demand setup which already had JIRA with Greenhopper, and I cannot get exising JIRA users to be able to view the wiki. The error messages users see is:

"You have not been granted access to Confluence."

All users have been added to a "developer" group that I granted full access to confluence. When that failed, I added individual user permissions in the "Global Permissions" for each user, and they are still not able to access the wiki. I also made sure that the users are configured to have access to confluence on the "User Management \> Application Access" screen.

How do I allow existing JIRA users to access the new on-demand confluence instance that I added to our system?

Thanks!


Answers:
author: Ethan Leland
body: Thanks for the reply. I ended up having to contact atlassian support to make some changes in the backend. Here's the message I got from them after they fixed it:
> Access to confluence is controlled by the confluence-users group. Had to perform some back-end fixes due to:  
> [](https://jira.atlassian.com/browse/AOD-6992)[https://jira.\<span\< a=""\>\>atlassian.com/browse/AOD-6992](https://jira.%3Cspan)

comments: author: Rodrigo Girardi Adami
body: Thanks for sharing the information here! it will help others who may run into the same issue as well :)

Cheers!


author: Rodrigo Girardi Adami
body: Hello Ethan,

I believe there's still some permission missing or could be some bug. I could find [this other answer](/questions/66526/where-can-i-find-my-new-confluence-ondemand-instance)which had the same behavior that you have.

I recommend to have a look and try the steps listed there to verify if that works.

Cheers,

Rodrigo


Tags: cloud

confluence-cloud

jira-cloud

user
Upgrading from Confluence 4.2.1 to Confluence 5.4.4
Asked by Charles Richard:

Hi,

I'm trying to upgrade confluence as per the a security alert email that we got about 6 weeks ago.

I have tried to upgrade 4 times now and had to revert each time. The last time, I disabled all plugins except the Gliffy plugin which the Confluence Update Check marked as compatible with Confluence 5.4.4.

I see no errors in my catalina.out (Linux x64 version) and in my atlassian-confluence.log, I see warnings (WARN) but no errors.

I have noticed in the past that Confluence won't start properly unless Jira is running. Should Jira be upgraded first, could that be the issue?

I wanted to upgrade Confluence first as it would have less impact.

Thanks,

Charles


Answers:
author: Charles Richard
body: I just realized this was because I forgot to add our tomcat connector line back in for our mod_jk connection:

\<Connector port="xxxx" redirectPort="xxxx" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8"/\>

<br />

Cheers!


author: jing_hwa_cheok
body: Hi Charles,

The Confluence startup does not rely on the JIRA however if you are using the JIRA as your user directory, you might not be able login to Confluence using the user from JIRA user directory if there are some issue with the user directories synchronisation.

<br />

You mentioned that the upgraded was reverted 4 times now however there are no error in the logs during the ugprade. Did you revert the upgrade because you are unable to login? What is the exact error that you see when you try to access the Confluence. Is there any particular error during the startup?

If you are not able to login after the upgrade, it could possibly due to the synchronisation between the Confluence and external user directory. In that case, I suggest you to create internal administrator user before you upgrade. This way, you can use the internal admin account to login and reconfigure the user directory setting if needed.

Regards,  
Jing Hwa


Tags: confluence-administration
Duplicate user problem (confluence)
Asked by Rahul Aich [Nagra]:

Hi

On our confluence instance we allow users to sing up a new account.

What this has resulted is that once a user forgets his old account, instead to trying to retrieve his old one, he creates a new one.

This is resulted in 3-4 accounts for some individuals. As we are limited user licence we want to delete such duplicate users.

How can i identify out of say 4 duplicate account, which one is the primary account or in other words which account is being used by the user the most. So that i can disable the other three.

rahul


Answers:
author: jing_hwa_cheok
body: Hi Rahul,

<br />

I do not think there are table which show the number of time the account is used, however you can check the last login date for each account.   

Here a KB that contain the instruction to find the last login date information:

[](https://confluence.atlassian.com/display/CONFKB/How+to+Identify+Inactive+Users+in+Confluence+by+Last+Login+Date)<https://confluence.atlassian.com/display/CONFKB/How+to+Identify+Inactive+Users+in+Confluence+by+Last+Login+Date>  

Hope this helps  

Regards,  
Jing Hwa


author: Logan G Hawkes
body: How did this play out? I'm facing a similar issue and I'd like to hear how you resolved the issue and if there were any issues.


Tags: confluence-administration

duplicate

user
JIRA User with Confluence access cannot log in
Asked by Anatoly Klebanov:

I have a user who *can*use JIRA, and has been given access to Confluence, but cannot view the latter. What could be the problem? Thank you!


Answers:
author: Ryan Goodwin
body: Have you verified the user in confluence belongs to a group with "USE" permission active?

comments: author: Anatoly Klebanov
body: Yes, the user who is having trouble is part of the "users" group which has "can use" permissions.


Tags: cloud

confluence-cloud
Can I access reports or charts for user views or pages created in OnDemand Wiki
Asked by AmyM:

Can I access plugin for reports or charts for user views or pages created in OnDemand Wiki?


Answers:
author: Bob Swift (personal)
body: This kind of question has been asked a few time before. Google: **[site:answers.atlassian.com](http://site:answers.atlassian.com) site statistics**   


Tags: cloud

confluence-cloud
does heart bleed bug affects atlassian products as well ?
Asked by Shamith K S:

We have JIRA and confluence running on SSL. So what changes do we have to do, in order to secure our applications ? we are running on tomcat with linux OS. Please advise.


Answers:
author: Nic Brough -Adaptavist-
body: Depends on how you have configured it, but most people need to

Patch the OpenSSL installed by the Operating system

Generate new certificates

Restart Jira and Confluence

But, I'd read Tiago's comment on <https://answers.atlassian.com/questions/282020/huge-ssl-bug-in-apache-how-to-upgrade-tomcat-in-confluence>


Tags: heartbleed
Archive blog posts
Asked by Rolf Berg Skoglund:

I'm looking for a way to archive blog posts. I want all of my blog posts to expire within a set time and date, but I haven't found any ways to make this possible.

Is this something Confluence supports?


Answers:
author: Midori
body: Rolf, if you need this feature in the Archiving Plugin, **please [vote on the feature request](https://midori.zendesk.com/entries/23433271-Archiving-blog-posts)**.

(We use these votes when setting up the road map for the plugin.)


author: Bruna Griebeler
body: Hi Rolf.

There's a third-party plugin that seems to be helpful for your need: <https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving>

I've heard good things about it in here: [](http://www.kikamaca.com/2011/08/managing-content-in-confluence-archiving-and-retention-policies/)<http://www.kikamaca.com/2011/08/managing-content-in-confluence-archiving-and-retention-policies/>

Hope it helps!


author: Rolf Berg Skoglund
body: Thanks. We've already tested the archiving plugin and unfortunately it only supports archiving pages and not blog posts. From the second link:
> *Incidentally, blog posts cannot be archived either, but those are usually temporary content entities to begin with. Still, maybe old news should disappear from production to reduce clutter and keep search results relevant.*

Due to the fact that blog posts are searchable we would like to remove old blog posts and doing this manually takes a lot of time.

Is there any other way to archive or delete blog posts automatically*?*


Tags: confluence-administration
Move blog post to top
Asked by Rolf Berg Skoglund:

Is there any way to rearrange the order of blog posts? I want to be able to move certain blog posts to the top if there's updated information in it.


Answers:
author: Mick Davidson
body: I was just thinking that changing the existing order of the blog posts will cause confusion as to which is the latest posting.

Wouldn't it be easier to create a new blog post with the updated info and link back to the earlier one?

Cheers.


author: Rolf Berg Skoglund
body: Thank you for your quick reply.

We're using a news macro to display blog posts on our frontpage.

I've attached a screenshot of the edit view.![](../../upfiles/wiki.png)


author: Bruna Griebeler
body: Hi Rolf,

Could you clarify where do you want to reorder the blog posts (Page tree, child pages, etc)?

Could you attach a screenshot so we can see it?

Cheers!


Tags: confluence-administration
Stop specific user from triggering notifications
Asked by MarkC:

I have a user, Automation, that I use to do mass updates from time-to-time of our Confluence instance. The problem is that when a page is modified, an email is sent to everyone watching or who has edited the page. Is there a way to prevent this specific user from triggering a notification email being sent?

For example, Automation updates pages A, B, and C. After performing the page modifications, the users watching those pages *do not* receive any email from Automation that a change has been made.


Answers:
author: Luiz Maia
body: Hi Mark,

The workaround I see for this case is to by default disable the notify watchers checkbox from the page, according to the instructions of this page: <https://confluence.atlassian.com/display/CONFKB/How+to+uncheck+Notify+watchers+check+box+on+Confluence+editor+by+default>

However, this will be applied to all users, so when a standard user updates a page, he will need to manually check the "Notify Watchers" checkbox.

Regards,  
LM


Tags: confluence-administration
Attachments macro to see item from another page: something goes wrong
Asked by Alessandro Marasciulo:

Using Attachments Macro on Confluence 5.2

On the home page I want to show attachments of a children page, specifying the page name in the macro parameters **page.**

The problem is that some features doesn't refers to the **page:**

1. The preview of the file show the message: Error rendering macro 'viewfile' : The viewfile macro is unable to locate the attachment "nameoftheattachment.pdf" on this page (this refers to the office connector plugin);
2. Tha upload tools attach the document to the home page and not to the **page**specified;

My point of view suggests me that all the features of the macro mast refers to the page specified: is it a bug or I don't understand something?

Thanks


Answers:
author: Alessandro Marasciulo
body: Hi,

the point 1 is solved in the 5.4.4 (I certified it)

the point 2: using the link **browse for file** works good

using drag and drop, the file is attached on the wrong page.

So actually the issue is not solved for 2.2

2 on 3 is good

thanks


author: Bruna Griebeler
body: Hi Alessandro,

Indeed is a bug on the newer versions of Confluence: [](https://jira.atlassian.com/browse/CONF-29603)<https://jira.atlassian.com/browse/CONF-29603>

Please vote on this bug if you have the chance!

Kind Regards


Tags: attachment

confluence-administration