youngmon/atlassian-qna huggingface dataset:
can we get correct endpoint to get all spaces present in the confluence cloud
Asked by Sachin Somannavar:

url = "https://{your-domain}/wiki/api/v2/spaces" this url is mentioned in the rest api page

tried using this <https://api.atlassian.com/wiki/api/v2/spaces>

<https://api.atlassian.com/ex/confluence/cloudid/wiki/api/v2/spaces>

<https://api.atlassian.com/ex/confluence/cloudid/rest/api/v2/spaces>

but did not got the spaces list


Answers:
author: Mikael Sandberg
body: You are using the wrong domain, it should be the instance URL, not api.atlassian.com. Your URL should look something like this:

https://my-instance.atlassian.net/wiki/api/v2/spaces


Tags: cloud

confluence-cloud
Migration / Upgrade Step Advice
Asked by James Iorio:

Hi,

I am looking for advice on how to get from Server to Datacenter.

I currently have a two node setup with Confluence on a Win2019 vm and

its DB at SQL Server 13 (2016) on a separate vm.

I got all new licenses for DC and 5 or so Plugins that we use.

Currently at V8.1.3 and want to figure out best approach...

Do I put in all my licenses, then upgrade the DB... which might include a change to the DB server... and then perform a Confluence Upgrade?

I am attempting to have as little as possible downtime.

I guess my first question is... Can I put in all my licenses (including switching from Server to DC) at the current version without any issues? From there, Upgrading to a newer version of confluence will include a DB change in order to get to a supported version of the DB.

Suggestions?

Thanks,

Jay


Answers:
author: Chris Usiak
body: Hi [@James Iorio](/t5/user/viewprofilepage/user-id/5442662)

Updating from Server to Datacenter is as easy as just switching the licenses over to the new Datacenter licenses. After doing so, it will unlock all the Datacenter features.

The two applications are pretty much the same with the only difference being Server has features locked/hidden when you dont have a Datacenter license.

Atlassian suggests changing the license keys for your apps first, then your Confluence license.


author: Mohamed Riza _ServiceRocket_
body: Hi [@James Iorio](/t5/user/viewprofilepage/user-id/5442662)

As Chris mentioned, with regards to licensing, you may directly put the DC license on your current Jira Server version and this should unlock all the DC features on the instance.

With regards to upgrading the instance, if you are upgrading the instance to a Confluence version, where your current DB is not supported, then you should check the Support Platforms pages and see which DB version is supported on both your current version and also the version you are planning to upgrade too. In this case, you can then first upgrade the DB to that particular version and the upgrade the Confluence instance.

Hope that clarifies.


Tags: confluence-data-center

confluence-server

data-center

server
By using free account in confluence cloud can we able to set space level permission
Asked by Sachin Somannavar:

And get who all have space level permission in confluence cloud,can we get that by using rest api ,this is for free account


Answers:
author: Kian Stack Mumo Systems
body: [@Sachin Somannavar](/t5/user/viewprofilepage/user-id/5428744),

Based on the [feature sets](https://www.atlassian.com/software/confluence/pricing) for the Confluence free plan, you are unable to customize space level permissions.

You should be able to retrieve the permissions using the rest api, but you cannot set them.


author: Hariharan Iyer
body: Yes, both should be possible. You can use [this API](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-group-space-permissions) to set the permissions and [this one](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions/#api-group-space-permissions) to get them.

Edit: as others have pointed out, you can't set up per-space permissions in a free account, though you can get them. So the first API won't work.

comments: author: Trudy Claspill
body: [@Hariharan Iyer](/t5/user/viewprofilepage/user-id/5124435)

Really? You can customize permissions through the API for Confluence **Free**, even though the documentation says that permissions can't be customized in a Free subscription?

![Screenshot 2024-03-01 at 4.04.31?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/309796iDA464D06B78F5550/image-size/large?v=v2&px=999 "Screenshot 2024-03-01 at 4.04.31?PM.png")


Tags: cloud

confluence-cloud
Is there a formal request to Atlassian to add TCL support to Code Block Macro
Asked by Diego S?nchez:

TCL is a highly common scripting language used by most EDA tools for the Semiconductor industry. We regularly use the macro 'Code block' to document TCL code, but the syntax is not supported.  

For now, I've created a new request:  
[\[CONFSERVER-94798\] TCL Syntax Support for Code Block macro - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/CONFSERVER-94798)


Answers:
author: Dan Breyen
body: Hi [@Diego S?nchez](/t5/user/viewprofilepage/user-id/5442599) welcome to the community! I took a look at Atlassian's Jira site (jira.atlassian.com) and did this [search.](http://project%20in ("Confluence Data Center", "Confluence Cloud") and text ~ EDA) It didn't turn up anything. I tried with TCL as well.

You could contact support (support.atlassian.com/contact). It's possible I missed something.

Hope that helps.


Tags: code-block

confluence-data-center

data-center
Confluence: Page freezes during auto save
Asked by Cristiano Costa:

Hi

When editing a page active every time the auto save happens the page freezes not allowing to continue to edit.

As this happens every 30seconds is quite annoying and as I continue to write end ups messing around the whole document.

No one else in the organization has this issue.

I'm not site admin

It happens both on Google Chrome and Ms Edge


Answers:
author: Marc - Devoteam
body: Hi [@Cristiano Costa](/t5/user/viewprofilepage/user-id/5442550)

Welcome.

Can you try it in an incognito window, if this works clear all browser cache and history

comments: author: Cristiano Costa
body: Might be only my perception but seems a little better.

But still happens


Tags: cloud

confluence-cloud
Can a template be automatically send to an email address after it has been completed?
Asked by Simone Bucher:

Hello

We would like to use a template in confluence to kick off a process with one of our external service providers. Once an employee has created and completed the template an email should be triggered to an external recipient containing the details filled into the template.

Is that possible or are there any other solutions than using a template?

thanks!


Answers:
author: Marc - Devoteam
body: Hi [@Simone Bucher](/t5/user/viewprofilepage/user-id/5442506)

Welcome.

This is not possible ootb, this will require a marketplace app or Confluence automation (only available in premium or enterprise cloud plan)

You could look at apps like:

* mailto.wiki - Email for Confluence
* Email Confluence page


Tags: cloud

confluence-cloud
I need to hide the personal spaces from the Space list
Asked by Victoria Bernini:

Hello, I'd like to hide the personal spaces from the list of "View all Spaces" and only see the rest of the spaces.  

I know I can uncheck the "create personal space" from the Global Permissions but that is not exactly what I need.  

I want the users to have their personal spaces but only the owner should see it.  

Does anyone know how to do it?  

Thanks


Answers:
author: Andrii Maliuta
body: Hello [@Victoria Bernini](/t5/user/viewprofilepage/user-id/1438098) ,

Even if you would hide personal spaces from the **View all spaces** menu with some JS or CSS, it could be possible to open the space by direct link having the user name/id.

You can use **Permissions** to configure them so that only owners would have access to them and they will not be visible for others in the menu also.

comments: author: Victoria Bernini
body: How to use Permissions exactly? Do you mean by using Restrictions from the top left side of the space?  

Can you help me to understand how the owner can hide it from the menu?  

Thanks!!!


author: Andrii Maliuta
body: Hello [@Victoria Bernini](/t5/user/viewprofilepage/user-id/1438098) ,

As [@Jingis](/t5/user/viewprofilepage/user-id/5273413) mentioned, it is **Permissions** menu of the space. You specify the permissions for the space to control the access (Restrictions are used in other cases for additional control of pages access ). If somebody has no access to space having no permissions for VIEW then the pace will be not visible in search and in space view menus.

To apply custom permissions on spaces in bulk, you can use scripting: Script Runner ([https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview)) or use of any programming language over REST API (<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-wiki-rest-api-space-spacekey-permission-post>) to apply permissions.


author: Victoria Bernini
body: thanks a lot!


author: Patrick
body: Adjust the space permission so only you as Admin and the Owner can see it.  

After that adjust the default space permission on creation so you dont have to do it with each new member.

comments: author: Victoria Bernini
body: Can you think a way to do it in bulk? because we are a large company and to adjust the space permission manually is very tedious.

Can you help me how can I adjust the default permission on creation? I couldn't find that.  

Thanks!!


author: Patrick
body: Ahh sorry, I missed that the settings applies to all spaces, somehow I thought I could choose personal spaces specifically there.

I mean the "Security - Space Permissions" Settings. I have it set so newly created spaces of any type can only be seen by Admins and people who have the rights to create a space.   

Most likely only script runner plugin can help you to solve issues that have to be done in bulk.  


author: Victoria Bernini
body: Thank you so much for your help!


Tags: cloud

confluence-cloud
How to get space and page level permission from confluence cloud through rest api
Asked by Sachin Somannavar:

Want to see in space level who all have what kind of access and on page level who all have what kind of access through rest api call


Answers:
author: Sachin Somannavar
body: ```
{'results': [{'operation': 'read', 'restrictions': {'user': {'results': [], 'start': 0, 'limit': 100, 'size': 0}, 'group': {'results': [], 'start': 0, 'limit': 100, 'size': 0}}
```

getting empty list in results , what do we need to do here


author: Sachin Somannavar
body: looking for endpoint , by hitting can I get a space level access information like which user has what permission on space level and which user has what all permission on page level , need to maintain this metadata , through rest api I am building this solution , have tried this all endpoint

#url = f'<https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id>}'  
#url = f'<https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}/restriction/byOperation>'  
#url = f'<https://api.atlassian.com/ex/confluence/cloudid/rest/api/user>'  
#url = f'<https://api.atlassian.com/ex/confluence/cloudid/rest/api/space/freshworks?expand=permissions>'  
#url = f'<https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}?expand=permissions>'  
#url = f'<https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}/permission/check>'


author: Sebastian Krzewi?ski
body: Hi [@Sachin Somannavar](/t5/user/viewprofilepage/user-id/5428744)

You can find everything in Confluence rest api docs:

- space perm - <https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions/#api-spaces-id-permissions-get>

- page restrictions - <https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions/#api-group-content-restrictions>

Regards,

Seba

comments: author: Sachin Somannavar
body: Thanks Seba , will check this and get back to you on this


Tags: cloud

confluence-cloud
Can I run another automation from a manual trigger?
Asked by Sarah Isaacs:

Hey,

Please can I ask for help. I want to create a manual trigger automation that runs another create automation based on a if statement if the summary contains C2 then run an Automation that is called and contains C3. or allows them so select an automation that has C3 in its name? And then so on if C3 then C4 etc bascially specific automations based on the name of the task then run the manual trigger from?

Then a second update on an existing automation that checks a task exists before create it?

This is an example of my naming:

Level 1/CTUP/HiLo Writing C2 - Creates Storyboard sub tasks, sends TL email

Level 1/CTUP/HiLo Writing C3 (Levels 5\&6 Percentage Written) - Creates 1st Draft sub tasks, moves to 1st draft column and sends TL email

or

Level 1/CTUP/HiLo Writing C3 - Creates 1st Draft sub tasks, moves to 1st draft column and sends TL email

Within the create issue I'll now need to check if the issue already exists.

any help would really be appreciate thank you

This is my automation:

![image.png](/t5/image/serverpage/image-id/336897i610E655A0B774E20/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/336898i6B3EDF6FB03007AE/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/336899iA8BEAAA81A843E02/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/336900iEF9799E89FDACE5A/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Bill Sheboy
body: Hi [@Sarah Isaacs](/t5/user/viewprofilepage/user-id/5270255)

There is rule no action to directly trigger one automation rule from another *by-name-of-the-rule*.

I have seen some workarounds for trying this type of rule flow, but none are the same as calling a sub-routine to do something and then return to the caller. A few of them are:

1. The starting rule edits an issue which leads to triggering another, second rule (which detects the issue field change). In the second rule, the option to allow rule trigger is enabled.
2. The starting rule could use the Send Web Request action to trigger another rule which as been pre-built to use the Incoming Webhook trigger
3. Build a service outside of Jira which does what you need, and call that with the Send Web Request action

The first one will certainly be detected for looping checks, and so could exceed the service limit if it does this many times, such as in a branch or chain of execution. I have not seen any documentation to learn if triggering a webhook rule from another "counts" for loop detection.

I recommend discussing the scenarios with your Jira Site Admins before trying either of these, as an error could cause various service limit / rule usage problems.

Kind regards,  
Bill

comments: author: Sarah Isaacs
body: Thanks [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) you always answer my questions! Super appreciate it.


Tags: cloud

jira-cloud
Not able to access apps although I am the administrator?
Asked by smfr93:

![image.png](/t5/image/serverpage/image-id/336879i7482CFF393A29612/image-dimensions/435x95?v=v2 "image.png")![image.png](/t5/image/serverpage/image-id/336880i8F2821BC06F85891/image-dimensions/267x427?v=v2 "image.png")

Hey guys, I'm new here. Just using Jira for administrating personal projects, I added Webex and MindMap to my account, but can?t seem to use them. I am the administrator, what does it mean with contacting the administrator. Can someone help me?

Thank you


Answers:
author: Jack Brickey
body: Hi [@smfr93](/t5/user/viewprofilepage/user-id/5548612) , it may be that you are "an" administrator but not the type required to set up apps. In Jira there are three types of admins:

* Organization admin
* Product admin
* project admin

you need to be an org admin for your site to add apps. You can determine if you are the org admin by clicking on the setting icon (cog/sprocket) in upper right. If you see things like the following you are an org admin. BTW, an excellent resource for understanding admin roles is this training - [How to administer Jira](https://university.atlassian.com/uploads/resource_courses/targets/5599327/original/scormdriver/indexAPI.html)

![IMG_4362.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/336892iAB35839435136984/image-size/large?v=v2&px=999 "IMG_4362.jpeg")

comments: author: smfr93
body: I seem to be the org administrator, I can also add the apps without a problem, just not use them.

![Screenshot 2024-07-21 201510.png](https://community.atlassian.com/t5/image/serverpage/image-id/336894i5FC56482CE5D7176/image-size/large?v=v2&px=999 "Screenshot 2024-07-21 201510.png")![Screenshot 2024-07-21 201857.png](https://community.atlassian.com/t5/image/serverpage/image-id/336895iC7E617076358E535/image-size/large?v=v2&px=999 "Screenshot 2024-07-21 201857.png")


author: Nicolas Grossi
body: [@smfr93](/t5/user/viewprofilepage/user-id/5548612) Welcome you might not be an administrator in all the places were you need to be ?

comments: author: smfr93
body: I have searched through all the settings, don?t what else to change.

![Screenshot 2024-07-21 201857.png](https://community.atlassian.com/t5/image/serverpage/image-id/336896iF808F0D36BF877E7/image-size/large?v=v2&px=999 "Screenshot 2024-07-21 201857.png")


Tags: cloud

jira-cloud

not-applicable

user-management
delete account
Asked by Dr_Win_ST:

How I can delete an account? I try to follow the step in the community but I always get the response that "your product is still remaining ..blah blah ... even I try to delete all products in that account.

Thank you


Answers:
author: Trudy Claspill
body: Hello [@Dr_Win_ST](/t5/user/viewprofilepage/user-id/5540247)

Have you referred to this documentation?

<https://support.atlassian.com/organization-administration/docs/delete-your-organization/>

Pay particular attention to the information about how long it takes. When you cancel your subscriptions they are not immediately deleted. They remain active until you next billing date, and then the data is held for a grace period, in case you have cancelled in error. Once Atlassian deletes your subscriptions the data is permanently gone. It can't be recovered. So they ensure you have adequate opportunities to change your mind.

comments: author: Dr_Win_ST
body: Thanks. I understand that condition but the problem is that it still shows the product still not be deleted. I tried to delete the product but the button remove or delete is inactive.


author: Trudy Claspill
body: Can you provide a screen image of what you see, obscuring confidential data?

At what point in the product subscription cancellation process are you blocked?

Which administration experience do you have in your site?

When did you delete/cancel the product subscriptions? When was the next billing date?

Have you removed all claimed domains?


Tags: cloud

jira-cloud
Product access
Asked by Ivonne Terrero:

ACP-520 prep - I was under the impression that product access is granded per product per site and now this question just confused me.   
Can someone please explain how one user access group can impact across multiple sites   

**Q: A single group may grant multiple product roles in the same product or multiple roles in multiple products across multiple sites.**

**The answer for this was True**


Answers:
author: John Funk
body: Hi Ivonne,

believe that would be true for Enterprise subscriptions.


Tags: cloud

jira-cloud
Update Capacity Tracker Days Off Field in JIRA through API
Asked by Gabriel Santana:

Hello, I am trying to see if there is a way to update the days off field in the Capacity Tracker in JIRA for an employee when time off is approved in our ATS. Is there an API call to be able to do this?


Answers:
author: John Funk
body: Hi Gabriel - Welcome to the Atlassian Community!

Looks like you have a Jira question. Going to move this over there.


Tags: cloud

confluence

confluence-cloud
Automation rule-change management - shows both success and "some errors"
Asked by Sridevi Mugundan:

In the SM project, I have turned on the below automation rule.

"When a low risk change management request is in review ? then move request to approved"

Now, when I create a change request and assign the risk as "low", the ticket status automatically moves from "awaiting CAB approval" to "Awaiting implementation" - As expected.

But, when we see the audit logs, there are two , 1 with success and 1 with "some errors"

Success states that -

[Approve/Decline request](https://birminghambank.atlassian.net/jira/servicedesk/projects/SM/settings/automate#/rule/6157533/491499902)

Issue approval has been completed for action

Approve

**Some errors** states that -

[Approve/Decline request](https://birminghambank.atlassian.net/jira/servicedesk/projects/SM/settings/automate#/rule/6157533/491499902)

**There was a problem performing approve/decline in Jira:**

**Issue was in a status where approval was not required**

**How to resolve this? Please help**


Answers:
author: Jack Brickey
body: Hi [@Sridevi Mugundan](/t5/user/viewprofilepage/user-id/5548369) , my first thought is that it is associated with the workflow for the triggering issue.

questions:

* can you provide a screenshot of your rule
* when you say "there are two..." do you mean there are two audit logs or one log showing a success and an error. If the former then it indicate there were two separate triggering events. Can you see if issue that triggered the rule is different in the two instances? If so what is unique about the two? Different issue types? Issues were in different statuses? Etc.


Tags: cloud

jira-cloud