youngmon/atlassian-qna huggingface dataset:
Block access to all spaces but one
Asked by Morten Birch:

Hi - I have one usergroup that only must have access to one space - and they need to be blocked to all others (both current and future) - but how can I set this up? - If I remove the default group - then they loos access to Confluence all together :-/

Any idea are welcome

<br />

Thanks

Morten


Answers:
author: Thomas Schlegel
body: Hi [@Morten Birch](/t5/user/viewprofilepage/user-id/226172),

for this, you need to create a new group: all users which should have access to all spaces.

Then you have to replace the default group in your space permissions with the new one.

Then, create a new group with the users which have access to only one space and grant permissions to the one space.

In short: don't use the default group for space permissions.


Tags: cloud

confluence-cloud
Problems encountered during the upgrade from version 5.7.4 to version 6.12.2
Asked by ???:

Cannot create space after successfully upgrading to the new version. Please see the screenshot for the error message. Front-end interface display: An unknown server error was encountered The background log information is: WARN \[http-nio-8090-exec-4\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. -\>\[PluginReadWriteTx\]: PROPAGATION_REQUIRED, ISOLATION_DEFAULT (Session #2038698970) -- referer: <http://10.26.10.20:8090/> \| url: /rest/create-dialog/1.0/space-blueprint/dialog/web-items \| traceId: d6965a9d14437657 \| userName: admin_local Please help the community gods to help me, paying users from China


Answers:
author: Sid
body: It seems to be caused by corrupted data in some template tables.

Solution:

1. Backup database
2. Shutdown Confluence
3. Delete tables:

```

DROP TABLE "AO_54C900_SPACE_BLUEPRINT_AO";
DROP TABLE "AO_54C900_C_TEMPLATE_REF";
DROP TABLE "AO_54C900_CONTENT_BLUEPRINT_AO";?




```

4. Clean plugin cache: [https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html?)Restart Confluence.

Make sure you take the backups to restore back if required

comments: author: ???
body: [https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html%C2%A0?_ga=2.64826284.2084445695.1547447878-896361012.1546941083)

This URL is missing


author: Sid
body: <https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html>
Atlassian Companion Startup Error
Asked by Stefan Ernst:

Hello,

whenever we try to launch the Companion App on a local machine, we get the following error. We are currently unsure where we should start looking for solutions. When I google the error, I see a lot of answers pointing to build environment issues.

Does companion do any sort of build process on first launch?

![Companion.PNG](/t5/image/serverpage/image-id/42327i24DB59025E2E0DD1/image-size/large?v=v2&px=999 "Companion.PNG")


Answers:
author: Shannon S
body: Hello Stefan,

Could you let us know what version of Windows you are using, and if the machine itself is a VM, thin client, or desktop machine?

How did you install the Companion MSI? If you try installing manually are you able to start it up?

Lastly, can you please check if the log file exists in the following location?

C:\\Users\\myusername\\AppData\\Roaming\\Atlassian Companion  

Regards,

Shannon

comments: author: Stefan Ernst
body: Hi Shannon,

there is no log in this location, the folder exists but its empty.

We are using Windows 10 Enterprise 2016 LTSB

The app got deployed via MSI and I am running without administrative rights on a desktop machine.

Manual install works on another machine with admin rights

Cheers

Stefan


author: Shannon S
body: Stefan,

Thank you for that. I see you actually raised the same issue with the same screenshots back in October, where you were going to check the issues with your deployment. What was the result of that investigation?

Since Windows LTSB is so locked down, I would expect there to be issues with installing Companion App on it. Could you tell me if you installing it normally as an .exe? What are your other deployment options?

Regards,

Shannon


Tags: companion-app

confluence-server

server
Others can not access my page. getting page does not exist error.
Asked by mrigendra singh:

Hi,

I have created a page under my home and the page is set with no restrictions at all. I shared my URL, also from within the confluence shared my page with colleagues, but they only get page does not exist error.

What could be the issue here. Is it possible that my current doesn't have the permission at all to view my pages. My confluence ID was created when I was under different group in same organisation. But i don't see any such mention in my permission or settings page.

Thanks


Answers:
author: Alexey Matveev
body: Hello,

Go to space space settings -\> permissions. And make sure that these users are granted the view permission either directly or via a group.

comments: author: mrigendra singh
body: Thanks. Basically in bottom left corner -\> Space tools -\> permissions to change permissperm.


Tags: permission
My JIRA license is expired - what's the last JIRA version I can upgrade to?
Asked by Kyeongsik Kim:

my jjira \& confluence license is expired.

Maintenance expires 21/Aug/17

so question is <https://confluence.atlassian.com/jirasoftware/jira-software-7-4-x-release-notes-902079634.html>

this is release at29 June 2017.

can i update to 7.4 ?

or i can't update any versions?


Answers:
author: Bastian Stehmann
body: Hi ,

welcome to the Community.

You can update to any version, that has been released before your Maintenance ends.

So yes, you can update 7.4.

comments: author: Kyeongsik Kim
body: thank you. I upgraded 7.4.3!


Tags: jira

licence

update

upgrade
Confluence shows different results to two users with same permissions
Asked by Roberto Osegueda:

We have an issue in our company where Confluence is showing different results for two users with the same set of permissions. It seems to be completely ignoring some pages with no restriction at all for one user and, at the same time, is ranking the results differently.

We can see this by doing explain.action like so:

<https://ourserver.com/explain.action?queryString=Test+query>

Even while ignoring some pages, the results are way different from one user to another. Why would it be so different if they have the same rights on the same spaces and the ignored page (or it's parents) doesn't have any restriction ?

Is there a user-specific setting in Confluence that could be affecting the results? We haven't tried re-indexing but it would same strange that the results would be different for two people, if the index is the same.

Thanks.


Answers:
author: Steven Ashley
body: -- comment not posted by me --

comments: author: Roberto Osegueda
body: -- Comment removed --


author: Roberto Osegueda
body: Thanks for the reply.

After some testing, we found out you can force Confluence to add those missing pages to the Index by simply editing the page and saving it, even if no content was added to the page.

This showed us that it was not a permissions issue.

This also makes me think Confluence has more than one Index and forces users to search on one index and one index only. Which is probably why one user could see the page in the results correctly and it was hidden for another user.

Rebuilding the Index fixed the problem.

Thanks.


author: Tobias Anstett _K15t_
body: Hi [@Roberto Osegueda](/t5/user/viewprofilepage/user-id/1210695),

In a vanilla Confluence two users with exactly the same permissions should have the same visibility of search results and order.

It looks like explain.action (was not aware of this action at all) uses either v2 or v3 search depending on some dark features. Nevertheless it is consistent for all users.

I would try to create a new space with those two users and and a chunk of pages and try a search limited to this space to see if you can reproduce the issue there as well. E.g

```
http://localhost:8090/dosearchsite.action?cql=siteSearch+~+%22Test+query%22+and+space+%3D+%22SPACEKEYHERE%22&queryString=Test
```

Usually issues like this are caused by inherited page restrictions - but you already checked this.

Best, Tobias
In the JIRA filter of confluence, the ?Target Version?of custom filed does not show up
Asked by Jenny Li:

We have a custom field "Target Version" in Jira. When we add a JIRA link to the confluence, this field cannot display the correct text, but only a series of numbers, such as 11936.


Answers:
author: Shannon S
body: Jenny,

I believe I have seen this issue in the past, and I suspect it may be the following bug, which is due for release in Jira 8.0:

* [JRASERVER-31977](https://jira.atlassian.com/browse/JRASERVER-31977) *xml view of custom field of multiversion picker type display version ID instead of version text*

You can see it was reported on the Confluence side below, but is caused by Jira:

* [CONFSERVER-32610](https://jira.atlassian.com/browse/CONFSERVER-32610) *JIRA Issue Macro shows the ID instead of the value*

Jira 8.0 will be released in the coming months. I would recommend when it is available, perform the upgrade, and if you continue to have the problem, please let us know!

Regards,

Shannon


Tags: jira
Copying Knowledge base articles in bulk
Asked by Luis Rodriguez:

I just want to ask if there is a way to copy articles in Knowledge base in quantity?

Basically we have a collection of articles in our main Knowledge base and we wanted to copy some of it on another Knowledge base. We know you could copy and link individual pages, but is there a way you could copy in bulk (ex. 6 at a time?)

Thank you for your help.


Answers:
author: Shannon S
body: Hi Luis,

I would recommend using one of the add-ons mentioned on the below article, or manually clone the space:

* [How to Copy or Rename a Space in Confluence](https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html)

Not all of the solutions are for copying an entire space, for example, Bob Swift's plugin lets you do a great deal with the command line interface, and this may be a good solution for you.

Regards,

Shannon


Tags: atl-adm

atlassian-marketplace

jira-service-desk
show data from side bar in tabular form like table
Asked by Mevi Dvash:

Hi

If possible User would like to get Confluence to show data from side bar in tabular form table with columns ,please advice   

Thank you


Answers:
author: Shannon S
body: Mevi,

What kind of data do you need to show in a table from the sidebar? Specifically the page tree? Please feel free to show us an example of what you are looking to do.

Regards,

Shannon

comments: author: Mevi Dvash
body: Shannon Hi

Thank you for getting back on this ,suppose i have a page tree and on each of this page tree i have one doc type word doc or something alike ,is it possible to display some content of item that was picked from the page tree?

if i am selecting one of the tree pages ,it will show the page with the doc within

now i would like some of this doc content to be shown on the page

is it doable ?

thank you in advance

Mevi


author: Shannon S
body: Mevi,

Let me see if I can understand your request correctly. Page Trees are a collection of pages within Confluence and their children, and do not contain any Word documents.

Therefore, I *think* that you maybe want to click on the page within the page tree, and if it contains a Word document as an attachment, also see some kind of preview of the Word document?

This exact workflow isn't possible in Confluence without you developing something in-house, but perhaps you would be able to include a [view file macro](https://confluence.atlassian.com/doc/view-file-macro-170494360.html) in the sidebar using markup?

Regards,

Shannon


author: Mevi Dvash
body: Shannon

Yes that is correct , i understand ,a [view file macro](https://confluence.atlassian.com/doc/view-file-macro-170494360.html?_ga=2.268965368.823441335.1548666441-1638527388.1547638445) is something i already tried

but you right might need to develop in-house ,but where can i find good samples

code for that ?can you point me to the right direction ?

thank you for your support

Regards

Mevi


author: Shannon S
body: Mevi,

You can create a [User Macro](https://confluence.atlassian.com/doc/writing-user-macros-4485.html) for this, but you need to be already familiar with coding in order to do so.

For further information, have a look at our [Confluence Server development documentation](https://developer.atlassian.com/server/confluence/).

Regards,

Shannon


Tags: atlassian-marketplace

confluence-server

server
Fresh installation of Confluence not working
Asked by Jira Bot:

Hi,

i have an fresh installation (empty) of confluence. I installed like this:

- installed debian 9 (minimal)

- installed mc, vim, postgresql-9.6

- added confluence database and confluenceuser

- downloaded the installer package (atlassian-confluence-6.13.0-x64.bin)

- installed with default settings

- opend localhost:8090

- configured database connection

- configured new empty site

- created administrator (admin, pass@word1)

- tryed to login on localhost:8090

**expected result:**

Confluence logs me in with admin, pass@word1

**actual result:**

- when using admin, pass@word1 confluence just asks me again for the password

- when using admin, garbadgepass confluence tells me that the password is not right

**Solutions that I already tryed:**

- restart server

- chown home and data directorys by confluence:confluence again

- start confluence as root user

- reinstall confluence again (3 times)

- reinstall server again and install confluence again

What am I doing wrong? Or is confluence not compatible to debian 9?


Answers:
author: Jira Bot
body: I solved the Problem by using another Browser.

The Browser which was not working was "Firefox 64.0.2 (64-Bit)".

The curroius thing is, that now after once logging in with Microsoft Edge I now can also login with Firefox. Very wired. Maybe someone from Tech-Team want to check with my report if he can reproduce this error with Firefox?


author: Nic Brough -Adaptavist-
body: What does the log file say the error is? \<confluence home\>/log/atlassian-confluence.log

comments: author: Jira Bot
body: Nothing, just that the login page was called and served.


Tags: confluence-server

server
How to get off the Improvement plan
Asked by Jozua Haumann:

Hi,

I've been selected for the latest round of product improvement testing. The page layout button is no longer available which is completely ruining the way I use Confluence.

Does anyone know how I can get off the "trial" or can anyone recommend another tool?

Thanks in advance.


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid that your choice of Cloud means you signed up for getting new features automatically. There is no "trial" or "improvement plan" - the changes are part of the service, and you can only opt-out of the features Atlassian choose to give a "turn off" flag to.

comments: author: Jozua Haumann
body: Hi Nic,

Thanks for that. I should have mentioned I work with Clould products everyday and kinda already knew that.

Please refer to - [https://confluence.atlassian.com/confcloud/new-navigation-and-a-new-look-for-confluence-881536766.html.](https://confluence.atlassian.com/confcloud/new-navigation-and-a-new-look-for-confluence-881536766.html.?) Some users have been selected for a new "experience".

The new look comes with loads of white space and supposedly time saving features. For me however, I can't seem to find any of the newly promised benefits. Also, when using a 30" monitor I don't need anymore white space. They must be targeting phone and tablet users!?

I've used Confluence since 2008 and always liked how simple yet powerful it was. It will be interesting to see adoption of the new look in the corporate sector...


author: Nic Brough -Adaptavist-
body: Roll-outs of new features are not targetted at a group like that. It's the opposite, the aim is to cover a sample of all users so that they get it tested by everyone who might use it all differently. If there are no howling great bugs reported by any type of user, the feature is then rolled out across all Cloud systems, usually within 4-6 weeks.


Tags: cloud
How to create a Developer Diary in Confluence Cloud
Asked by Chris:

I have been trying for quite a while to create a developer diary in Confluence.

I want to be able to record things like

* development activity
* test results
* observations
* ideas for future work.

It was something that is fairly easy to do on paper and I could do it the same way in Confluence but I'd like to be able to use some of the power of Confluence.

I did try ProjectDoc when when we were running our own server but I found it quite clumsy.

I see there is a "Diary for Confluence' add-on in the marketplace. It seems like it does exactly what I want but it is only available for server.

It looks like I will have to develop macros and templates myself to do the job but I'm wondering if anyone has done anything like this or could provide any ideas about how to go about it.


Answers:
author: Fabian Lim
body: Hi Chris,

I would check if the new templates meet your needs here: <https://www.atlassian.com/software/confluence/templates>

The other option would be to create your own template add it as a global templare, and use it for new entries: <https://confluence.atlassian.com/doc/create-a-template-296093779.html>

Regards


Tags: atlassian-marketplace

cloud

confluence-cloud

development

documentation
Macro/Plugin to assign new documents with a unique reference number
Asked by Serdar Mustafa:

General overview:  
The plugin creates a Macro, that can be used to assign new documents in Confluence with a unique document number.  

Macro would do something like this:  

IR -- Incident Report:  
The structure of the document number is:  
XX-YYYY-dtDDHHMM where dt = Document Type  

Functional limitations:  
The document number is to be generated on initial save of the document and should not update if changes are made at a later time.

Any ideas how I can achieve this?


Answers:
author: James Dellow
body: The Create from Template macro does allow you to insert the date into the title, although this is limited to YYYY-MM-DD. However, users can easily overwrite this.

But what's your use case here?

Out of the box, Confluence knows what a document is first created - the only thing that isn't part of the standard meta-data would be what you call the document type, since everything is a page (or a blogpost).

You may be able to develop something to do this, using development features such as Webhooks, Custom Content types, and custom Content Properties.

But equally you might achieve the same using default macros, like the Page Properties and Page Properties Report macros to track document type.

comments: author: Serdar Mustafa
body: Use case - It would be used to assign a unique reference number to a document in the existing company format. Think along the lines of a case or doc reference number you might see on a headed letter (see example below).

![angl-9oktyabrya_business_letters_3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/42559i99CEDBC489BA9FDB/image-size/large?v=v2&px=999 "angl-9oktyabrya_business_letters_3.jpg")


author: James Dellow
body: If you are tied to the existing format, then the only way I can think of achieving this is as I outlined above.

An easier option for a unique reference number would be to use the Page ID.


author: Serdar Mustafa
body: Thanks for the guidance James. I will look into the template option you mentioned.


author: Nic Brough -Adaptavist-
body: Not on Cloud, there's no way to add the sort of macro you would need.

comments: author: Serdar Mustafa
body: Thanks for your insight - I am exploring the possibility of writing a plugin; should I progress with it, I will post the solution here.


Tags: cloud

confluence-cloud

javascript
Is there a way to have the API recognize markup in the POST /rest/space request?
Asked by Emily Kern:

I'm trying to get lots of files that have Confluence markup onto a site. The markup does not copy/paste successfully, but putting it through insert --\> markup works and allows the markup to properly display.

Since I have over 1,600 files to upload, is there a way to use the create space (POST /rest/space) request so that it knows to recognize the content as markup?


Answers:
author: Tobias Anstett _K15t_
body: Hi [@Emily Kern](/t5/user/viewprofilepage/user-id/2505844),

If you want to script it using REST API, you could use

`POST /rest/api/content?status=current&expand=body.storage`

with the body set to:

```
{"type":"page","title":"Wikimarkup Page",
"space":{"key":"YOURSPACEKEY"},"body":{"storage":{"value":"*bold* -strikethrough-","representation":
"wiki"}}}'
```

doing so my example content *\*bold\* -strikethrough-* was transformed by Confluence to

```
<p><strong>bold</strong> <span style=\"text-decoration: line-through;\">strikethrough</span></p>
```

in the page storage format in creation :)

Best, Tobias

comments: author: Emily Kern
body: Thank you for your response, but I am not sure if I understand. I am looking to use the Confluence markup, not any other markup.

So I do not need new markup generated, I just need a way for whatever page or space I'm creating/importing to to recognize the Confluence markup so that content displays properly.

Unless, in the not unlikely event I completely misunderstood, using the storage format and perhaps retrieving it makes page/space recognize Confluence markup better?
How can we get rid of disclaimer message when using a Pivot table in Confluence? See details below
Asked by Abe_Roba:

We noticed that there is disclaimer message showing when using the Pivot table tool from the Table Filter and Chart "Only currently displayed rows of the table can be filtered, aggregated and visualized." It takes up a lot of space and it is annoying. Does anyone know how to get rid of the message.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Abe,

You can [custom CSS](https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html) to your Confluence instance to hide this message:

```
<style>
.tfac-pagination {
 display: none;
}
</style>
```

![2019-01-14_13h24_14.png](https://community.atlassian.com/t5/image/serverpage/image-id/42340iD63910C88A51E076/image-size/large?v=v2&px=999 "2019-01-14_13h24_14.png")


Tags: confluence-server

server