youngmon/atlassian-qna huggingface dataset:
adding user to my team
Asked by Esteban Collado Cespon:

Hello,

I have a server licence and in theory I have up to 10 users but I do not see the option to create users anywhere.

On the side panel, I can click on People, then I can create a team, but I cannot create users.

BR,

Esteban Collado


Answers:
author: Diego
body: Hello there, [@Esteban Collado Cespon](/t5/user/viewprofilepage/user-id/3625732) !

I believe that we are ++*speaking about Confluence on the Cloud platform*++, rather than Server as the tags suggest. Can you confirm this? What leads me to believe this is how you referenced the sidebar and also the teams feature, both from Cloud.

If my assumption is correct, I can tell that ++*we will not find a "Create user" button*++, but rather a "Invite User" one.

Here is how we can reach it:
> 1. *Click the "People" page in the sidebar ![peopletab.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72023i4FED9AEF76E5F8F0/image-dimensions/268x188?v=v2 "peopletab.jpg")*
> 2. *At the top right corner of the page, now click "Manage Users" ![manageusers.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72024i862B0007795E68C0/image-dimensions/510x96?v=v2 "manageusers.jpg")*
> 3. *Now, click "Invite Users" ![inviteusers.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72025i051C143E162EDF3E/image-dimensions/466x101?v=v2 "inviteusers.jpg")*

When you reach the "Invite Users" part, we will need to fill out some information for the invitation to be sent. After that, the user can now join the instance.

![invitationform.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72026iC61D05F7D116C85B/image-dimensions/197x260?v=v2 "invitationform.jpg")

Here is some detail on the user management for Confluence Cloud, Esteban:
> * ++**[\[Confluence Cloud\] Invite and remove users](https://confluence.atlassian.com/cloud/invite-and-remove-users-744721624.html)**++

I hope this sheds some light on this matter for you, Esteban. Let us hear from you!


Tags: confluence-server

server
Team Calendar transfer ownership of an reccurring event causing issues
Asked by Amrik Birdi:

Hello,

The issues seem to be relating to repeating events which we use for our daily meetings. The repeating event has been assigned to a user but whenever we try to assign it to a different user in the "Who" field the calendar always generates a separate duplicate event and sometimes (more seriously) deletes events (either future or past occurrences).

Is this a known issue and if so is there a workaround or fix for this?

We are using Confluence v6.15.2 (server)

Any help will be appreciated


Answers:
author: Shannon S
body: Hello Amrik,

Thank you for reporting this to us.

I believe this is related to the following bug ticket:

* [CONFSERVER-58411](https://jira.atlassian.com/browse/CONFSERVER-58411) *Adding a user to a repeated event causes duplicate event to be created*

In the meantime, you'll want to create a new event when you need to change the assignee on a calendar event.

Let me know if you have any trouble with that.

Regards,

Shannon


Tags: confluence-server

server

team-calendars-for-confluence
Create macro via REST API
Asked by Oleksandr Rudak:

Hi Viktor,

I have a very similar needs: I need to automatically generate HTML content and PUT it to the Confluence page.

My particular page should contain an "Expand" macro. I tried to copy HTML block containing it from another page and then modify and PUT it to Confluence, but got a view like this:

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

As you can see - macro doesn't work.

When I looked deeply in HTML code - I saw that each \<div\> tag containing macro looks like follows:

```
<div class="content-wrapper">
<div id="expander-2068011896" class="expand-container conf-macro output-block" data-hasbody="true"  data-macro-name="expand" data-macro-id="c58eaef6-decc-453b-b27c-4807ca9e9950">
<div id="expander-control-2068011896" class="expand-control"><span class="expand-control-iconicon"> </span><span            class="expand-control-text">Click here to expand...</span></div>

.....
</div>
```

There are some attributes like:

* id="expander-2068011896"
* id="expander-control-2068011896"

Maybe the problem is that this ID's generating dynamically by backend once you publishing Confluence page throw web-browser, and works only in particular Confluence page? Just a suggestion...

However, the main question: how can I create HTML code containing Confluence macro, so that the macro will work properly in web-browser, after publishing it by REST API?

[@Stephen Sifers](/t5/user/viewprofilepage/user-id/2145523), please share your suggestions.

It will be very appreciated!


Answers:
author: Sven Schatter _Lively Apps_
body: Confluence doesn't use HTML but it's own version of [XHTML as its storage format](https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html). When you view a page that storage format will be transformed into HTML. As you've already experienced trying to store that view HTML won't work. To create a expand macro you'll want to use the following storage format:

```
<ac:structured-macro ac:name="expand" ac:schema-version="1">
  <ac:rich-text-body>    <p>expandable content goes here</p>
  </ac:rich-text-body>
</ac:structured-macro>
```

comments: author: Oleksandr Rudak
body: That was really unexpected information! Thanks [@Sven Schatter _Lively Apps_](/t5/user/viewprofilepage/user-id/1169931) for support, it works now!


author: 3rdjkadjk
body: [@Oleksandr Rudak](/t5/user/viewprofilepage/user-id/3625594) how can one create or know a macro id of a specific macro ?
How can I get all tasks of a space ?
Asked by amasik:

Hi!

I need to get all tasks of one space to collect all tasks of my team.

In <https://docs.atlassian.com/mywork-confluence-host-plugin/REST/1.1.9/>

I can have my tasks but not the task created by me or from a space

Confluence Server 6.2.0

Thanks in advance


Answers:
author: Shannon S
body: Hello [@amasik](/t5/user/viewprofilepage/user-id/3625564),

Welcome to Atlassian Community. It's nice to have you.

As you've discovered, it's only possible to get a list of tasks through **/rest/mywork/task** of the currently logged-in user. It is not possible to get a list of tasks for another user, but there is a feature request for this below:

* [CONFSERVER-56023](https://jira.atlassian.com/browse/CONFSERVER-56023?_ga=2.65865902.1400638574.1573472123-1642555208.1571221417) *REST API for inline-tasks*

You can use the [Task Report Macro](https://confluence.atlassian.com/doc/task-report-macro-590260009.html) ***within*** ***Confluence*** to list all tasks in a space.

Let me know if you have any questions about this.

Regards,

Shannon

comments: author: amasik
body: Thank you [@Shannon S](/t5/user/viewprofilepage/user-id/510046) \^\^


author: Irina_Bel_Stiltsoft_
body: Hi [@amasik](/t5/user/viewprofilepage/user-id/3625564) ,

I would like to share the experience of our users that perceive [Talk - Advanced Inline Comments](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=datacenter&tab=overview)as tasks. When they mention somebody in the comments (it can be multiple team members), that means this task is assigned to these employees. Every user can build [Talk Report](https://docs.stiltsoft.com/display/public/Talk/Talk+Report), then overview 'tasks' that are unresolved and where they've been mentioned. They can easily switch to the comment by clicking on the link in the Page column. When a task is done, they can resolve it or archive it on the page to refer to it later. Talk Report includes the following information:

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

A good practice is to use this app with the [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app. With the combination of these apps, you can filter comments by a certain user, the priority of a comment (low, medium, or high), and its status(open, archived, or resolved). These filters can help you to see which comments may take your immediate reaction.

![Talk + TF (1).png](https://community.atlassian.com/t5/image/serverpage/image-id/227521iF526CEC8A0DCF69F/image-size/large?v=v2&px=999 "Talk + TF (1).png")


Tags: confluence-server

notification

rest-api

server

task
Space Settings | Permissions | Groups | Can't find group
Asked by Sergej Glavan:

I am trying to set permissions to a group.  

1. On Space Settings \| Permissions \| Groups \| I cant find the group I created  
2. On Page settings I can't find group to set restriction   
3. On confluence page I CAN find a group i cerated (to notify)


Answers:
author: Diego
body: Hello there, [@Sergej Glavan](/t5/user/viewprofilepage/user-id/3186956) ! I tried to replicate this behavior but was ++*ultimately unable to*++ . Reading the description you sent our way, I believe that we are dealing with ++*Teams rather than Groups*++. Here is our documentation on both:
> * ++**[\[Confluence Cloud\] Teams in Atlassian Cloud](https://confluence.atlassian.com/cloud/teams-in-atlassian-cloud-975019753.html)**++
> * ++**[\[Confluence Cloud\] Create and update groups](https://confluence.atlassian.com/cloud/create-and-update-groups-744721627.html)**++

Assuming you are dealing with Teams, I can tell you that ++*permissions and restrictions are not applicable to teams*++ . For us to work with permissions and restrictions, ++*we need to use groups*++. If you need to create a Group in Confluence, you can follow this:

> 1. *Click the **Switch To...** menu ![SwitchToButton.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72256i6E561D1DC40173F1/image-size/large?v=v2&px=999 "SwitchToButton.jpg")*
> 2. *Select **Administration ![AdministrationOption.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72257iFDE1494959ECD999/image-size/large?v=v2&px=999 "AdministrationOption.jpg")***
> 3. *Click **Groups ![GroupsOption.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72258i0137DA97312548FB/image-size/large?v=v2&px=999 "GroupsOption.jpg")***
> 4. *Select **Create group ![CreateGroupButton.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72259i8B893874BFAF50A0/image-dimensions/437x77?v=v2 "CreateGroupButton.jpg")***
> 5. *You will be greeted by this dialog window ![CreateDialog.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/72260i1B579C8E6A449F84/image-size/large?v=v2&px=999 "CreateDialog.jpg")*

From there, you will be able to create new groups and then assign both permissions and restrictions to them!

I hope this aids your quest, Sergej!


Tags: cloud

confluence-cloud

permission
Confluence DB encoding from SQL_ASCII to UTF8.
Asked by sarath sasi:

Hi,

Since the launch of confluence 7.x logs are throwing errors for non utf8 encoding in db.

Any one have changed confluence postgresql db encoding from SQL_ASCII to UTF8.

Even though we can do this using pg_dump,not sure this will hamper anyother existing functionality.

Any thoughts on this?


Answers:
author: Shannon S
body: Hello Sarath,

Thank you for contacting us about this. We have a knowledge base article on how to fix encoding in Postgres.

* [How to fix the collation of a Postgres Confluence database](https://confluence.atlassian.com/confkb/how-to-fix-the-collation-of-a-postgres-confluence-database-966676071.html)

You can either do this using an XML export of Confluence, or with pg_dump. It won't affect any existing functionality so long as you follow these instructions:

1.
   > Create new database with the correct Collation and CType. Please refer to [Database Setup for PostgreSQL](https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html)
2.
   > Migrate the data to the new database with [Pg_dump](https://www.postgresql.org/docs/9.5/static/backup-dump.html)

Could you give that a try and let me know if you have any trouble?

Regards,

Shannon

comments: author: sarath sasi
body: Have tried that.

But want to know if any hidden issues in bodycontent during conversion from SQL_ASCII to utf-8


author: Shannon S
body: Hello Sarath,

I have not heard of any users encountering issues like that when fixing the collation on their database according to our procedure.

To confirm what you're saying, you've created a **brand-new** PostgreSQL database with the correct collation. You have already migrated your content over to it using pg_dump. Is that correct?

If you are still encountering the issue after that change, you need to make sure that everything is on UTF-8. Including file system, database, database tables, etc. See [Troubleshooting Character Encodings](https://confluence.atlassian.com/doc/troubleshooting-character-encodings-167194.html) for more details. You may find it helpful to pair up with a server and database admin for this if you don't have full server access.

Regards,

Shannon


Tags: confluence-server

server
Confluence - How to rename or update user using groovy
Asked by Areg Vrtanesyan _Work_:

I was able to find a lot of ways to manipulate users using groovy in Jira but can't find similar for Confluence.

Does anyone know how to rename or update user in Confluence?

For example Jira ones:

<https://community.atlassian.com/t5/Jira-questions/How-to-bulk-rename-username/qaq-p/216275>

<https://library.adaptavist.com/entity/create-a-user-in-jira>


Answers:
author: Areg Vrtanesyan _Work_
body: Figured out something like:

```
import com.atlassian.user.UserManager
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.user.UserAccessor

def userManager = ComponentLocator.getComponent(UserManager)
def userAccessor = ComponentLocator.getComponent(UserAccessor)


def users = userManager.users


users.each { uu ->

    if ( uu.getName().contains("something") ) {

        userAccessor.renameUser(userAccessor.getUserByName(uu.getName()), uu.getName().replace("something", "something else"))
    }

}
```


Tags: adaptavist

confluence-server

scriptrunner

server
Summarize custom field from jql Jira-Table and show result on confluence page
Asked by Sigurd Schacht:

Hi all,

I try to find a solution to include a summary table on top of a confluence page.

Somewhere on the page I have a Jira table query which show's me a list of Jira issues.

On top of the page I would like to have a confluence table which summaries the values from one custom field from all issues of the included table.

I did not find a solution to sum up the value of all fields and include the result not at the end of the table rather as data field somewhere on the confluence page. (detached from the table)

In addition is there a possibility to calculate in such a summary new values?

Did somebody have an idea or solution to this problem.

Thanks a lot.


Answers:
author: Natalie Paramonova [Stiltsoft]
body: Hi [@Sigurd Schacht](/t5/user/viewprofilepage/user-id/3557137) ,

As far as I know, there are no built-in macros that can help you.

You can use the macros bundled in the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview) app.

The [Table Excerpt and Table Excerpt Include](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) macros will help you to display your table at the top of the page (you don't need to maintain two tables, because the included table is a dynamic copy of the excerpted source table).

![2019-11-06_16h32_58.png](https://community.atlassian.com/t5/image/serverpage/image-id/71797iE57B4E2695EC543C/image-dimensions/478x422?v=v2 "2019-11-06_16h32_58.png")

After that, you can wrap the included table in the [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) or [Table Transformer](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+Transformer+macro) macros to perform calculations.

![2019-11-06_16h36_45.png](https://community.atlassian.com/t5/image/serverpage/image-id/71796iA358DACB5D4AEEB8/image-dimensions/611x417?v=v2 "2019-11-06_16h36_45.png")


Tags: confluence-server

server
Redo/do-again action shortcut (NOT after undo)
Asked by Ori_Bandel:

Hola!

I'm wondering if there is a Re-do or Do-again shortcut/button in Confluence?

Something like F4 in Word, which does-again the last typing been made (kind of duplicates the last typing).

I'm NOT referring to re-do (? + Shift + Z) after an un-do (? + Z) shortcut.

Your assistant is vital and precise!

Thanks :)

Ori


Answers:
author: Manisha Kharga _Appfire_
body: [@Ori_Bandel](/t5/user/viewprofilepage/user-id/3625194) ,

If you are using Mac then you can use the command+Z option to undo the content in Confluence cloud.

There is also the Atlassian ticket raised for this feature.

<https://jira.atlassian.com/browse/CONFCLOUD-58034?_ga=2.201603090.2097421106.1572845582-246696911.1568007834>

Thanks,  
Manisha

comments: author: Ori_Bandel
body: [@Manisha Kharga _Appfire_](/t5/user/viewprofilepage/user-id/2695715)

Thanks for your answer!

Unfortunately, my intent is NOT to the simple undo (command+Z) and/or the redo(command+shift+Z) but to do-again function that exists in Microsoft Word (and which is extremely useful).

Thanks you!
Share Confluence page publicly but limit by domain
Asked by Naledi Matutoane:

I'd like to be able to share pages in Confluence to other people in my business but without giving them licenses.

I know that this can be done by changing the permissions of the space to be public but is it possible to do this *and*still restrict the access by a domain?

Thanks,

Naledi


Answers:
author: Sharon Helms
body: Hi Naledi,

It's not currently possible to restrict access by domain -- the only option is to make the space completely public.

We have provided feedback to Confluence development teams asking for a feature such as you've described, and it sounds like others have as well.

While [this feature request](https://jira.atlassian.com/browse/CONFCLOUD-30161) isn't exactly what you're looking for, it might be worth watching to see what solutions Atlassian comes up with. They note:
> "We acknowledge that many of you are looking to share content with your customers and other external users without provisioning full licenses.   
>
> I'm happy to share that we've put this suggestion on our roadmap and are planning to address it in the next 12 months.  
> We will keep you updated on the progress and timelines when the feature is going to be delivered.  
> Thanks again for your patience."

comments: author: Naledi Matutoane
body: Thank you very much for the insight - looking forward to seeing the feature soon!


author: Moran Schneider
body: there is any new with that feature?

[@Sharon Helms](/t5/user/viewprofilepage/user-id/976803)  
[@Naledi Matutoane](/t5/user/viewprofilepage/user-id/3625314)


Tags: cloud

confluence-cloud
How do you edit a new blank page?
Asked by Ian_Fone:

Very frustrated user here- since the old black page template has been removed, I can't create new blank pages using the new template as everything is greyed out- I can't edit the contents, use any of the options or publish. This is the case for every space I'm a part of, even my own personal space. Am I missing something glaringly obvious or is this an outstanding bug?


Answers:
author: Shannon S
body: Ian,

Welcome to Atlassian Community. It's nice to have you.

I've not run into a bug like this myself, but generally the page will be greyed out either if there's no title yet, or your network is preventing you from doing so.

In that case, you might be affected by the following bug:

* [CONFCLOUD-68168](https://jira.atlassian.com/browse/CONFCLOUD-68168) *Edit functions are grayed out in Confluence Cloud for certain users*

If WebSocket Secure fails, we fall back to WS (non-secure WebSocket). But in new editor pages, the fall back does not happen (not supported). The ticket above is opened to enable fall back on new editor pages as well.

So we would like to suggest the following workaround:

* Use Firefox with a manual proxy when editing in Confluence.
* Contact your organization's IT/network team to allow **WSS connections**

Let me know how that works out for you.

Regards,

Shannon


Tags: cloud

confluence-cloud
MySQL 5.7 version suggestion in JIRA 8
Asked by Ken Chung[???]:

Dears,

Here is a question which needed suggestions. Below are MySQL 5.7 release versions, which is recommanded to use in JIRA 8, thanks for viewing my question.

* MySQL 5.7.28 (2019-10-14, General Availability)
* MySQL 5.7.27 (2019-07-22, General Availability)
* MySQL 5.7.26 (2019-04-25, General Availability)
* MySQL 5.7.25 (2019-01-21, General Availability)
* MySQL 5.7.24 (2018-10-22, General Availability)
* MySQL 5.7.23 (2018-07-27, General Availability)
* MySQL 5.7.22 (2018-04-19, General Availability)
* MySQL 5.7.21 (2018-01-15, General Availability)
* MySQL 5.7.20 (2017-10-16, General Availability)
* MySQL 5.7.19 (2017-07-17, General Availability)
* MySQL 5.7.18 (2017-04-10, General Availability)


Answers:
author: Moses Thomas
body: [@Ken Chung\[???\]](/t5/user/viewprofilepage/user-id/3625209) Well any of these versions are supported for JIRA 8 infact MySQL 5.7.x should be good .

Best regards,

MO

comments: author: Ken Chung[???]
body: [@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700) Thanks for this suggestion.