youngmon/atlassian-qna huggingface dataset:
confluence showing "unknown attachment" for attachments which was already uploaded
Asked by vivuu:

Hi , I tried uploading one doc in confluence and , it was a revised version of existing doc and saw this is showing as "unknown attachment " as given in the screenshot. Its reflecting everywhere and in some pages attachments seem to be still available (via the Attachments link on the page) for some of the issues. In some other , it is not accessible from the Page Attachments link --therefore it is effectively missing. Please tell us a resolution as its highly escalated by the customers


Answers:
author: Gonchik Tsymzhitov
body: Hi!

have fixed my the same errors using these scripts:

<https://bitbucket.org/atlassianlabs/confluence-support-fix-missing-attachments>

Please, before do it, let's make backup you system.

Cheers,

Gonchik Tsymzhitov


author: Thomas Schlegel
body: Hi Vivek,

do you have a self-hosted version of Confluence or Confluence Cloud?

comments: author: vivuu
body: yes, its conflluence self hosted version - 5.10.0


author: Thomas Schlegel
body: do you see any errors in the logfile? Could you please add the screenshot you mentioned in your question?


author: vivuu
body: we cant upload the attachment here no option is getting


author: Thomas Schlegel
body: use the small camera icon in the editor:

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


author: vivuu
body: ![22222.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/6097i4B4FF8507FCD8B61/image-size/large?v=v2&px=999 "22222.PNG")![no image.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/6098i2C85DFAF0176B6A0/image-size/large?v=v2&px=999 "no image.PNG")


author: vivuu
body: attachment folder has sufficient permission on with application account and have enough storage on the directory also. But still the same issue


author: vivuu
body: Any suggestion here?

Still the issue persists


author: vivuu
body: Hi Thomas,

Any suggestion here.
Accessing the page tree
Asked by ????? ???????:

Hello. I had to give the user group read access to an individual page tree. This group should not see the entire space. How do I implement this?


Answers:
author: ????? ???????
body: Can't you turn off restriction inheritance for certain pages? I understand that an inherited 'all-forbidden' restriction has a higher priority than permission on pages below the hierarchy?

comments: author: Nicolas Seronvalle
body: You can't turn off inheritance. If a user can't view the parent then it can't view the child neither.


author: Nicolas Seronvalle
body: Hi,  

You can add view restrictions on the pages that are "confidential". It means that only certain users/groups can see the pages (and the child pages because view restrictions are inherited).  
You can find documentation [here](https://confluence.atlassian.com/doc/page-restrictions-139414.html)  

comments: author: ????? ???????
body: So, to solve my problem, you have to put restrictions on all pages of the space, giving you rights to all the members except the desired group?


author: Nicolas Seronvalle
body: That's it.  

Imagine you have group A and B. Both groups have view rights to the space. If you want only group A to see some pages then you have to put restrictions on that pages so only group A (or some specific users) is authorized to view it.  

<br />
Adding Issue Link to Confluence Page Via Rest API
Asked by Graham_Hudson:

Hello, I am a customer on jira cloud,

<br />

right now when you paste a issue link into a confluence page the macro takes it and links it to jira. In the jira issue you can see it says "mentioned in \<Page Name\>" with a link to it.  

I am using rest API's to create confluence pages, I am looking to add in this exact functionality while I am creating the page.  

I have tried this Confluence Wiki format:  
{jiraissues:key=S555555-4}

{jira:key=S555555-4} (same result)

This didn't work, while it does show up on the confluence page as expected, the issue doesn't say that it was "mentioned" as expected.

I found this page...  
<https://confluence.atlassian.com/confcloud/confluence-storage-format-724765084.html>

I think the macro section at the top is what I need, but it seems I don't have quite enough rights to see the "View Storage Format" on the \*\*\* bar, so I can't find the information I need to make that work.  

If anyone could help me that would be great.  

I kinda have a work around if need be, but it would be nice if there was a simple soultion to this.  

Thanks,


Answers:
author: Graham_Hudson
body: This is for anyone who needs this:

```
<ac:structured-macro 
   ac:name=\"jira\" 
   ac:schema-version=\"1\" 
   ac:macro-id=\"ce876bed-eeb4-4592-9255-a3a216c1d507\">
     <ac:parameter ac:name=\"server\">System JIRA</ac:parameter>
     <ac:parameter ac:name=\"serverId\">YOUR-SERVER-ID</ac:parameter>
     <ac:parameter ac:name=\"key\">YOUR-ISSUE-KEY</ac:parameter>
</ac:structured-macro>
```

This worked great for me, also, you need "administrators" rights on your account to see it, "confluence-admin" was not enough. And the button to "View Storage Format" was found on the page NOT the edit page.

comments: author: Luke Salvoni
body: Graham - this is genius, thanks for sharing!

I really hope Atlassian document this someday!


Tags: api

rest-api
Can I restrict an unlicensed service desk user to their linked space(s)?
Asked by ryanjaeb:

I'm using trials of self hosted JIRA Service Desk and Confluence. I installed them and linked them. After that I did the following:

* Add **UserA** and **UserB** to the service desk. Remove them from all groups so they're not using any applications. They don't add to my agent count.
* Add project **ProjectA** (call the portal **PortalA** ).
  * Add organization **OrganizationA** as a customer for the project.
  * Add **UserA** to **OrganizationA**.
  * Limit requests to customers that are added to the project.
  * Enable unlicensed knowledge base access for project.
  * **Space ProjectA** is created in Confluence for me automatically.
* Repeat the previous step for **ProjectB** , **OrganizationB**, etc..

This works almost like I'd expect. I can log in as **UserA** and access **PortalA** . If I try to access **PortalB** access is denied. However...

My projects have the keys **CUSA** and **CUSB** . **Space ProjectA** has the URL ++localhost:8090/display/**CUSA**++ . I can visit that URL, authenticate as **UserA** , and access **Space ProjectA**.

The problem I have is that while I'm logged in as **UserA** I can change the URL to ++localhost:8090/display/**CUSB**++ and I get access to **Space ProjectB**. Is there a way I can restrict an unlicensed service desk user to their linked space(s)?


Answers:
author: AnnWorley
body: The behavior you report is expected per our docs, but it is not ideal.

The [documentation](https://confluence.atlassian.com/servicedeskserver031/serving-customers-with-a-knowledge-base-802164866.html) says:
> Customers can view knowledge articles in the global help center, and in Confluence if they're provided with a direct link.

That means if they change the link with another space as in your example, they can access any space with unlicensed access enabled.

We have a suggestion open to add permissions for unlicensed users:

[Add ability to configure permissions for unlicensed users](https://jira.atlassian.com/browse/CONFSERVER-43592)

It sounds like that is what we need to limit your users to the kb spaces that correspond with what you have linked in Service Desk.

The suggestion is public-facing so you may vote and comment on it if you want to emphasize your use case. If you vote or comment you will be notified of any progress on the suggestion.


Tags: jira-service-desk
Unable to add user to a page - restrictions
Asked by Meghann Ripper:

I have a Community and the person has an active account. I now want to provide access to a specific page using restrictions however I continue to get "No matches found".  
I can add other active users to the page.


Answers:
author: Thomas Schlegel
body: Is the user able to see the rest of the space?


author: Meghann Ripper
body: Hi Thomas,

It is possible, I just saw Jira all over everything so just assumed.

Thanks


author: Thomas Schlegel
body: Hi Meghann,

do you mean Confluence, since I don't know, to which page in Jira you are referring to ?


Tags: jira
Hide restricted icons from sidebar in "new look" Confluence
Asked by Susan Ostreicher:

Hello,

Apologies if this has already been answered somewhere.

In the new look Confluence, there are some icons in the sidebar for restricted functions. For example, in our space:

- No one has permission to add a blog post, including administrators. But the blog icon is visible for all users. When a user clicks on it, they see the "GOT SOMETHING TO SHARE?" page, but there's no action they can take.

- Only administrators have permission to view the Analytics for Confluence Cloud plugin. But this icon is visible for everyone. When a user clicks on it, it goes to a blank page.

If I remember correctly, we could hide these icons in the old Confluence experience, to avoid frustrating our users who can't use them. Is that not possible in the new look?


Answers:
author: Shannon S
body: Hi Susan!

1. In order to report this to the development team, can you test a few things for me:
2. When you click the button to create the blog post, what happens? Does it actually allow the user to create a post?
3. Can you test with a non-admin user and let me know the same? I assume your user is an admin so I'd like to check both.

The issue with the Analytics is an add-on problem, and we'll need the provider of that add-on to help look into that issue. I've tagged their name on this question.

Thank you for your help!

Kind Regards,  
Shannon


Tags: confluence-cloud
I cant buy Confluence
Asked by Marcelo Fernandes:

#### "Well, this is embarrassing. {#toc-hId-1368931712}

Our ordering system is currently unavailable."

This is the message that pops up when I try to buy confluence.

Please fix it and send me an e-mail;

Thanks.


Answers:
author: Shannon S
body: Hi Marcelo,

To proceed, can you please try clearing your browser cookies and cache, or try a different browser and let us know if you're still having the problem?

As we are aware, the site should be up and running as normal.

Kind Regards,  
Shannon


author: Marcelo Fernandes
body: Still buggy, cant buy it by any means.![Selection_039.png](https://community.atlassian.com/t5/image/serverpage/image-id/5482i2BCDCC119E951671/image-size/large?v=v2&px=999 "Selection_039.png")


author: Nic Brough -Adaptavist-
body: Try it again, Atlassian monitor this stuff and try to fix it as quickly as possible.
PDF Stylesheet not working in v6.3
Asked by Anna McDonald:

My company just upgraded one of our Confluence sites to v6.3.1 and I now notice that my PDF customizations are no longer being applied to PDF exports, regardless of whether it is a single-page or multi-page export. My stylesheet is a heavy modification of the one located here:

<https://confluence.atlassian.com/conf56/files/658736968/658932609/1/1409526208450/confluencedefaultpdf.css>

Please do not tell me my company needs to pay for another plugin because we are getting fed up with that unecessary business practice.

We need to be able to apply company colors to headings and tables, and we must be able to build in adequate spacing around tables and images.

Is there a new stylesheet out there? I cannot find one.


Answers:
author: AnnWorley
body: Here is a link to the PDF stylesheet documentation for Confluence 6.3.x: [Customize Exports to PDF](https://confluence.atlassian.com/conf63/files/929728767/929728768/1/1499640321084/confluencedefaultpdf.css)

There is a link to a new stylesheet there but an online diff checker didn't find any differences.

Please let me know:

* Since the upgrade, have you had a look at the stylesheet to see if it is still there?
* Is the stylesheet applied on particular spaces or globally?

comments: author: Anna McDonald
body: Thanks for your help, Ann. The PDF stylesheet is definitely in each space for which I want customized formatting on PDFs, so it should be applied in those spaces. Considering how heavily modified my stylesheet is, I might just start over with the fresh copy you provided and work in the modifications again to eliminate any syntax issues. I will provide an update here. Thanks!


Tags: css

custom-field

export

pdf
Stupid question - where is the tab to create a Macro in Confluence?
Asked by uttermann@apple.com:

<https://confluence.atlassian.com/conf53/adding-editing-and-removing-user-macros-411108913.html>

This help site gives instructions, but when I navigate to the "Confluence Administration" page, as instructed, there is no option to "**Create a User Macro"**

I am the adminstrator for this site.


Answers:
author: Nic Brough -Adaptavist-
body: Are you on Cloud? You can't create user macros on Cloud.
Central Repository linking to all files
Asked by sam maka:

I am setting up confluence as a document repository. Inside each document there will links to images, word docs, and other documents. I want to be able to change any document and content or image in one location and then have any confluence document with links be able to access automatically the updated object. In summary; I want to hv all objects(images and others) in one location and then any confluence link on the left sidebar be able to open a document or template where where the links update automatically


Answers:
author: Susan Ostreicher
body: Hi Sam,

Have you considering storing your images and documents outside of Confluence, and linking to them from pages in Confluence? For example, you could use Google Drive, OneDrive, or DropBox to manage your files, and use a plugin to link to those files inside of Confluence. That would let you update the files in one place and have all the links updated automatically.

comments: author: samir
body: Thanks Susan for you reply and suggestion. I think this is one good option. I had originally thought that using Confluence I cld crate a space or repository and keep everything in one system.


Tags: file

link

questions-for-confluence
Confluence tasks having multiple assignees
Asked by RVal:

I would like to be able to assign task to multiple assignees on Confluence page. I know that you can list multiple people with "@name" notation but only the first user mentioned there is notified and task only added to this user task list.

I found there is a pending suggestion in Atlassian bucket to implement it: <https://jira.atlassian.com/browse/CONFSERVER-26786> but I thought may be someone has found a plugin to work around it or may be I could create my own plugin if I can access user Task List programmatically.

Thank you for your advise.


Answers:
author: Ana Retamal
body: Hi! I've asked around to some colleagues and we're not aware of any plugin that can do that. If you're using Confluence Server you might be able to get a plugin for that functionality with the help of a developer.

Also, don't forget to vote for the Feature request you mentioned above, to increase the popularity of that ticket and make it more likely to be implemented.

Best regards!

Ana


Tags: confluence-app
Jira and Confluence - Detecting Confluence change in Jira
Asked by Roberto L:

Hello Community,

I have been trying to find a way to detect a change in Confluence from Jira?  
I want a certain event to trigger in Jira when something is modified in Confluence.

<br />

Could this be done?

-Roberto


Answers:
author: Aron Gombas _Midori_
body: IMO out of the box this is not possible.

You could implement a listener in Confluence that listens to the page changes, then either calls a JIRA add-on (possibly via the REST API that the add-on publishes) that triggers the custom event you mentioned.


Tags: adaptavist

event

jira
How can I put a link on a Confluence page that points to an HTML page on the file server?
Asked by Randy Cieslak:

We have Confluence 6.06 installed locally on Windows. We use Chrome 59.0.3071.115 and IE11 on Windows 7 desktops.

I would like to put a link on a Confluence page that points to an HTML file on our file server.

I notice that there is a similar question in the Confluence help, but it did not work for me. Here is that link:

<https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790>

That page suggests having a link that looks like this: file:///server/share/etc, with three slashes after "file:". If I use two slashes instead of three, that URL will bring up the file in my browser. However, if I put that URL in a link on a Confluence page, the page doesn't come up with I click on the link. If I right click and choose to open the page in another tab, the page that comes up is an "about:" page that is blank.

Please help.


Answers:
author: AnnWorley
body: Please also check out Ted's answer here:

[Confluence: How to place a link to a file on a server share in a confluence page?](https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790#M84981)


author: Mikael Sandberg
body: Try using file://///unc/path/to/folder/file as the link. If you are using IE11 it will open up the file automagically. For Chrome you need a plugin for it to work, some of my users downloaded this one, <https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpida>. Note that this plugin does not work in incognito mode.
How do I remove adchoice from my confluence page?
Asked by Matthew Oehler:

![Screen Shot 2017-08-30 at 9.46.00 AM.png](/t5/image/serverpage/image-id/5450i6027B073F1D2931A/image-size/large?v=v2&px=999 "Screen Shot 2017-08-30 at 9.46.00 AM.png")The above image shows I guess what is an adblocker on a Confluence page. Apparently another employee had an adblocker and this popped up on their page, but it shows for everyone. They have since removed their add blocker, but the item still remains. I have clicked on the "x" on the main screen and in edit mode, but nothing. The Adchoice also is not in any section, so I can not remove the scetion it is in. Any suggestions?


Answers:
author: Nic Brough -Adaptavist-
body: It's not something Confluence has in it natively. So it's either your browser, or an add-on. Have a look at the list of add-ons you have.

comments: author: Matthew Oehler
body: Thanks
Pivot Table displaying list of items
Asked by BLANC Philippe:

Hello,

I'm not if my request is feasible or not.

I have a table (resulting from Jira issue macro).

\|Resource\|Week\|Issue Summary\|

\|developer1\|W34\|BugFix 1\|

\|developer1\|W34\|BugFix 2\|

\|developer2\|W35\|BugFix 3\|

I would like to transform my tableto a double entries table as following:

\|Resource/Week \| W34 \| W35 \|

\|developer 1 \| Bug Fix 1 + Bug Fix 2 \| \|

\|developer 2 \| \| BugFix 3 \|

So, objective is to communicate a sort of timeline to my management. I know there are some plugins available for Jira, but they are not free...

Thank you for your help.

Philippe


Answers:
author: Aron Gombas _Midori_
body: You could try to [generate the pivot table](http://www.midori-global.com/products/jira-better-excel-plugin/documentation/pivot-tables) using the Better Excel Plugin (JIRA app), then attach the resulted XLSX file and [display it](https://confluence.atlassian.com/conf56/displaying-office-files-in-confluence-658736949.html) with the Confluence feature.

comments: author: BLANC Philippe
body: Hello Aron.

Thank you for your feedback. I'll have a look to Better Excel plugin. This solution presents two main drawbacks: addtional license to pay + the process is not automatic (if I well understood).


author: Aron Gombas _Midori_
body: As Better Excel Plugin has an [API](http://www.midori-global.com/products/jira-better-excel-plugin/documentation/api) and it even has [automation capabilities](http://www.midori-global.com/products/jira-better-excel-plugin/documentation/automation) to save the XLSX file to the filesystem, it should be fairly straightforward to implement a script that gets the XLSX file and attaches to a Confluence page.

(And yes, it is a paid add-on.)


author: Andrey Khaneev _StiltSoft_
body: Hello Philippe,

You can do it with [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on's [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) macro, but this add-on is paid too.

comments: author: BLANC Philippe
body: Hello.

Thank you for your feedback.

I have these plug-ins installed on my server. But maybe I'm stupid I don't see how to do this. The only computations' available for pivot table are sum/average/min/max. There is nothing to list the field values.

Philippe.


author: Andrey Khaneev _StiltSoft_
body: I see now you want to show each issue, bun not count of issues, right? Do you want to see issue key or issue summary or something else?


author: BLANC Philippe
body: Yes exactly :)

The best should be issue summary.


author: Andrey Khaneev _StiltSoft_
body: Hello Philippe,

The new version 3.12.0 of Table Filter and Charts add-on provides a capability to use [Literal operation](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro#HowtousePivottablemacro-UsingtheLiteraloperationforgroupingvalues) in Pivot Table macro. You can try it, this should be exactly what you need.