youngmon/atlassian-qna huggingface dataset:
Is there any way how do I restrict users to view assigned issues only?
Asked by Megan Davis:

I want users to view upcoming assignments that I will be grading.


Answers:
author: Jonathan Smith
body: Hi [@Megan Davis](/t5/user/viewprofilepage/user-id/2136503),

How are you displaying the assignments? Are these in various meeting note pages, 1 big table?

1) In Confluence, users can view open tasks by clicking their profile icon at the top right, and choose tasks. If you used the **task** and **@mention** functionality, those open "assignments" will appear on the person's task page.

2) You can also use the "My Tasks" macro to show off user's tasks on a different page.

3) If you are capturing this content in a table, you can utilize the **status macro** to give the assignment a "green" status. The table filter macro would be a nice edition to the table because you can set the default status to "green" so people see those items when loading the page.

Hope this helps!


author: Gary Pasquale
body: Hi [@Megan Davis](/t5/user/viewprofilepage/user-id/2136503),

Is this a Confluence question or are you referring to Jira Issues?

Regards,

Gary
Ah roadmap is not appearing as a 'other' macro
Asked by Paul Nolan:

Hi, I have Confluence and admin rights.

I have added the the Aha! roadmap widget to my account.

When I go to edit my Confluence page I cannot see the Aha macro as an object to embed?

Q: Why?


Answers:
author: AhmadDanial
body: Hello, Paul.

I would like to understand the question that you have here a little better by reproducing it on my end and get the documentation \& Atlassian Marketplace page where you obtained the add-on / integration from.

Can you please provide me with the details so that I can test it? Additionally, can you please let me know if you are using Confluence Cloud / Server?

comments: author: Paul Nolan
body: Hi there, it turns out the app I wanted to use was incorrectly listed as a Cloud based version when it was actually server based i.e. a .jar file

So...I managed to find another supplier and embed their app directly onto my Confluence page.


author: AhmadDanial
body: Hi, Paul.

Happy to know that the issue is solved on your end. Let me know if you have any other concerns that you would like to address. Thanks!


Tags: aha
Turning on Getting started guide
Asked by ben:

Hey, I accidentally turned off 'getting started guide' (steps) in confluence. I accidentally hit "x" instead of the link, which removed the steps I could follow to get started.

Does anyone know how I can it back?


Answers:
author: Ang?lica Luz
body: Hi Ben,

I've tried to restore the "Getting Started" on Jira and Confluence, but there is no option to undo this action.  
As a workaround, you can check the documentation below that has the same steps as the Getting started guide:

- [Get started with Confluence Cloud](https://confluence.atlassian.com/get-started-with-confluence-cloud/get-started-with-confluence-cloud-934720141.html)

Hope this helps!

Regards,  
Ang?lica


Tags: cloud

confluence-cloud
Confluence fails when running as a service
Asked by prelecdev:

Hi

1:

When setting Confluence up as a service and restart the server, the service cannot start up.

When I manually run startup_bundled_jre.bat it starts up ok

2:   
I cannot see how i can assign access to Confluence to specific users? (i share user directory with Jira). Only a subset in the beginning should have Confluence license.

<br />

/Jesper


Answers:
author: prelecdev
body: Ok it looks like it is working now... it was the java path

![1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35171i1186AAC0F81381AA/image-size/large?v=v2&px=999 "1.PNG")

comments: author: JP _AC Bielefeld Leader_
body: Hi,

are you using a different Java version than the one bundled with Confluence? There's no need for a separate Java installation on your server. I strongly recommend using the version the Atlassian distributes with the package installer.

Best

JP


author: prelecdev
body: Hi Jan-Peter  
No but for some reason the service parameters did not point itself to the java boundled with confluence - so i cound this command where i could then point it to confluence java runtime..

Thanks for your feedback!!

/Jesper


author: prelecdev
body: In the Tomcat log i get this error:

\[2018-10-17 10:37:53\] \[info\] \[ 3040\] Commons Daemon procrun (1.1.0.0 64-bit) started  
\[2018-10-17 10:37:53\] \[info\] \[ 3040\] Running 'Confluence' Service...  
\[2018-10-17 10:37:53\] \[info\] \[ 3168\] Starting service...  
\[2018-10-17 10:37:53\] \[error\] \[ 3168\] Failed creating Java  
\[2018-10-17 10:37:53\] \[error\] \[ 3168\] ServiceStart returned 1  
\[2018-10-17 10:37:54\] \[info\] \[ 3040\] Run service finished.  
\[2018-10-17 10:37:54\] \[info\] \[ 3040\] Commons Daemon procrun finished


author: JP _AC Bielefeld Leader_
body: Hi Jepser,

can you get any information from the windows event log? Maybe the service user is missing some user rights (Log on as service).

There should be a local confluence group "confluence-users", which is configured to allow access to Confluence. Add users to this group to give them access (and a license). The admin should be added to the "confluence-administrators" group.

Best

JP

comments: author: prelecdev
body: The Confluence service is running "local-system" which also Bitbucket and Jirs does. So i cannot set the "log on as service" on a user.

I get this error in the event log:

The Atlassian Confluence Confluence service terminated with the following service-specific error:  
Incorrect function.


Tags: confluence-server

server
Update "alarm" for Confluence pages
Asked by Ekaterina Kessner:

Hi everyone,

is there a feature or a plugin for Confluence to set some sort of a periodic "alarm" for a page so that the author, who sets this alarm for herself gets a notification, which after viewing the page for which the alarm was set, would be "switched-off" until the next time.

The goal is keeping the information up-to-date.

Any ideas are welcome,

Regards,

Ekaterina


Answers:
author: Bill Bailey
body: Well if you are open to a paid plugin, you could write a workflow to do what you want with [comala-workflows](https://marketplace.atlassian.com/apps/142/comala-workflows)

comments: author: Ekaterina Kessner
body: Hi Bill, thanks for the suggestion. We use Comala workflows, but the best would be to have the feature independent from the workflow to be able to combine it for pages with different workflows or for pages not assigned to any workflow.


author: Bill Bailey
body: yes would be nice, but your alternative to an additional workflow is to develop a user macro/plugin. A workflow is probably the quicker and cheaper way to go.


author: Ekaterina Kessner
body: Hi Bill, true, but we found the new feature saved for later would be a good option, even though one shall define the time frame on their own. We've just updated and did not have the feature until now.


author: Bill Bailey
body: yeah, I have just found that it is hard to expect 100% compliance with any manual method, not that people resist, but forget to perform the task, or misunderstand what they are supposed to do..

And save for later sets no alarm/reminder.

Good luck!


author: Ekaterina Kessner
body: Correct, thanks for your contribution!


author: Aron Gombas _Midori_
body: The [Better Content Archiving](https://www.midori-global.com/products/better-content-archiving-for-confluence/data-center/) app supports [periodic reviews](https://www.midori-global.com/products/better-content-archiving-for-confluence/data-center/documentation/page-expiration-tracking).

You can configure this to email the people responsible for the page in every N days:

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

They can then review the page and decide to:

* edit it -\> it makes it "up-to-date" for another N days
* confirm that it is still valid without changes -\> it makes it "up-to-date" for another N days
* archive it -\> it will be archived to reduce the clutter in Confluence

*(Discl. it is a paid and supported app developed by our team.)*


Tags: confluence-server

server
draw.io macro not available?
Asked by Victoria King:

Hi,

I'm trying to add the draw.io macro to our confluence page (in edit mode) but it doesn't seem to be available.

I've tried searching 'other macros' but draw.io doesn't show as an option.

Can this no longer be added or am i doing something wrong?

Thanks,

Vicky


Answers:
author: Marija Radovic
body: Hi Vicky,

Could you attach us here a screenshot of available macros?

Just to be sure - are you using Confluence Cloud?

Thanks!

Marija draw.io support
Confluence REST API to read content of an attached Excel file
Asked by Doods Perea:

We are developing a ChatBot proof of concept that requires the Bot to find a specific entry in an Excel file attached to a Confluence page.

Does anyone have the Confluence API end-point for this?

What would be the end point for:

1. Public-facing Confluence (available via public internet)
2. Internal-facing Confluence (for employees in the corporate network only)

I appreciate your help.

Thanks!


Answers:
author: Thomas Deiler
body: Dear [@Doods Perea](/t5/user/viewprofilepage/user-id/675895),

not a big deal. Refer to the [rest api doc](https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/#content/{id}/child/attachment-getAttachments) and fire a get request on specific attachment. The tricky thing will be to locate the right attachment.

The endpoint is always the same because there is only one api entpoint per instance. You could wrap a proxy around to differ between internal and extrenal.

So long

Thomas

comments: author: Doods Perea
body: Thanks [@Thomas Deiler](/t5/user/viewprofilepage/user-id/484715). I will relay this information to our developers.

<br />

Warm regards!


Tags: api

atl-adm

atl-dev

developer
How to display the value of a variable from another page
Asked by Peter_Baschan:

Hi,

This may have been asked before, but can't find anything related to this. I have created a custom template where I added 4 variables: $approver1, $approver2, $approver3, $approver4

I created another page where I would want to list those four people in a table, one row for each name. How can I do that without tying in their names again?

Would it need a user macro which 'reads' the content of a variable on another page? If so how would it look like? I tried using the 'Excerpt' macro, but that only allows one section (or name in this case) to be used on my page.

Many thanks,

Peter


Answers:
author: Bill Bailey
body: I would suggest this plugin [comala-metadata.](https://marketplace.atlassian.com/apps/5295/comala-metadata?hosting=server&tab=overview)

It has the advantage of being free as well. I have used it for years.


author: EPS Software Engineering AG
body: Hi Peter,

Maybe our App Easy Confluence Variables could be a solution for you. You can define variables global or per space and reuse them on pages. You find the App on the Marketplace. Of course the Search on the variable and the value works.

Regards,  
Stephan (CEO of EPS Software Engineering AG, the vendor of the Easy Confluence Variables)
Queue Contents not Flush automatically
Asked by Le Minh Hieu:

My Confluence cannot update changes automatically. I must do by hand ( click on Queue Contents, Click Flush Queue )

Otherhand, click on log analyzer,  
Scanning file E:\\Atlassian4\\Application Data\\Confluence/logs/atlassian-confluence.log... with large size and waiting so long

Would you please support for this error

Thanks


Answers:
author: Shannon S
body: Hi there,

The path to your Confluence log file is mentioned there. I recommend that you skip the Log Analyzer, and you can analyze it yourself manually in order to see what the problem is.

Please feel free to share the error message with us if you get stuck, and we can help.

Shannon
Code 404: No message available while accessing through REST API
Asked by Oyindrila Bhattacharjee:

I am trying to **GET** Space Page details of my Confluence Space which is created in my Confluence-Server , using REST API from DellBoomi

```
http://localhost:8090/confluence/rest/api/space/JG/content
```

> Space Key : JG
>
> Page: Test Page

I have given Basic Authentication (username and password)

But getting the below error:

```
Error message received from Http Server, Code 404: No message available
```

Please can anybody suggest if I am missing anything in configuration or what.

++**PFA Connection Details and Operation Details configured in Dell Boomi and Confluence Space**++

Please let me know what more details required.

![Confluence space.png](/t5/image/serverpage/image-id/35028iDFFED5FBD5655B95/image-size/large?v=v2&px=999 "Confluence space.png")

![Confluence Local Connection.png](/t5/image/serverpage/image-id/35026iEA59AE6CB6DA724A/image-size/large?v=v2&px=999 "Confluence Local Connection.png")![Confluence Local Operation.png](/t5/image/serverpage/image-id/35027i165EB3ADCF61BDE8/image-size/large?v=v2&px=999 "Confluence Local Operation.png")


Answers:
author: Oyindrila Bhattacharjee
body: I did some more research and found out The Rest URL to access Page Details with comments is below

```
http://localhost:8090/rest/api/content/65609/child/comment?expand=body.view?
```

where 65609 is the Page ID.

How to fetch page Id (<https://confluence.atlassian.com/confkb/how-to-get-confluence-page-id-648380445.html> )


author: Santwana Sarangi {Appfire}
body: Hi Oyindrila,

From the screenshot of the Test Page, it looks like there is no context path in your base url. The URL to access Test Page is http://localhost:8090/display/JG/Test+Page whereas the rest url is http://localhost:8090/confluence/rest/api/space/JG/content.

Please remove the /confluence from the rest url and your rest call will work.

Thanks,

Santwana

comments: author: Oyindrila Bhattacharjee
body: Hi,

Thanks for your Response.

I need Rest URL, the Rest URL suggested by you didnt work


Tags: confluence-server

server
Hi, after confluence upgrade Q&A plugin doesn't work. Do you know how we can solve?
Asked by mariapia santo:

we upgrade Confluence server from 6.0 to 6.12 and maybe Q\&A plugin is not compatible. Does someone know how we can solve?


Answers:
author: Amith Mathur _Appfire_
body: Hi [@mariapia santo](/t5/user/viewprofilepage/user-id/2133836),

If you are referring to [Questions \& Answers](https://marketplace.atlassian.com/apps/1217080/questions-answers?hosting=server&tab=overview) plugin then I see that it is compatible, with v1.9 for Confluence Server 5.7 - 6.12.0. Can you reconfirm the plugin you have, if this is not what is referred to?

Can you please provide the screenshot as well? Let me know if you are not able to update the add on and getting any error message.

Thanks,  
Amith Mathur

comments: author: mariapia santo
body: Hi Amith,

It was Question for Confluence plugin. Reading the documentation seems that the lates version is not compatible with Confluence server 6.12, but we tryed to reinstall it and it works!

Thanks a lot for your support,

Mariapia.


Tags: confluence-server

server
Pages with special characters are not accessible via HAProxy
Asked by Celine Villafuerte:

Hello,

I am experiencing the same problem as stated in this article:

<https://confluence.atlassian.com/confkb/pages-with-special-characters-are-not-accessible-via-reverse-proxy-829664257.html>

However, I am using HAProxy and I'm sure if this workaround is possible. Our Confluence version is 6.0 and we use /confluence as context path.

server.xml config is as follows:

    <Connector port="8090"      protocol="org.apache.coyote.http11.Http11NioProtocol"     connectionTimeout="20000"     URIEncoding="UTF-8" acceptCount="10"
         enableLookups="false" debug="0"     redirectPort="443"     maxThreads="200" minSpareThreads="10"     scheme="https" secure="true"     proxyName="mycompany.com"      proxyPort="443" />

Current HAProxy config:

```
backend confluence_server
 mode http
 http-request set-header X-Forwarded-Host %[req.hdr(host)]
 http-request set-header X-Real-IP %[src]
 http-request set-header X-Forwarded-Server %[req.hdr(host)]
 balance source
 option forwardfor except 127.0.0.1 header X-Forwarded-For
server confluence 107.105.134.53:8090 maxconn 10000 weight 10 cookie confluence check

backend synchrony_server
 mode http
 http-check disable-on-404
 http-request set-header X-Forwarded-Host %[req.hdr(host)]
 http-request set-header X-Real-IP %[src]
 http-request set-header X-Forwarded-Server %[req.hdr(host)]
 balance source
 option forwardfor
server synchrony 107.105.134.53:8091 maxconn 10000 weight 10 cookie synchrony check
```

Any help is appreciated, thanks.


Answers:
author: Daniel Eads
body: Hi Celine,

I've not personally used HAProxy or have a test one handy to give this a run. So take this with the proper "untested!" grain of salt. :)

The nginx-specific fix simply parses the URI. Based on what nginx is doing, it *seems* like the equivalent directive you'll need to set in HAProxy is:

```
http-request set-uri http://%[req.hdr(Host)]%[path]?%[query]
```

I'd put this right above the "balance source" line in both your server blocks.

Let me know if this works or not, I'd love to update that KB article for future HAProxy users if you're able to get it patched up!

Cheers,  
Daniel

comments: author: Celine Villafuerte
body: Hi Daniel,

Sorry it took a while to reply. We were not able to fix it using HAProxy, but since Nginx is placed on top of HAProxy in our infra, we just moved the Synchrony configurations to nginx.conf. HAProxy does not handle websockets well that's why we opted to use the 2 technologies together.


Tags: haproxy
where to write API's in confluence??
Asked by Vidya Shevale:

I want to write API's in confluence

but I am getting confused where to write it.

I am using ubuntu 16.04 and my confluence is installed in /opt/atlassian

also there is one more folder in /var/atlassian

now I am writing api's using php which are located in /var/www/html/confluence_api  

\<?php  
$data = {  
"type":"page",  
"title":"My Test Page",  
"space":{"key":"TST"},  
"body":{"storage":{"value":"\<p\>This is a new page\</p\>","representation":"storage"}}  
};  
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "http://localhost:8090/rest/api/content/");  
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);  
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);  
curl_setopt($ch, CURLOPT_POST, 1);  
curl_setopt($ch, CURLOPT_USERPWD, "\*\*\*\*\*" . ":" . "\*\*\*\*\*");

$headers = array();  
$headers\[\] = "Content-Type: application/json";  
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);  
if (curl_errno($ch)) {  
echo 'Error:' . curl_error($ch);  
}  
curl_close ($ch);  
print_r($result);  
?\>

and I am using POST method for calling the API but I am getting 404 http_code in return

GET method is working fine but not POST

please answer me ASAP


Answers:
author: Nic Brough -Adaptavist-
body: I'm not even sure how you came up with the idea of wedging bits of code in the wrong language into Confluence is a good idea.

If you want to add new APIs to Confluence, you should write the end points in Java in an App you add to Confluence.

If you want to use the APIs in Confluence, you can use php (or other languages), but do not put your code inside the Confluence installation, that can break all sorts of things.

The content call you are using expects to be a get, not a post, that's why you get a 404.

comments: author: Vidya Shevale
body: hey thanks [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) for your reply

my requirement is PHP so I am writing APi's in php language. I created separate folder for api's and not in the confluence setup.

now working it is as expected

thanks


Tags: atl-adm

rest-api
Can I add user or group to New Space When I create space?
Asked by JY ?:

I'd like to add user or group to new space by Rest API (Confluence Server)

When I create space, permission information can be posted as REST api parameter?   
(Rest API document for creating space has parameters only key, name, description, NOT permission)

Or after creating, can I add user or group to new space by using REST api?

Thanks.

ps. RPC is deprecated after 5.5. So, I don't want to use this feature.  
And CLI is not free. So I want to use REST interface.


Answers:
author: Rambabu Patina _Appfire_
body: Hi [@JY ?](/t5/user/viewprofilepage/user-id/492774),

Currently, there is no REST API to set the space permissions. You can add vote/comments to the existed open request at <https://jira.atlassian.com/browse/CONFSERVER-44329>.

It can be done with taking help of [JSON-RPC API](https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-add-space-permissions-using-Confluence-API/qaq-p/516789) but you do not want to use it. At this point, it would be better to take advantage of the third party add-ons like [Confluence CLI](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/266177968/Actions#Actions-addPermissions).

Thanks,  
Ram.


Tags: confluence-server

server
About updating all related documents in one single page
Asked by ????? ???:

Hello, I've got one question about confluence usage.

Will there be ways to update all the related documents in just one single page?

e.g. I have several pages containing information about pet (page1: how to go on a walk, page2: how to give him/her food, etc.). I want to update every information about "dog" in every single pages. (change the word "dog" into "puppy")

To do this, do I have to go into every single page, and then change it by myself? Or will there be ways to change it all at once, in just one master page?


Answers:
author: Nic Brough -Adaptavist-
body: You will need to use one of the Apps that provides a "search and replace" in Confluence.
Confluence link broken to anchor in another space after editing the page
Asked by Rob Lingstuyl:

Create an anchor in another space.

Add that anchor to a page in a different space. My example is this:

\`EH:Epilog BLE Service Description#eeeg_data_compression\`

save the page and click the link it works.

Go back into the page with the link and edit the page, don't edit the link. Save the page

and click the link it no longer works.

Going back in to the link it looks like the \<space:\> is lost in the edit. I found this out by clicking the link and edit the link address is this now \`Epilog BLE Service Description#eeeg_data_compression\` notice the missing \`EH:\`

So painful!

<https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html>


Answers:
author: Daniel Eads
body: Hey Rob,

We do have a known issue with anchor links in Confluence Cloud at the moment. I found [this issue](https://jira.atlassian.com/browse/CONFCLOUD-62501) right off the bat but heard reports of others having similar issues late last week. It looks like a fix is in development and will hopefully be pushed out soon.

Cheers,  
Daniel


Tags: anchor

link