youngmon/atlassian-qna huggingface dataset:
Which permissions allow you to add users?
Asked by Jeroen Thoelen:

Is it possible to give the rights to someone (f.e. scrum master) to add users, without giving him full admin rights?

Thanks!


Answers:
author: Sebastian Kleinholz
body: There are two admin levels possible. The one includes system functionality like backup/restore the other one lacks this ability, but both can add users. :)

On the other hand this user is also able to remove/disable accounts. :/

Possible way around this is to enable new uses to create there own account for the first login. As soon as the user is in Jiras internal DB anybody who can administer a project can add this new user to a role within your project.

One other soution is to shift the user managenent outside Jira. LDAP e.g. then adding a user to an external group (that is assigned to a role in your project) will grant the new user access to your project.


Tags: jira

permission
Can I create shapes / arrows?
Asked by Eric Brahmann:

Within Office Products, you can create shapes and arrows

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

Within Confluence I do not see this option.

To be clear, I do NOT mean Flowcharts or similiar like described in this Thread:

<https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-I-draw-shapes-in-Confluence-wiki/qaq-p/571015>

Just a simple arrow as Markup between two pictures on a Confluence Page.

Best regards,

Eric


Answers:
author: Regina Hochecker
body: would like that too!


author: Sana_Iqbal
body: i also have same problem i want to add shapes in word document in confluence please tell any workaround


author: Sagi Amar
body: We're interested in this as well


author: Domenico Manzo _Actonic_
body: As a workaround (which not require any add-ons) you can use "Symbol"

![2018-01-23 11_27_58.png](https://community.atlassian.com/t5/image/serverpage/image-id/13098i46A9DFDC0AE40CAB/image-size/large?v=v2&px=999 "2018-01-23 11_27_58.png")

![2018-01-23 11_29_32.png](https://community.atlassian.com/t5/image/serverpage/image-id/13099i24B6B76D58C67861/image-size/large?v=v2&px=999 "2018-01-23 11_29_32.png")

comments: author: Eric Brahmann
body: Thx for the idea, but this is not what i am looking for. See Screenshot attached![2018-01-25 10_04_51-Nice! - Microsoft OneNote.png](https://community.atlassian.com/t5/image/serverpage/image-id/13289i71DA6F499E748DFB/image-size/large?v=v2&px=999 "2018-01-25 10_04_51-Nice! - Microsoft OneNote.png")


author: shabrad
body: Something we'd like to be able to do too


Tags: diagram
How to determine number of unique users accessing Confluence via annonymous access?
Asked by Lucy Corral:

We have a Confluence instance that allows anonymous access by default. The instance is accessible only from the intranet. I'd like to determine the number of unique users accessing the Wiki via anonymous access.

Icing on the cake would be if I could determine other user statistics, such to the last time a given anonymous access viewed a page and which pages where viewed.

In summary I'd like to answer the following questions

1. How many people are using anonymous access to view Wiki
2. What pages are those people viewing
3. How often they use this access.

Any ideas are most appreciated


Answers:
author: Nic Brough -Adaptavist-
body: You can't do it in full. The best you can do is run Confluence behind a proxy with the user logging enabled, so that you can capture people hitting pages, but you simply can't identify people from it. You can get some from a session (if a particular session id is used repeatedly, you can be pretty sure it's the same person), but each new session is different, and you'd mostly be guessing. I could visit today from home, tomorrow from work and then the day after from home again (I have a dynamic IP, so I'd look as though I was elsewhere), with different sessions, and possibly with different browsers. You would struggle to id me. That's the point of anonymous - you don't.

You will be able to get the page urls and volume of hits on each over time from it though.

comments: author: Lucy Corral
body: Thanks Nic. I was afraid that would be the case.

Analyzing one of the access logs turn 338 unique IPs. Those are the IPs that have accessed Wiki since Sunday morning. Several of those IPs don't resolve to anything in DNS making tracking them nearly impossible.
How do I change the text in the status box?
Asked by Syrene Tanagras:

For example, in the status column if the status is green, a green box appears with the text "Green" inside the box. How do I change this text to say "Completed" or if it's yellow change the text to "WIP"?


Answers:
author: Mikael Sandberg
body: You can edit the macro by clicking on the macro placeholder and select Edit. Have a look at <https://confluence.atlassian.com/doc/status-macro-223222355.html> for the parameters you can set on the macro.

comments: author: Syrene Tanagras
body: thanks Mikael. Edit only allows a chance for one line item at a time. Is there a way to change it for several items on my page. For example, if I have several tasks that are green, I only have to change the text for one green box to say "Completed" and it will change the rest. Is this even possible?


author: Mikael Sandberg
body: No, that is not possible. I did a quick search on Marketplace to see if there was an app for it, the closest one I found was this one, [Handy macros for Confluence](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.handy.macros/server/overview). Not sure if it can do what you are looking for.


author: Max Foerster - K15t
body: Unfortunately it is not possible, but you can easily copy \& paste the status macro if you haven't discovered this possibility yet. So maybe that helps a bit if you're reusing the same text.


author: Andrey Khaneev _StiltSoft_
body: [Handy Status](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Status+macro) macro is close to your needs. You can either

* Switch status (select one from a given set) in the page view mode. [Try it here](https://demo.stiltsoft.com/display/HM/Handy+Status?os_username=guest1&os_password=guest1&pagepropertiesreport.serverrender).
* Change the status globally for all macros in status settings. [See settings here](https://demo.stiltsoft.com/users/status-macro.action).


author: Dmitry Mironov
body: Handy status macro is what you are looking for.

If need free solution - edit status macro on each status change.
How to search macro content in Confluence?
Asked by Michael Caron:

I developed a text macro for Confluence that displays a number in a particular way on the page. I want to be able to search for this using standard confluence search, but it doesn't seem to be indexed or searchable. Is there something missing that would enable this?


Answers:
author: Max Foerster - K15t
body: Hi Michael,

I came across an old blog post of Bob Swift talking about making included pages searchable on the page where they are included with his Cache for Confluence app.

That is the [blog post](https://ffeathers.wordpress.com/2011/05/15/making-the-include-macros-content-appear-the-confluence-search-results/). Maybe this is helpful in a way? Would be great if you keep us updated if you can solve this as I can think of 1-2 use cases myself.

Best,

Max

comments: author: Michael Caron
body: I'll certainly let you know, Max. I haven't tried the Cache solution yet and not sure if that's what we want either.
Confluence - MS Word Images not appearing after Confluence Upgrade
Asked by Thomas B:

Hello everyone,

After upgrading Confluence Server 5.9.5 to 6.6.0, I am coming across an unusual issue with all of my MS Word documents. Using the MS Word macro to display word documents on the screen is working fine but any word documents that were existing before the upgrade, do not display the images within the word document. All text, bullet points and numbering is still displayed... everything except images. To fix this issue, I have to open each MS Word document and make one simple edit. Making an edit allows all images to re-appear and we are good to go. Problem is, I have over 5000+ MS Word documents with this same issue.

All in all, no information is lost but the MS Word images are failing to appear unless I edit the document and save. Any suggestions?

I don't see many others with this issue.


Answers:
author: Fabienne Gerhard
body: Hi [@Thomas B](/t5/user/viewprofilepage/user-id/744438)

did you find a workaround for that? We are having a similar problem... not so many documents but really don't want to to edit all of them.


Tags: confluence-administration

confluence-app

confluence-server

ms-word

questions-for-confluence
Is it possible to change Saml configurations via script?
Asked by b:

Hello,

we use SAML 2.0 Single Sign-On for Confluence (bitium) with Confluence 5.10.8.  
Is it possible to change Saml configurations via script, CLI or Rest API on confluence backend server? We want for example enable or disable the option "Force SSO login" .  
Thanks  
Vimalavong  


Answers:
author: b
body: Unfortunately I can't find the settings in the database and also in files.  
Where are the settings written?

comments: author: Lars Olav Velle
body: [@b](/t5/user/viewprofilepage/user-id/244304)

It took me about two minutes to find the settings in the database. Here is what I did:

Installed the add-on.

"Configured" it with some values that i could later search for.

I set the UID Attribute to "blablabla"

Dumped the datbase "mysqldump -p jiradb \> /tmp/jiradb.sql"

grep blablabla tmp/jiradb.sql

Found the table: propertystring "INSERT INTO \`propertystring"

Amswer: The settings are found in the database: table propertystring

-Lars


author: b
body: Hi Lars,  
the settings were finally found in the database:  
at Confluence:  
select \* from BANANA where bandanakey like '% saml%';  
at Jira:  
select \* from propertyentry where property_key like '% saml%';  

Thank you for your help,  
Vimalavong


author: Lars Olav Velle
body: Hi [@b](/t5/user/viewprofilepage/user-id/244304)

I guess the setting would either reside in the database or in a file on the server, so my guess is that this is possible to script.

-Lars

comments: author: b
body: Hi @Lars Olav Velle,  
I also suspected that. But I need the info as I can access it.  
Maybe someone has already done that.  


Tags: saml
Installing confluence after service desk, how do I configure PostgreSQL?
Asked by Matt DeLaCruz:

I've installed Service Desk/Core and used the default names used in the instructions (jiradb and jiradbuser)

The instructions give the same database name and database user for Confluence. Yet, I've read that the databases must be separate. What about users?

Is it ok to install both applications on the same server?

I'm not very familiar with SQL databases. Thank you.


Answers:
author: AnnWorley
body: It's fine to install Confluence and Jira both on the same server. I would make a dedicated db user for Confluence and one for Jira. Here are the SQL server setup instructions for Confluence: [Database Setup for SQL Server](https://confluence.atlassian.com/doc/database-setup-for-sql-server-9258.html) and Jira: [Connecting JIRA applications to SQL Server 2012](https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-sql-server-2012-938846858.html) and [Connecting JIRA applications to SQL Server 2014](https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-sql-server-2014-938846861.html)  

<br />

comments: author: Matt DeLaCruz
body: Do those links translate for using PostgreSQL?

Also, separate DB users but also separate databases? Thanks for your quick reply!


author: Matt DeLaCruz
body: Oops, found the answer to my own question here:

<https://community.atlassian.com/t5/Questions-for-Confluence/database/qaq-p/588659>

Thanks again!


author: AnnWorley
body: Sorry Matt, I missed the title of your post and thought you were using MS SQL. Please see: [Database Setup for PostgreSQL](https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html) Best of luck, let us know any questions. :) Ann


Tags: atlassian-support

database

install

postgres

user
Is it possible to create pages with full permission without having an account in confluence
Asked by Manoj Nambiar:

Is it possible to create pages with full permission without having an account in confluence


Answers:
author: Nic Brough -Adaptavist-
body: It is possible to grant the special permission "anonymous" in a space. This allows people who have not logged in to create and edit pages.

It is usually a bad idea to allow this, as you won't have any idea who creates or edits your content in that space.

Never put an anonymous-write Confluence on the internet either, keep it locked up within your organisation's firewalls, or it WILL be attacked and used for spam.

comments: author: Manoj Nambiar
body: Thank you for your response very helpful.


author: Krisztian Kovacs
body: Hi there,

what do you mean by full permission?

If you allow 'anyone' to create pages, you don't have to have an account but that usually leads to spam as without an account there is nothing to stop anyone (even robots) to create pages.

I may not understand your question though, would please explain it again with a bit more details.

Cheers

comments: author: Manoj Nambiar
body: Thank you for your response.Since it's going to be an anonymous user I was of the opinion that user can only create a page and won't be able to modify or delete since it would not be a best practise.


author: Nic Brough -Adaptavist-
body: Create and Edit permissions are the same thing in Confluence. Delete can be controlled separately.
Enabling system add-on confluence mobile
Asked by Nadja Agreiter:

Hello everyone,

last week, I disabled the system add-on "Mobile Confluence Plugin" on our test instance, to check, how the mobile view changes, if you do so. Today I wanted to enable it again to test the add-on "RefinedMobile for Confluence". Unfortunately it fails evertime and I get the note: "An error occured. For further information check the protocols."

Where do I look for those protocols?

Greedings

Nadja


Answers:
author: Nadja Agreiter
body: Hey everyone,

in the mean time I found the solution in the Version section of the plugin <https://marketplace.atlassian.com/plugins/com.refinedwiki.confluence.plugins.mobile/server/versionhistory>

You have to enable the add-on "Workbox Host Plugin" that disables inadverently. When you enable this one, you can enable "Confluence Mobile Plugin" and "RefinedMobile for Confluence".


author: Stephen Deutsch
body: Hi Nadja,

I think you're looking for the Confluence log file:

<https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html>

These will be stored on the server that runs Confluence.

comments: author: Stephen Deutsch
body: You may also consider adding this add-on app to your Confluence to make downloading the log easier:

<https://marketplace.atlassian.com/plugins/net.artemissoftware.confluence.plugins.tools.log-downloader/server/overview>


author: Nadja Agreiter
body: Thanks for the advice. I will have access to the log files tomorrow (our system administrator ist already at home). In the mean time I'm thinking about deinstall the testversion of "RefindeMobile for Confluence" to check wether that makes a differents, but I'm not sure, if I loose the test licence as well, if I do so. Any experiances with that?


author: Krisztian Kovacs
body: Have you tried to restart Jira? (it's silly but sometimes it's just works)

comments: author: Nadja Agreiter
body: Hey Krisz,

this problem appears with Confluence.

But I restarted Confluence this morning - no differents. I hope the log files will help.


author: Krisztian Kovacs
body: Sorry, my bad, I was thinking of confluence :o


Tags: app

enable

mobile
How can i download an Excel from Page with Rest API.
Asked by Mahesh Pawar:

I have tried successfully updating an excel attachment in conflunecn page using

""#REST Call in Python

headers = {  
'X-Atlassian-Token': 'nocheck',  
}  
files = {  
'file': (filePath, open(filePath, 'rb')),  
}  
data={"comment":"testing rest"}  
response = requests.post('http://conflunec server:port/rest/api/content/pageID/child/attachment/attachmentID/data', data=data,headers=headers, files=files, auth=('username', password))

""

But can i download the same Excel using REST api calls??

\*Confluence version 6.3.3.


Answers:
author: Mahesh Pawar
body: hey Thanks Ann,

I do have found the Solution..goes like this

""

import requests,os;  
response = requests.get('http://conflunec_server:port/download/attachments/attachmentID/attchment_Name.xlsx',  
auth=('username', password'))  
file=open("NewFile.xlsx","w");  
file.write(response.content);  
file.close();

"""'

comments: author: AnnWorley
body: I appreciate your letting us know - it could help the next person who wants to download an attachment using the API.


author: AnnWorley
body: Hi Mahesh,

I understand you can update an Excel attachment using REST but you would like to know how to also download an attachment from Confluence using REST. Please see: [confluence pages - get attached files via REST API](https://community.atlassian.com/t5/Answers-Developer-Questions/confluence-pages-get-attached-files-via-REST-API/qaq-p/529873) As there are a couple of strategies described there.

Cheers,

Ann


Tags: rest-api
how to remove comments tab from confluence page
Asked by Anju S:

how to remove comments tab from confluence page. I am using [Atlassian Confluence](http://www.atlassian.com/software/confluence) 5.8.18 version.

I have tried to include the below script in HTML Comment Macro, however it did not work.

    <script type="text/javascript">AJS.toInit(function(){AJS.$('#comments-section').hide();}); for (var i=0; i<nr_li; i++) {    // if the element has the class fom 'clasa' parameter    if(tags_li[i].getAttribute('class') == 'innerCell'){         tags_li[i].style.overflow = 'visible';            //tags_li[i].style.overflow-y= 'visible';    }     }</script>


Answers:
author: Max Foerster - K15t
body: Hi,

I can recommend this free app called [HideElements for Confluence](https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.hideelements-macro/server/overview). You can easily hide lots of elements for a page.

Best,

Max


author: Christo Mastoroudes _Adaptavist_
body: Hi,

I think you could do this with just CSS. Have a look here: <https://community.atlassian.com/t5/Confluence-questions/Can-you-Delete-the-Comment-Section-on-Certain-Pages/qaq-p/45498>

![Screen Shot 2018-01-22 at 10.21.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/12998i886B7AC4407CBEF6/image-size/large?v=v2&px=999 "Screen Shot 2018-01-22 at 10.21.16.png")

Space Tools -\> Look and Feel -\> Stylesheet

```
#comments-section {
   display:none;
}
```

If this answers your question, please mark it as solved.

comments: author: Bill Bailey
body: Are you wanting to remove the comment section below the page, or inhibit the ability of a user to add inline comments?

And only for one page, or space wide?
Two functional users in Confluence can't be deactivated
Asked by Arno van Hemert:

I have two functional users in Confluence which I want to deactivate by deleting their autorization roles. When I try to delete them I get the message:

* Could not remove user 'tester' as a member of group 'SG_IN_O365_EMS'. Check your server logs for more information

In log I find the next message. Who knows what to do now?

2018-01-22 08:45:14,413 ERROR \[http-nio-443-exec-54 url:/admin/users/removeuserfr...oup.action username:avhemert \] \[bucket.user.DefaultUserAccessor\] removeMembership Failed to remove 'tester' as a member of 'SG_IN_O365_EMS'  
-- url: /admin/users/removeuserfromgroup.action \| traceId: 0b2f851ec0ddccdf \| userName: avhemert \| referer: <https://documentation.vitalhealthsoftware.com/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=SG_IN_O365_EMS> \| action: removeuserfromgroup  
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationNotPermittedException: com.atlassian.crowd.exception.ApplicationPermissionException: com.atlassian.crowd.exception.ReadOnlyGroupException: Group \<SG_IN_O365_EMS\> is read-only and cannot be updated  
at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager.removeMembership(EmbeddedCrowdGroupManager.java:219)


Answers:
author: Christo Mastoroudes _Adaptavist_
body: Hi,

I think you have a clue in the log.

Looking at the stack trace it seems that the user you want to remove is part of a group that is read only.

com.atlassian.crowd.exception.ReadOnlyGroupException: Group \<SG_IN_O365_EMS\> is read-only and cannot be updated.


Tags: group

user
Is text within image searchable?
Asked by Eric Brahmann:

Hi all,

i inserted screenshots of an Document within a page and I am asking myself, if the text within this image is searchable (as in Microsoft OneNote for Example)

Best regards,

Eric


Answers:
author: Stephen Deutsch
body: Hi Eric,

There was a feature request for this: [CONFSERVER-34294](https://jira.atlassian.com/browse/CONFSERVER-34294), but unfortunately it was closed. You might consider leaving a comment/voting for this issue, because if there is enough interest, Atlassian might consider implementing it and/or a plugin author might implement something.

comments: author: Eric Brahmann
body: thx, i can not vote (it is disabled) but left a comment!


author: Bill Bailey
body: What is the source of the image? And what format are you saving the image when you attach it to a Confluence page?

If you create "images" as PDFs, then that text would be searchable.

comments: author: Eric Brahmann
body: Usally i am using the Shortcut Win+shift+s (One Note Shortcut for screenshots) and I send it directly to my clipboard. Then I paste it in Confluence using strg+v -\> so it is a png.file.

When using Greenshot, it is a png file as well.

Creating a pdf is a nice idea, I did not think about that .... it will take some extra cklicks (about 30s - 1 min more per Screenshot) so if you have time ..... it would work ....or is there a fast way?


Tags: image

search
How to make the site logo bigger?
Asked by Timo Notonica:

Good morning,

I?ve noticed that the general site logo inside a confluence wiki cannot be higher than 48px. For our company logo this is just too small and I want make it a bit higher/bigger. In best case I want to be free to change it in every height I want per CSS. So is there any solution or easy workaround to make this possible for me?

We are using the Refined Theme. But the maximum logo height is required by the confluence global administration panel and not within the theme configuration. So I think another theme will not change anything.

Thank you for help.

Best regards  
Simon


Answers:
author: Sharon Hinde
body: Glad you solved it Simon


author: Sharon Hinde
body: Hi Simon,

You can try to do this with some custom CSS

```
.aui-header .aui-header-logo img {
?? ?max-height: 30px;
}
```

Refined Wiki have instructions for how to add custom CSS when using their theme <https://docs.refinedwiki.com/display/FAQ/Style+the+theme+with+custom+CSS>

Sharon

comments: author: Timo Notonica
body: Hi Sharon,

thank you a lot for your answer.

I recognized too that there is a possibility to change custom css and I?ve already tried but it didn?t work. So I needed a bit of time to understand that there is a global theme for the whole intranet and just a complete other "category theme" inside the category I am working in to change the logo style. Changing the global custom css doesn?t change something on a special category theme. It only affects to the global theme.

After a while I?ve seen that the changes are already working in the main theme so first of all I had to change the category theme back to the global theme and now I can use some custom css to style it.

Problem solved!

Have a nice day :)

Simon


author: Patrick Dalton
body: Hi Simon,

Is there any chance you can run me through how you set managed to do this? I'm a bit confused and don't have much knowledge with CCS.

Thanks


Tags: css

layout

logo