youngmon/atlassian-qna huggingface dataset:
Abbreviations Glossary
Asked by Datyous Mahmoudian:

I'm seeking a glossary that has either Confluence terms or abbreviations listed.

Thanks!


Answers:
author: Summer Hogan
body: Hi [@Datyous Mahmoudian](/t5/user/viewprofilepage/user-id/5322935) - welcome to the community! Are you asking for the keyboard shortcuts you can use in Confluence? If so, check out this article - <https://support.atlassian.com/confluence-cloud/docs/keyboard-shortcuts-markdown-and-autocomplete/>

Are you asking for ways to create a glossary in Confluence? If so, in a confluence page in edit mode, search in the macros for "glossary" and there are tons of solutions in the Atlassian Marketplace.

If neither of these are correct, please elaborate on what it is you are looking for and I'll do my best to help you.

comments: author: Datyous Mahmoudian
body: I'm looking for something like these but for Confluence:

* [Your Go-To Jira Glossary - Atlassian Community](https://community.atlassian.com/t5/Jira-articles/Your-Go-To-Jira-Glossary/ba-p/605232)
* [Glossary (atlassian.com)](https://developer.atlassian.com/developer-guide/glossary/)

Thank you!


author: Raja Shekher
body: Hi [@Datyous Mahmoudian](/t5/user/viewprofilepage/user-id/5322935) - There is an Article: <https://it.cornell.edu/confluence/confluence-glossary>

But Again I would recommend to go through the Documentation of Confluence : <https://support.atlassian.com/confluence-cloud/resources/>

Regards,

Raja


author: Datyous Mahmoudian
body: Thanks, Raja, Summer, sounds great.


Tags: cloud

confluence-cloud
How can I include headings from static document sections in the table of contents?
Asked by Kate Kemppainen:

I have created a custom static document section in the Scroll PDF exporter template for housing standard verbiage. However, since this is part of the template and not in confluence, it is not included in table of contents placeholder. Is there a way to include the headings from a custom document section in the table of contents?


Answers:
author: Barbara Szczesniak
body: [@Kate Kemppainen](/t5/user/viewprofilepage/user-id/5322907) Welcome to the Atlassian Community!

When you create a page using the template, I presume this section is included on the page. At that point, it is in Confluence.

If that section contains one or more headings and your Table of Contents macro on the page is configured to include those heading levels, they should appear on the page. Note that you must publish the page so that you can see it in View mode to see the results of the ToC macro on the page.

comments: author: Kate Kemppainen
body: Adding info: The static document section is only in the Scroll PDF exporter template and does not exist in Confluence.


author: Barbara Szczesniak
body: [@Kate Kemppainen](/t5/user/viewprofilepage/user-id/5322907) I didn't realize you were using an app for this. Perhaps someone else who uses this app can help you.


Tags: unknown-hosting-type
How to properly work with the Java API?
Asked by Hauke Bruno Wollentin:

Hi there,

I don't get how to work properly with the Java API of Confluence Data Center.

There are Manager interfaces like in Jira, for instance the **PageManager** . But all of the *getPage()* methods has been deprecated with a reference to the **PageManagerInternal** interface which do not provide simple *getPage()* methods, for example for just throwing in a known page ID.

So my question is: How to work with the Confluence Java API directly? We use ScriptRunner and do not (nor want to) write dedicated/custom plugins.

Best regards,  
Hauke


Answers:
author: Marcus Hansson
body: I am not very familiar with ScriptRunner. For my custom plugin I use:

com.atlassian.confluence.api.service.content.ContentService;  
com.atlassian.confluence.api.service.content.SpaceService;  
com.atlassian.confluence.api.service.people.GroupService;  
com.atlassian.confluence.api.service.people.PersonService;  

For ScriptRunner it should work using:  
@PluginModule  
ContentService contentService

Reference: <https://community.developer.atlassian.com/t/how-to-use-expansions-on-contentpropertyservice/46866/4>

They work similar to the REST API, here's an example using ContentService (page) and expanding the space.  

```
ContentService.SingleContentFetcher contentFinder = contentService
        .find(new Expansion(Content.Expansions.SPACE))
        .withType(ContentType.PAGE)
        .withId(ContentId.of(pageId));
```

<br />

Similar approaches is for the other services. If you need more specific example, let me know.

More about the ContentService can be found in [ContentService (Atlassian Confluence 8.5.0 API)](https://docs.atlassian.com/ConfluenceServer/javadoc/8.5.0/com/atlassian/confluence/api/service/content/ContentService.html)


Tags: adaptavist

api

confluence-server

groovy

java

scriptrunner

server
Can I post 1 blog to multiple Spaces?
Asked by Mike Wass:

Hi, I run multiple pages as i have multiple teams.

I'd like to post a single blog post which will show up in each teams space.

Is there a way to do this? I've tried to search the community and Google but no luck.

Thanks,

Mike W.


Answers:
author: Raja Shekher
body: Hi [@Mike Wass](/t5/user/viewprofilepage/user-id/4705563) - Yes you can but slightly in a different way. When you post something, the info will be appearing in different pages. To do that, Please use the Excerpt Macro.

More information on how to use is available here already: <https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html>

Hope this helps!

Regards,

Raja


Tags: cloud

confluence-cloud
How to display hex codes and fonts sizes (HTML)
Asked by Michael Beck:

Hey community,

we recently switched from server to cloud. Unfortunately, the html macro is no longer available on the cloud and the third party apps are overkill for my use-case (and too expensive since we are more than 10 users).

I want to use html to display hex codes as color blocks and fonts in different sizes.

Is there a simple solution for this?

Thanks in advance,  
Michael


Answers:
author: Brant Schroeder
body: [@Michael Beck](/t5/user/viewprofilepage/user-id/5322829) Welcome to the Atlassian community

You could use a table with background colors. that is the only thing I can think of.


Tags: cloud

confluence-cloud
A space administrator cannot edit permissions within a space
Asked by dkoksharov:

A space administrator cannot edit permissions within a space. It became after updating Confluence from 8.5.0 to 8.5.1. Only granting the user global administrator rights solves the problem. What should I do?


Answers:
author: dkoksharov
body: Updated Confluence to 8.6.0 - the bug is gone.


author: Matt Lin
body: Hi

We have same problem in our Confluence (8.5.1) , it's there any one can help ?


author: Clark Everson
body: Hi [@dkoksharov](/t5/user/viewprofilepage/user-id/5322785)

Welcome to community!

I would recommend a site admin remove the user and then re-add them back to the space to see if that works. If that doesn't work have the user try via an incognito window with a new sign in to sign if it's a caching issue. If that doesn't work I would recommend reaching out to other space admins to see if they have issues too or is a one off thing to determine the scope of the issue to help determine further steps or workarounds.

Best,

Clark

comments: author: dkoksharov
body: [@Clark Everson](/t5/user/viewprofilepage/user-id/2969809)

Hello Clark! Thanks for your response. Other administrators of this space have the same situation, they cannot edit the rights of users of the space: when they click edit permissions, an error appears that such an action is not allowed. Many space administrators have tried this, from different computers and browsers. And the same problem is observed in other spaces. Moreover, I discovered that a user who is given Confluence administrator rights at the global administrator level can edit permissions in one or another space. But for others who do not have the global Confluence admin role, but only the admin role for their space, there is no ability to edit space permissions. Although it should be, it worked before. Today I double-checked everything I could - alas, to no avail. And I wouldn't want to give the owners of individual spaces global Confluence administrator rights for security reasons.


author: Clark Everson
body: Hi [@dkoksharov](/t5/user/viewprofilepage/user-id/5322785)

I wasn't referring to the same space. Do users in other spaces have the same issues? If not I would still delete them all from the space and then add them back.

Best,

Clark


author: dkoksharov
body: Hi [@Clark Everson](/t5/user/viewprofilepage/user-id/2969809)

Unfortunately, completely removing administrative and other rights from a user in a space and then adding him to the space does not help.


author: Amanda Lenczewski
body: We are having the same issue and have tried removing, adding back, granting admin rights to a group containing the user, and reindexing.

Only site admins are currently able to edit permissions.
Table of contents not showing in Preview mode
Asked by Alan Vickers:

Our TOC macro is not displayed in preview mode. There is a suggested fix on this page: <https://community.atlassian.com/t5/Confluence-questions/Table-of-content-not-showing-in-preview/qaq-p/1570774#U2484272>

However, we cannot change our page layouts. Does anyone know how to fix this?

We are on Confluence Data Center version 8.5.

![PreviewTOC.png](/t5/image/serverpage/image-id/282054i5E3DA182D097E3F3/image-size/large?v=v2&px=999 "PreviewTOC.png")


Answers:
author: janez_m
body: After the update to 8.5.5. server edition our users reported the same issue. Before the upgrade the preview did render table of contents, but now it just doesn't.

I found a bug report here: <https://jira.atlassian.com/browse/CONFSERVER-91527>


author: Andrii Maliuta
body: Hello [@Alan Vickers](/t5/user/viewprofilepage/user-id/1263919) ,

You can try to change the formatting of the paragraph where the ToC macro is added so there is no some extra HTML tags in it (especially, when the data is copied from other web resources).

comments: author: Alan Vickers
body: Thank you, Andrii! We'll give that a try and let you know how it goes.


author: Alan Vickers
body: That did not work for us. Thanks [@Andrii Maliuta](/t5/user/viewprofilepage/user-id/484201) !


Tags: confluence-server

server
Can the "unknown-macro" be deleted automatically?
Asked by Fabian Weber:

After the migration to the Cloud Server there are still pages where is appearing a notification which says "Unknown Macro \[...\]". Is it possible to delete this message automatically or with a bulk feature?

If not there would be a lot of manual work to do.

Kind regards,

Fabian Weber

![Screenshot 2023-09-21 144144.png](/t5/image/serverpage/image-id/282046i3BFD7238336CE39B/image-size/large?v=v2&px=999 "Screenshot 2023-09-21 144144.png")


Answers:
author: Fabian Weber
body: Hello [@Andrii Maliuta](/t5/user/viewprofilepage/user-id/484201) ,

If there are already existing scripts I'd prefer to use one of them.

We have not yet actively worked with REST API. Would it be possible to do this with your support? It would also be important to know what effects the Rest API has on the server in terms of performance, security, etc.  
Have you already done this and do you have any recommendations on how to proceed and select the right script?

Kind regards  
Fabian


author: Andrii Maliuta
body: Hello [@Fabian Weber](/t5/user/viewprofilepage/user-id/5197668) ,

The macro name ('hideelements-macro') is stored inside a page body as a storage format, so you can delete it or replace this text with the name of the macro you need.

You can use your own script that does this on multiple pages via RETS API or use some existing library , like:

* **Python** : <https://atlassian-python-api.readthedocs.io/confluence.html>
* **Groovy** : <https://github.com/Sumy-Coding/atlas-rest-client-groovy>
* **Go** : <https://github.com/Sumy-Coding/atlassian-rest-golang>
* etc.


Tags: cloud

confluence-cloud

macro
Doit calendar on confluence page
Asked by Ga?than Vliegen:

Hi, I am trying add a DoitB calendar to a confluence page.  
When checking apps we have this plugin, yet when using the "/" on my confluence page no DoitB option exists.  

There is the Jira calendar but it looks hideous and is very unreadable.  
The doitB calendar allows a cleaner visualization.  

Is there any way to get the doitB calendar in my confluence page?  
I tried using the permalink in an iframe however this does not seem to work.


Answers:
author: Andrii Maliuta
body: Hello [@Ga?than Vliegen](/t5/user/viewprofilepage/user-id/5322736) ,

Looks like the DoitB calendar is actually available only for JIRA (<https://marketplace.atlassian.com/search?query=DoitB%20calendar>) and there does not seem to be the app in the Marketplace for Confluence for DoitB.

You can try to reach out to the vendor of this app via the '**Support** ' tabe [https://marketplace.atlassian.com/apps/1218390/calendar-for-jira?hosting=cloud\&tab=support](https://marketplace.atlassian.com/apps/1218390/calendar-for-jira?hosting=cloud&tab=support) to clarify such perspectives.

Also, you can create your own app with Forge (<https://developer.atlassian.com/platform/forge/>) for Confluence Cloud :)


Tags: cloud

confluence-app

confluence-cloud
Restore article
Asked by Nazar Baraban:

Hello, we are trying to restore the deleted page, but when we try to open the "Trash" folder it says "You've stumbled on restricted content"

The user we use is the same who created the space and is automatically a space administrator, but still no permissions to open.


Answers:
author: Prashant Sultania
body: Hello [@Nazar Baraban](/t5/user/viewprofilepage/user-id/5322718)   

This seems to me, either it is due to browser cache or might be due to space permissions and restrictions.

Can you try to restore the page using incognito window or inprivate window? Normally due to browser cache it won't allow you to restore.   

You can also go through the KB article for more regarding Delete, Restore, Purge details: <https://support.atlassian.com/confluence-cloud/docs/delete-restore-or-purge-a-page/> if issue still persist then I will suggest you to contact support team.

Thanks  
[Prashant Sultania](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3799395)  

++**Note:**++ Upvote, Like, or Accept the Answer if it resolves your query.


Tags: cloud

confluence-cloud
Can't change space permissions after upgrade to 8.5.1
Asked by Andreas Bauer:

We updated on Monday from LTS 7.19 to LTS 8.5.1 (using Linux and PostgreSQL). All is well, except users can no longer modify the permissions of any spaces (even though they see the change permissions page itself), including personal ones. When attempting a modification to the permissions, they end up on a "Not Permitted. You are not permitted to perform this operation"-page:

![Screenshot 2023-09-21 at 13-36-14 Not Permitted - Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/282023i03F6997AAB1A0984/image-size/large?v=v2&px=999 "Screenshot 2023-09-21 at 13-36-14 Not Permitted - Confluence.png")

The confluence-administrator can still change the permissions though. There are no additional restrictions set via the lock symbol, and this happens with internal and LDAP-users alike. If we go to the Inspect permissions tab, Confluence says that a user is fully allowed in that space.  
Moreover, it happens in our productive system and in a test system. So we can rule out a broken database or the like...

Hence, I am almost certain that we're not the only ones seeing this...


Answers:
author: Kseniia Trushnikova
body: Hi [@Andreas Bauer](/t5/user/viewprofilepage/user-id/3784914),

Probably your issue is related to this bug: <https://jira.atlassian.com/browse/CONFSERVER-91456> Please check its details.

comments: author: Andreas Bauer
body: Yes, that's it. Many thanks for your reply! We installed workaround and are waiting for 8.5.2 update.


Tags: confluence-server

server
How to gets list of users which never login to confluence and consume a licence
Asked by serge calderara:

Hello,

I am looking for a way to list all users in confluence which never login and consume a licence

I have tried the following query :

SELECT cu.display_name, cu.email_address, cu.active,  
cd.directory_name,  
li.SUCCESSDATE  
FROM logininfo li  
right JOIN user_mapping um ON um.user_key = li.USERNAME  
JOIN cwd_user cu ON um.username = cu.user_name  
JOIN cwd_directory cd ON cu.directory_id = cd.id  
ORDER BY SUCCESSDATE;

But it returns all active users with last login date and never loggin

My issue is that I can have some user which are active in confluence but not allowed to use confluence because not belonging to proper group

**How to get from querry only users which never login and consume a licence count ?**

Thnaks


Answers:
author: Raja Shekher
body: Hi [@serge calderara](/t5/user/viewprofilepage/user-id/3385932) - You can find the information documented here: <https://confluence.atlassian.com/confkb/how-to-check-for-users-who-never-logged-into-confluence-777015610.html>

Additional info: <https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html>

Regards,

Raja

comments: author: serge calderara
body: [@Raja Shekher](/t5/user/viewprofilepage/user-id/2820530) , I have try that already but it dows not work as expected beceause of the follwoing .

It returns as well active users which **do not consume** a licence

What I need is **only active user** s which **never logs** and **which are counted as a licence user**

any idea?


author: Raja Shekher
body: Hi [@serge calderara](/t5/user/viewprofilepage/user-id/3385932) - Please try this <https://confluence.atlassian.com/confkb/how-to-get-a-list-of-active-users-counting-towards-the-confluence-license-298978076.html>

In the Where Condition - Try to pass something like this based on the Date Range that you are looking for.

    WHERE successdate < '2016-01-01'

Regards,

Raja


author: Raja Shekher
body: Hi [@serge calderara](/t5/user/viewprofilepage/user-id/3385932) - Here the customized Query for your use case. Let me know how it goes.

```
SELECT cu.user_name,
cd.directory_name,
li.successdate
FROM logininfo li
JOIN user_mapping um ON um.user_key = li.username
JOIN cwd_user cu ON um.username = cu.user_name
JOIN cwd_directory cd ON cu.directory_id = cd.ID
WHERE successdate < (CURRENT_DATE - 180)
ORDER BY successdate;

SELECT cu.user_name,
cd.directory_name,
li.successdate
FROM logininfo li
JOIN user_mapping um ON um.user_key = li.username
JOIN cwd_user cu ON um.username = cu.user_name
JOIN cwd_directory cd ON cu.directory_id = cd.ID
JOIN cwd_membership m ON cu.id = m.child_user_id
JOIN cwd_group g ON m.parent_id = g.id
WHERE g.group_name = 'confluence-users' AND successdate < (CURRENT_DATE - integer '180') AND (cu.active = 'T' and cu.directory_id=557057 and cu.user_name !~ '@|srv_|ADMIN|SVC|CQIMPORT')
ORDER BY successdate;
```


Tags: confluence-server

server
404 While getting Confluence Endpoint
Asked by ClicData:

Hello,

I Get a 404 error when I call confluence endpoints.

Here the request URL:

++<https://api.atlassian.com/ex/confluence/{CloudID}/wiki/rest/api/content>++,

The id written comes from the ++<https://api.atlassian.com/oauth/token/accessible-resources>++ endpoint., already used this ID with other Atlassian endpoints (ex: Jira Software Cloud, etc...) and it worked good.

Here is the response I get by using this URL:

*** ** * ** ***

{  
"timestamp": "2023-09-21T09:54:27.984629Z",  
"status": 404,  
"error": "Not Found",  
"message": "No message available",  
"path": "/ex/confluence/7e2d94a9-d7fc-49e8-b071-6380d026cd8f/wiki/rest/api/content"  
}

*** ** * ** ***

And this is the response header :

*** ** * ** ***

date: Thu, 21 Sep 2023 09:54:27 GMT  
content-type: application/json  
content-length: 192  
x-trace-id: 871de60d656a9f5b  
x-failure-category: FAILURE_CLIENT_TCS  
x-frame-options: SameOrigin  
x-content-type-options: nosniff  
x-xss-protection: 1; mode=block  
atl-traceid: 871de60d656a9f5b  
report-to: {"endpoints": \[{"url": "<https://dz8aopenkvv6s.cloudfront.net>"}\], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}  
nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}  
strict-transport-security: max-age=63072000; preload  
server: AtlassianEdge

*** ** * ** ***

Any idea if I use the good URL or is there is another problem ?


Answers:
author: Andrii Maliuta
body: Hello [@ClicData](/t5/user/viewprofilepage/user-id/5322580) ,

Could you please clarify what exactly endpoint and for what data retrieval should be used?

The '/rest/api/content' endpoint is used with:

```
https://<name>.atlassian.net/wiki/rest/api/content
```

For the content retrieval , not authenticating.

comments: author: ClicData
body: Hello,

Thank you for your fast answer.

We want to get contents as described at <https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-wiki-rest-api-content-get>

And we also want to retrieve contents in order to see views/viewers using these endpoints:

wiki/rest/api/analytics/content/{ContentId}/views  
wiki/rest/api/analytics/content/{ContentId}/viewers


author: ClicData
body: We found the solution,

Our trial was expirated, that's why we could call the API anymore.

Thank you !


Tags: cloud

confluence-cloud

confluence-server

server
How do I link current confluence in a Production project to Production Sandbox?
Asked by Ian Swinnerton:

Am trying to create a Sandbox which mirrors the data and setup of our current Production Project in JSM. I want to mirror our Knowledge Base and have tried to set it up in Sandbox but on the first setp I get 'We're having trouble adding Confluence - this usually happens when a site is behind on payments'

I've checked and we're fully paid up - any ideas on what to do to get the Knowledge Base replicated?

Thanks!

Ian


Answers:
author: marc -Collabello--Phase Locked-
body: My recommendation for this type of error is to try later again and/or contact Atlassian support directly.

comments: author: Ian Swinnerton
body: **Thanks, have now submitted a ticket**


author: Raja Shekher
body: Hi [@Ian Swinnerton](/t5/user/viewprofilepage/user-id/4973132) - As this is related to Payment issue, please create a support ticket here with Atlassian: <https://support.atlassian.com/contact/>

Regards,

Raja

comments: author: Ian Swinnerton
body: Thanks, have now submitted a ticket


Tags: cloud

confluence-cloud
Rows in blog
Asked by Kseniia Egorovs:

How can I change the rows in the blog if I have many of them I also put the date at the beginning of each blog, but it didn't help to make a row I want.


Answers:
author: Brant Schroeder
body: [@Kseniia Egorovs](/t5/user/viewprofilepage/user-id/5322551) Welcome to the Atlassian community

Can you share a screenshot of what you are currently seeing and how you would like to update that?


Tags: cloud

confluence-cloud
Integration with clockify: infer project from label
Asked by Meir Goldenberg:

When I time a task using the integration with Clockify, I would like the project to be chosen automatically, e.g. based the card's label. Is there a way to accomplish this?


Answers:
author: Alex W
body: Hi [@Meir Goldenberg](/t5/user/viewprofilepage/user-id/5166523) - if you have a question around Clockify, I recommend reaching out to Clockify support at tkostiushko@sm-act.com


Tags: clockify