youngmon/atlassian-qna huggingface dataset:
How to stop the permission for not deleting comment on Confluence
Asked by CHO:

I want to set the permission for the comment can only be added but cannot be deleted, no matter the comment is created by me or anyone. So in Space Tools, I add comment only, but I did not check delete comment, not check delete own. However, the comment I created can still be deleted by myself. Isn't that strange? Or did I set up wrong for the permission? Plz help. TKS! ![2018-02-14_12-14-24.jpg](/t5/image/serverpage/image-id/14848i14EC5AC373A49177/image-size/large?v=v2&px=999 "2018-02-14_12-14-24.jpg")


Answers:
author: GG
body: Check out Ultimate Permission Manager app. It will explain you why you or any user can or cannot do something in Confluence.

<https://marketplace.atlassian.com/plugins/hu.metainf.plugin.confluence.ultimate-permission-manager/server/overview>

Here's a sample for how comments delete permission is explained by UPM:

![](https://marketplace-cdn.atlassian.com/files/images/b45f535a-0eb9-48a1-8765-624318f10122.png)


author: Fazila Ashraf
body: Hi Cho,

Is your permission overriden some way because you are part of confluence administrators group or similar?

Could you test this with another user who doesnt have any special permission?

Thanks and regards,

Fazila

comments: author: CHO
body: Hi Fazila,

TKS for your prompt reply. Yes, I am confluence administrator. But I create another group and account to test the comment function. And the screenshot I attached is the permission for my test group and account. Do u have any idea?

Best Regards,

Cho


author: Matthew Howe
body: Cho,

Did you find out what is causing this problem? I am experiencing the same behavior with a test account (no admin privileges) while testing a Confluence upgrade.

Test user does not have delete own, or delete comment permissions but the account is still able to delete its own comments.

Thank you,

Matthew
Can't Log In To Confluence/Bamboo As Admin After resetting user in database
Asked by Christina Ferreri:

I can't access the admin account on the Confluence Internal Directory. I followed the instructions (link below) to reset the credentials for the admin account, but I'm still not able to login. The account was previously working, but stopped when I was doing a number of things to update the SSL certificate and the server.xml connection to a new keystore.

<https://community.atlassian.com/t5/Confluence-questions/Confluence-administrator-locked-out/qaq-p/139356>

INFO \[http-bio-443-exec-21\] \[confluence.security.login.DefaultLoginManager\] recordLoginFailure  
Failed login attempt for user 'admin':

<br />

INFO \[http-bio-443-exec-11\] \[confluence.security.login.DefaultLoginManager\] recordLoginFailure  
Failed login attempt for user 'admin':

<br />

WARN \[http-bio-443-exec-8\] \[atlassian.seraph.auth.DefaultAuthenticator\] login login : 'admin' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.

<br />

INFO \[http-bio-443-exec-8\] \[confluence.security.login.DefaultLoginManager\] recordLoginFailure  
Failed login attempt for user 'admin':  

Thanks in advance.


Answers:
author: Guilherme V.
body: Hi Christina,

Do you know if the 'admin' user is a member of any 'can use' group?

You can check with the following query:

    select u.id, u.user_name, u.active from cwd_user ujoin cwd_membership m on u.id=m.child_user_id join cwd_group g on m.parent_id=g.id join cwd_directory d on d.id=g.directory_idwhere g.group_name = 'confluence-administrators' and d.directory_name='Confluence Internal Directory';

If the 'admin' is appearing to you, ensure that you have reset his password to 'admin':

    update cwd_user set credential ='x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A=='where id=<id from Stage 1>;

(!) Don't forget to replace the *\<id from stage 1\>*of the above query.

If you are still unable to login, check if the Confluence Internal directory has the '0' value:

    select d.id, d.directory_name, m.list_index from cwd_directory d join cwd_app_dir_mapping m on d.id=m.directory_id;

More steps in [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?)

comments: author: Christina Ferreri
body: It was the list index! I'm not sure how that would have changed, but I was able to set the Internal directory back to 0 and voila! Thanks Guilherme!


author: Christina Ferreri
body: The same options in the database don't apply to Bamboo. I can log in as an admin through a Jira login, but not the internal admin. This would be helpful if we ever end up having to reset our Jira servers and lose connectivity. So far, I reset the password in the users table to the string above, but it didn't work. There aren't any cwd tables. Do you know how to get Bamboo to use both the user in the users table and the Jira users?


Tags: bamboo
Which software to download for upgrade
Asked by Doug Kozar:

We have JIRA and Confluence running on our own CentOS server.

We are ready to make our first upgrade. What do we download?

* Server copy? or
* Data Center copy?

And,

* Linux 64 bit? or
* TAR.GZ Archive?

Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: Probably server. If you have only one server, then definitely server.

For Jira, check if you are running Jira Core, Software and/or Service Desk. If you have Software, use that one (even if you also have Service Desk)

Linux 64 bit will give you an installer, which is a better option for upgrades.

Finally, check your versions first - you may need to step through some (e.g. do not go from Jira 6.4 to anything higher than 7.0)

comments: author: Doug Kozar
body: Ok, thanks [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454). We are running JIRA/Confluence standalone on 1 server. I figured Server / Linux 64 bit was the one, but just wanted to confirm as I step through my first upgrade and document my process.

BTW, are you saying not to go straight to 6.7.1? I posted the other day about that exact path and was told I could go straight to 6.7.1 --\> <https://community.atlassian.com/t5/Confluence-questions/How-best-to-approach-upgrading-Confluence/qaq-p/726200>

Your thoughts on the upgrade path?


author: Nic Brough -Adaptavist-
body: You haven't said where you are starting from, so I don't know.

But for Confluence, any version of 6 can go straight to 6.7. If it's 5.something, I'd recommend going to 5.13, then 6.0 then 6.7, but I'd actually try a 5.high (5.10+) straight to 6.7 - it can work fine.


author: Doug Kozar
body: Right, I thought you might have looked at my link...we are on 6.3.1 for Confluence [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)


Tags: jira

upgrade
Active Directory User Deleted, Personal Space Pages Disappeared
Asked by Patrick Chen:

Hello,

We're running Confluence 5.10.1 with a MySQL database. We use a Microsoft Active Directory connection, read only, for our user directory population.

Recently, a user left the organization and we deleted their account from Active Directory. This seems to have made their Personal Space inaccessible, 404 error when using direct links to pages they had created in their Personal Space.

Researching the issue, I found this guidance <https://confluence.atlassian.com/confkb/personal-space-disappears-after-removing-user-from-ldap-294486514.html> and attempted the workaround of creating a local user in Confluence Internal Directory with the same username as the user deleted from Active Directory.

However, this workaround was not successful. After creating a local user with the same username, it was possible to access the homepage of the user's Personal Space and actually see the edits they had put there, but none of the pages that had been created in the user's Personal Space prior were restored or made re-accessible through direct URL links.

Looking at the MySQL database, I did a search for CONTENTID's that had a SPACEKEY of the user, and it did turn up many results. However, I am not deeply knowledgeable of Confluence database structure so I don't know what I might be able to do to retrieve these pages, if that is still possible through the database.

Any assistance/guidance for recovering these pages from the user's Personal Space would be greatly appreciated. Thank you.


Answers:
author: Thomas Deiler
body: Dear [@Patrick Chen](/t5/user/viewprofilepage/user-id/701656),

Confluence saves ids for user names. You would have been successful, if the local user have had the same id as the deleted account.

I have no solution for your problem but some thoughts:

* find out the user id of the deleted user and create a news active directory user with this id.
* have a look at the XML backup of the whole site. Modify the ids to an active user (internal) and re import on a second instance. Then export this personal space only and import to main site.
* try the [Rest API browser](https://developer.atlassian.com/server/framework/atlassian-sdk/using-the-rest-api-browser/): eventually more information is dropped with full admin privileges.

So long

Thomas


Tags: ldap

space
How do I create a new Macro
Asked by Ronald Evans:

I want to create a Hello World macro. I tried following the link below, but I could not complete step 1. I could not find the "**User Macros**" section.

<https://confluence.atlassian.com/doc/writing-user-macros-4485.html>

Thanks!


Answers:
author: Shannon S
body: Hi Ronald,

You'll need to be a system administrator of a Confluence Server instance in order to write User Macros.

Can you confirm that you are indeed and that this isn't regarding a Cloud instance or that you only have Confluence Administrator permissions?

Regards,  
Shannon

comments: author: Ronald Evans
body: I created a developer page following the instructions on the developer "Getting Started" page: <https://developer.atlassian.com/cloud/confluence/getting-started/>

Can I test Macros in this environment?

Thanks,

Ron


author: Shannon S
body: Hi Ronald,

That document is to help you to develop an add-on for the Cloud environment and does not include User Macros.

User Macros are a [Restricted Function](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html) of the Cloud environment and thus it will not be possible to test them on Cloud.

That said, it's pretty quick to set up a [Confluence Server](https://confluence.atlassian.com/doc/confluence-setup-guide-135691.html) evaluation instance, and you can even use the embedded database there if you're only testing with it. I would recommend that if you want to test writing User Macros.

Let me know if you have any questions.

Regards,  
Shannon
Como Remover usu?rio do Grupo
Asked by Osmar Junior:

Como fa?o para acessar as propriedades do grupo, para remover usu?rio, editar configura??es do grupo, fiz a migra??o do hipchat para o Stride e estou meio perdido


Answers:
author: Shannon S
body: Hi Osmar,

I'm going to reply in English since this is an English-language forum. Thank you for your understanding.

Could you let me know what version of Confluence/Jira you're using? If you let us know that, then we can tell you where you can make these changes.

If you're on a Server version, it would depend on what you're using to manage your users, but we can give you the basic instructions for your instance version.

As for migrating from Hipchat to Stride, we have an upgrade guide here:

* [Guide to Upgrading from Hipchat to Stride](https://www.stride.com/help-center/upgrade-guide)

If you have more questions about that I would recommend asking a question in the Stride collection.

Regards,

Shannon


Tags: jira
restricting pages even from Administrators
Asked by sn:

Hi all,

users of Confluence 5.10 server.

My team is the administrators to Confluence and we have restricted creating spaces to just our team ( for now) and providing users with Space Admin right as needed.

There is a case where one team wants to store passwords and only very limited users be able to view these pages.. If we restrict even the space admins, Confluence admins, what happens when there are issues with the space and admins cannot get into them to fix it.

thanks !


Answers:
author: Igor M.
body: Hello,

If you are members of the built-in confluence-administrators group, then it's impossible to restrict any space or page from this group, as this group is a special group [Global Permissions Overview](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html#GlobalPermissionsOverview-supergroup)

So as long as you have an account in that group, you can't remove permissions from this account.

If you do want to restrict admins from certain sensitive pages, you need to create a separate group and move them there, remove them from confluence-administrators give it space admin permissions and then that group can be restricted from access to certain pages.

Hope this is clear, if not, let me know

Regards,

Igor

comments: author: Nic Brough -Adaptavist-
body: Although, even if you restrict them, they can still give themselves access.

Igor uses the word "impossible". It is the right word here. If you need to hide things from your Confluence System admins, you need to do it by storing the data in another system that they don't have access to.


author: Nic Brough -Adaptavist-
body: Whilst you can restrict pages, an admin can always change the restrictions, as they can't do their job without that right.

So, no. Keep your passwords in proper password safe software.


Tags: confluence-administration
Filter Task reports
Asked by Fredrik Salovius:

Hi

Is there a way to filter task reports so it does not include tasks on a page with a certain label? or if it can include tasks from pages that have a certain combination?

For example if one page have the lables 'checklist' and 'active' and another page (with tasks) only have the 'checklist' label then it should only include tasks on the first page and not the second.

Kind regards

Fredrik Salovius


Answers:
author: Shannon S
body: Hi Fredrik,

This is not currently possible, but we do have a feature request for this:

* [CONFSERVER-52784](https://jira.atlassian.com/browse/CONFSERVER-52784)

We are still gathering interest at this stage, so it would help if you can vote on the request and comment there with your usage case.

Let me know if you have any questions about it.

Regards,

Shannon

comments: author: Fredrik Salovius
body: Thank you for the response, to bad its not possible at the moment.

I will start watching this issue. In the meantime i might need to work around it.


author: Shannon S
body: Hi Fredrik,

I am not personally aware of any workarounds for that, but if you do find one, or perhaps another user may be aware of how to work around it, they can comment on this thread.

Regards,  
Shannon


Tags: task-report-macro
Access to our Confluence Cloud by Atlassian staff
Asked by Jon Blower:

Recently we had a support issue with our Confluence Cloud instance, and a member of Atlassian staff edited some things on our site to test things out.

This got me thinking - is all of our Confluence Cloud content fully accessible to Atlassian staff? Can we use permissions on Spaces to prevent this? Or is self-hosting the only way to achieve full privacy?

(I'm sure the Atlassian staff are all very trustworthy! ;-) It just got me thinking about the visibility of our information.)


Answers:
author: AnnWorley
body: Hi Jon,

Self hosting is the only way to achieve full privacy. Please see: [Cloud Security Statement](https://www.atlassian.com/trust/policies/cloud-security)
> Our global support team maintains an account on all cloud systems and applications for the purposes of maintenance and support. This support team accesses hosted applications and data only for purposes of application health monitoring and performing system or application maintenance, and upon customer request via our support system.

Please let us know any follow up questions.

Cheers,

Ann


author: Nic Brough -Adaptavist-
body: By default, the Atlassian account is a System Administrator.

If you do not use the System Admin group or that Atlassian user in your permissions, then no, they do not get to see anything other than the system settings.

But, as system administrators, they can **always** give themselves access (although it's only Atlassian Cloud support people, not the whole company, of course)


Tags: confluence-cloud
Just updated to 6.7.0 from 5.10 and have a page load error with a general message
Asked by Eliza Jamison:

![wikierr.PNG](/t5/image/serverpage/image-id/14775i19E56FED10F679E0/image-size/large?v=v2&px=999 "wikierr.PNG")

There is a javascript issue somewhere but do not know where to start. I cannot upgrade until this is resolved.


Answers:
author: Christo Mastoroudes _Adaptavist_
body: It could be an application that is not compatible.

Try safe mode to see if it is indeed an application issue. <https://confluence.atlassian.com/upm/disabling-and-enabling-add-ons-273875716.html>

It could be some custom javascript. You could look at the developer tools -\> console tab of chrome to see if there are any javascript errors, perhaps you will see some clue.

Look for custom javascript in the Confluence Administration -\> Custom HTML section.

There could also be custom javascript on the "Edit site layout" section

comments: author: Eliza Jamison
body: I just opened it up in Chrome and the error does not exist. Just in IE and Firefox. Being a government person we are big IE proponents.

I happen to know there are absolutely no customizations on this site. All totally default and as originally installed.


author: Christo Mastoroudes _Adaptavist_
body: In that case I would open a ticket with Atlassian directly, seems like it might be a bug.
Product Improvement Suggestion
Asked by Doug Kozar:

Not sure how to make a suggestion to Atlassian development team for a minor improvement suggestion so here goes:

Add a capability to set \`target="_blank"\` attribute on web links. Currently all links open in same tab. It would be great to have the capability to open links in new tabs from within JIRA.

Thank you for considering.


Answers:
author: AnnWorley
body: Hi Doug,

Please vote or comment on the existing suggestion ticket to emphasize your case to the development team. [Provide the ability to create a link in Confluence that will open in a new tab](https://jira.atlassian.com/browse/CONFSERVER-34088)

The Jira instance linked above is set up so you may create a suggestion if you like in the future. Bugs need to be validated by support first but suggestions are open to all.

Cheers,

Ann

comments: author: Doug Kozar
body: Thank you [@AnnWorley](/t5/user/viewprofilepage/user-id/502040)


author: AnnWorley
body: My pleasure, Doug. :)


Tags: link
change of language in Jira ?
Asked by Zuzana Kanellos:

Hello,

how can I change language to english from German in Jira, my confluence account is in english.

mant thanks


Answers:
author: Thomas Schlegel
body: Hi Zuzana,

you can change the language in your profile. Just click on

http://\<your jira url\>/secure/ViewProfile.jspa if you have server

https://\<your jira url\>.atlassian.net/secure/ViewProfile.jspa if you have the cloud version
Can JIRA Free Text fields be used as reportable fields in a Pie Chart?
Asked by Dena McClure:

I want to use a JIRA field that has been specified with the Free Text Searcher Search Template in JIRA as a reportable field in Confluence when creating a Pie Chart using the Pie Chart macro. Unfortunately, the field does not show up in the Statistical Type menu, so I cannot select it. Is there a workaround for making a Free Text field reportable?


Answers:
author: Nic Brough -Adaptavist-
body: Not natively because free-text fields are by definition free-text. They're not expected to hold limited options from a pre-set list, they're intended for data that in a pie chart would simply return a chart made up of slices of 1 item (one for each issue)

If you're willing to code, script or use add-ons, there are ways you could get around this, like parsing a text field for what you're interested in and setting a select list to the right value, and there are some things that can do some form of translations that subtly ignore this.

But the real answer is to use a select list instead.


author: Andrey Khaneev _StiltSoft_
body: Hello Dena,

You can use [Jira Issues](https://confluence.atlassian.com/doc/jira-issues-macro-139380.html) macro to output the table with issues and this field and then use [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro) macro ([Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on) to create a pie chart. Possibly, you'll need to use [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) macro to count number of each value of the Free Text field.
Cannot Start Confluence
Asked by Andrew Golodyaev:

Hello everyone!  
I installed Confluence ver 6.7.1 on centos 7  
I started daemon, it work well

But when I open web-page in a browser I see a error

### Cause {#toc-hId-1593246913}

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)  

What I need to fix?


Answers:
author: Thomas Deiler
body: Dear [@Andrew Golodyaev](/t5/user/viewprofilepage/user-id/1186985),

the user in this [post](https://community.atlassian.com/t5/Confluence-questions/Confluence-installed-on-Ubuntu-after-2-days-running-confluence/qaq-p/725341#M97548) has the same error message like you.

Does this [article](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html) help you?

So long

Thomas

comments: author: Andrew Golodyaev
body: I've uninstalled application and cleared all data.  
After reinstall it is worked well  
Thank you so much for your help.
How to Create, Update and Delete a USER using Rest API(any other way) in Confluence Cloud?
Asked by Selvaraj Karuppusamy:

Hi,

I am not able to find any proper document for doing Create, Update and Delete operation for integrating users into Confluence Cloud. I can only get the user details using the URL mentioned below.

<https://example.atlassian.net/wiki/rest/api/user?accountId=test123>

Please provide me with a document or an URL for doing the same or give me a confirmation that confluence cloud does not support these operation.

I need the solution for Confluence Cloud


Answers:
author: Nic Brough -Adaptavist-
body: There's some useful references as to why it is this way, and why a lot of functions will never be available over REST over at [https://confluence.atlassian.com/jirakb/user-management-rest-api-changes-in-jira-cloud-858756548.html](https://confluence.atlassian.com/jirakb/user-management-rest-api-changes-in-jira-cloud-858756548.html?) (It's because the accounts do not belong to the Cloud site any more, they belong to the users)


author: Thomas Deiler
body: Dear [@Selvaraj Karuppusamy](/t5/user/viewprofilepage/user-id/1187011),

Delete (Remove),Create and Update are experimental for the Server API. See the [API reference](https://docs.atlassian.com/software/jira/docs/api/REST/7.7.1/#api/2/user-updateUser).

Create and Remove are experimental for [Cloud API](https://docs.atlassian.com/software/jira/docs/api/REST/1000.1609.0/#api/2/user-createUser). Update is not a available.

So long

Thomas

comments: author: Rokesh Lakshmipathy
body: Thanks for the quick reply but I need the solution for confluence cloud/Atlaasian. I am not looking for Jira API reference.


Tags: api

confluence-cloud

rest-api