youngmon/atlassian-qna huggingface dataset:
Send SQL query to the database of third-party applications passing parameters from Confluence
Asked by Vladislav Belyaev:

Hello everyone!

I want to make the user go to Confluence page and see all their open task in another system (no from Atlassian). Ideally, the query should work similarly to such a JQL query in JIRA (assignee = currentUser() AND resolution = Unresolved).

Have you met such a practice? Is there a plugin to solve this issue?

Sincerely,

Vladislav.


Answers:
author: Sven Schatter _Lively Apps_
body: Hi [@Vladislav Belyaev](/t5/user/viewprofilepage/user-id/3730449),

sounds very much like our app [PocketQuery](https://marketplace.atlassian.com/apps/1211199/pocketquery-for-confluence?hosting=server&tab=overview) could be useful for you!

In PocketQuery you can define REST \& SQL queries in a separated admin interface. These Queries can be executed in a page via a Macro and you can define with a Velocity templates how the results should be displayed. (Default is a simple table)

These Queries can also be parameterized and receive so called [wildcards](https://help.livelyapps.com/documentation/display/PQDOC/Queries#Queries-UsingWildcardsforParameters). An example could be:

```
SELECT *
FROM sometable
WHERE something = :@pageid
```

Or with REST:

```
/some/rest/api?user=:@username
```

If you have any questions about PocketQuery and/or need help with creating your query you can ask here or [raise a support ticket at our HelpDesk](https://help.livelyapps.com/servicedesk/customer/portal/5). :)

Cheers,  
Sven
Jira dashboard for confluence pages
Asked by Henrik Gerdin:

Dear all,

I'm looking for a good APP to Jira/confluence (Cloud version) that can help me create charts for Confluence pages. I've tried a couple of different APP's as *Custom Jira Charts for Confluence* but they are all very limited. Most of the more "extensive" APPs are only available for the server version.

Do you have any preferred APPs to use when creating charts in Confluence? (Based on date in Jira)


Answers:
author: Gorka Puente _Appfire_
body: Hi [@Henrik Gerdin](/t5/user/viewprofilepage/user-id/2678614) ,

We provide an app called [Dashboard Hub for Confluence](https://marketplace.atlassian.com/apps/1224619/dashboard-hub-for-confluence-reports-charts?hosting=cloud&tab=overview), which allows you to create custom charts in Confluence from different sources. There're dashboard custom templates, pre-set gadgets, ability to share externally...

Best regards,

Gorka


author: Fabian Lim
body: Hi Henrik,

Eazybi is a great option. If you get jira version you can use the macro to display the charts in confluence.

Regards


Tags: chart

cloud

confluence-cloud
search page subtree
Asked by Yohann Martineau:

hi,

I use page tree search macro in some pages but i cannot add this element to the numerous pages / layers i need to search

is there a CQL search syntax to provide the same feature?


Answers:
author: Andreas Purde
body: Dear Yohann,

the [ancestor](https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/#ancestor) field might be the one you are looking for.

Kind regards

Andreas

comments: author: Yohann Martineau
body: thank you, it works indeed, I had switch to CQL search syntax instead of basic search syntax and it worked, thank you!
Hide macroes from the list
Asked by Thor Henrik Nordvik:

How can I put the macro in the category "Hidden" as shown in the picture ?

I can't disable it, because it's in use on to many pages, but i want to avoid that it will be used any more.   
The macro is in a plugin that has been developed for us.

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


Answers:
author: Sven Schatter _Lively Apps_
body: If this macro has been developed for you you will need to tell the developers to include a **hidden="true"** attribute in the xhtml-macro definition in their **atlassian-plugin.xml**.

See here for more information: <https://developer.atlassian.com/server/confluence/including-information-in-your-macro-for-the-macro-browser/>

Cheers,  
Sven

comments: author: David Yu
body: Nice one. You can also download the plugin, unpack it, and add the attribute yourself to atlassian-plugin.xml.

Though from my testing, it doesn't actually put it into the Hidden category. It's just completely hidden.


Tags: confluence-server

server
How can I change/delete the name of the person who created a page in confluence?
Asked by Thomas Estermann:

Pls help!! THX :)

![Bildschirmfoto 2020-02-11 um 09.43.01.png](/t5/image/serverpage/image-id/82667i01E48F67A8780ACF/image-size/large?v=v2&px=999 "Bildschirmfoto 2020-02-11 um 09.43.01.png")


Answers:
author: marc -Collabello--Phase Locked-
body: I don't think that is possible, however here's a workaround:

1. make a copy of the page
2. delete the original page
3. move or copy the copy of the page to the original page name
4. the "new" original page name will have your name as the creator


author: Darryl St_ Pierre
body: [@marc -Collabello--Phase Locked-](/t5/user/viewprofilepage/user-id/1205132) 's response is a very good suggestion.

If you need something on a larger scale, there's a tool on the Marketplace called Confluence Command Line Interface (CLI) offered by Bob Swift Atlassian apps. If you have many pages to change, I believe it's able to do this. It also has multiple options to report, modify data, and copy data for a number of purposes.

I don't work for them, but have used the tool on occasion for more than a year. It's been very helpful.

Darryl

comments: author: Michael Kuhl _Appfire_
body: Thanks for the plug [@Darryl St_ Pierre](/t5/user/viewprofilepage/user-id/1757592) . I do work for them. ;)

[@Thomas Estermann](/t5/user/viewprofilepage/user-id/3751353) If you want try the CLI route you can download it [here](https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?hosting=cloud&tab=overview). Feel free to post here with questions about how to use the CLI for this case.


Tags: confluence-cloud
Is it possible to scroll horizontally in new editor?
Asked by YongDuk Kim:

I could use the scroll bar horizontally in editing table in confluence.

But scroll (horizontal) bar does not appear in new editor.

In new editor, is it not possible ?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@YongDuk Kim](/t5/user/viewprofilepage/user-id/1006305)

The scroll bar appears inside the table

![scrollbar inside a table.png](https://community.atlassian.com/t5/image/serverpage/image-id/162065i284B9A1391427378/image-size/large?v=v2&px=999 "scrollbar inside a table.png")


Tags: cloud

confluence-cloud
Add comment to an existing Jira issue using rest API
Asked by Nigel:

Hi all,

I currently have web form set up in Confluence which collects information from the end user and creates a Jira issue.

Current code:

```
url: [confluence-domain]/rest/jira-integration/1.0/issues?applicationId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
type: 'POST',
dataType: 'JSON',
contentType: "application/json",
data: JSON.stringify(issueData),
```

Is there a way to use the same API to add comments to / update an existing issue?

Thanks,

Nigel


Answers:
author: Alex Medved _ConfiForms_
body: Hi Nigel

You can certainly add comments and update existing issue with the REST API, check the docs

<https://docs.atlassian.com/software/jira/docs/api/REST/8.7.0/#api/2/issue-addComment>

<https://docs.atlassian.com/software/jira/docs/api/REST/8.7.0/#api/2/issue-editIssue>

However, I am unsure what the API you are using (jira-integration/1.0/issues) is... looks like a some kind of custom made wrapper around Jira APIs, no?

Alex

comments: author: Nigel
body: Hi Alex,

Thanks for the information :)

I'm still running into issues using the below code, any thoughts on what the issue might be.

```
function UpdateIssue() {
AJS.$.ajax({
url: 'https://jiraURL/rest/api/2/issue/ABC-123',
data: '{"update" : {"summary" : [{"set" : "Test"}], ' +
'"comment": [{"add": {"body": "Test Comment"}}]}}',
type: 'PUT',
contentType: 'application/json',
dataType: 'json',
error: function () {
alert('Error');
},
success: function() {
document.location.reload();
}
})
}
```

Thanks,

Nigel


author: Alex Medved _ConfiForms_
body: What does Jira say? What is in the error response the Jira returns you? It will tell you what exactly it dislikes about your JSON

Obviously this, does not help in troubleshooting

```
error: function () {
alert('Error');
}
```


Tags: integration
Linking files from OwnCloud into Confluence / owncloud integration
Asked by Tony Pearce:

I have Confluence server and OwnCloud server. Owncloud is where all of our users network folders are located. The Research and Marketing team would like to make it easy to reference these files within Confluence pages. I've not yet found an easy way for them.

Is there a webdav client / macro for Confluence that I can add to a page to link to Owncloud?

When I look at google drive integrations there is one we've tried. It allows you to create a google drive folder and then on Confluence, link that folder to the page using the macro. Does anything like this exist for Confluence/OwnCloud?


Answers:
author: Sven Rollinger
body: Hi, yes i?m also looking for this feature.


Tags: confluence-server

server
failed to install APP on marketplace for Confluence
Asked by rgbitx1987:

I tried to install Markdown in marketplace but got this error as shown in the image. I don't know what I should do to fix the problem.

1. operation system: mac osx

2. I used my own mac as the host.

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


Answers:
author: Sven Schatter _Lively Apps_
body: Is this happening with other apps as well? This might be some temporary hicc-up of the Marketplace.

You could try [downloading the latest version directly from the Marketplace](https://marketplace.atlassian.com/apps/1211438/markdown-macro-for-confluence/version-history) and uploading the JAR manually in the UPM.

Cheers,  
Sven


Tags: confluence-server

server
Failed to Change Profile Photo
Asked by Tim Zyk:

I'm getting my Confluence Cloud space set up for my company and I can't upload a profile picture. It says "Failed to Change Profile Photo" no matter the image I chose. I'm uploading a JPG.

Any help why this is erroring out??

Thanks,

Tim


Answers:
author: Vincent Mann
body: [@Tim Zyk](/t5/user/viewprofilepage/user-id/3750865)have you tried more than one browser? What is the file size?

comments: author: Tim Zyk
body: I tested it on my non-work PC and it uploads fine (small pic, tried multiple browsers). It must be a firewall/Corp. Security issue. Is this common and is there a way I can fix?? I worry our Corp. Security team won't help.


author: Vincent Mann
body: Yeah it sounds like an internal issue. Did you get it to work or still having problems?


Tags: confluence-cloud
Links don't render when logged out of Confluence (public view)
Asked by Helen Higinio:

When logged in, a reference link looks like a text link in a box. But when not logged in, it is a URL string.

I could not find an existing issue but there have been link rendering issues:

<https://jira.atlassian.com/browse/CONFSERVER-7066>

<https://jira.atlassian.com/browse/CONFSERVER-1596>

I added some images that show the problem

![20200210_144722.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/82637iE3F951751939CF97/image-size/large?v=v2&px=999 "20200210_144722.jpg")![20200204_163242.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/82638i9249488504418FD3/image-size/large?v=v2&px=999 "20200204_163242.jpg")


Answers:
author: Helen Higinio
body: Maybe this is the answer:  

<https://community.atlassian.com/t5/Confluence-Cloud-questions/Internal-links-in-Confluence-Cloud/qaq-p/1182493>


Tags: confluence-cloud

link
Display issues using Jira issues macro within Confluence for JSD customer
Asked by Benjamin_Wettlaufer:

The other day I was wondering if it's possible to use issue filter within Confluence for Jira Service Desk user (customer) - the answer was no (only for licensed user). But now I wonder, cause in the [documentation](https://confluence.atlassian.com/confcloud/use-jira-and-confluence-together-724765436.html) it's stated this should be possible, but I assume this is only true again for the cloud version?


Answers:
author: Fabian Lim
body: Hi [@Benjamin_Wettlaufer](/t5/user/viewprofilepage/user-id/3545785)

Confluence only allows users to see jira tickets that they have access to. In order for users (customers) to see the JSD tickets, the customers will require a jira license to the "Browse Projects" permission in your JSD Project.

In addition to that, they would need a confluence license as well unless you have your confluence page open to everyone.

I hope this helps.


Tags: confluence-server

server
Can you run a report to show what Confluence users have access to specific spaces?
Asked by Kelly Hiemstra:

Can you run a report to show what Confluence users have access to specific spaces?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Kelly Hiemstra](/t5/user/viewprofilepage/user-id/3711037)

You can't create such report with out of the box functionalities. Have you checked on the [marketplace](https://marketplace.atlassian.com)? Maybe you could find something!
Looking for best practices to automate the population of a template with data/info from an Access db
Asked by Cameron Koch:

I am working on a project that needs to create several different documentation pieces from information we are currently storing in an Access db. The info will likely be exported into Excel initially, but I am looking for a way to populate a template I would create in Confluence with this info. Each row in Excel would have all the info for a specific piece, but each row may not have all of the same types of info. Does anyone have best practices on creating a template that is flexible to this variation and how best to fill the template with that info? If it helps, there will be 1000's a pages to create across all documentation pieces that would be generated in this way...hopefully. An example of info for each row:  

1. variable name  
2. related variable names  
3. question info  
4. values  
5. helpful info  
6. disclosure notes  
7. skip logic notes


Answers:
author: Daniel Eads
body: Hi Cameron, welcome to the Community!

This is an interesting question I'll provide some ideas on based on what's available in the Marketplace.

* [ConfiTemplates](http://ConfiTemplates) is an app that adds some functions to templates in Confluence Cloud. You could create a template with the help of the app and [use URL parameters to pass variables into the template](https://wiki.vertuna.com/display/ST/Using+request+parameters+with+Smart+Templates). *Some* scripting would be required to get the rows from Excel/Access turned into a URL request, but I see this as a fairly straightforward script compared to some other ways of building what you need. If I were doing this work, I'd give myself an afternoon to play with the ConfiTemplates app and maybe a couple hours the next day as buffer to work on the CSV -\> Confluence script.
* [External Data for Confluence](https://marketplace.atlassian.com/apps/1221733/external-data-for-confluence?hosting=cloud&tab=overview) allows you to connect data sources and embed them on Confluence pages. Depending on what you've got in your Excel export, this might be an ok option. I get the impression you want some fancier pages, but this might be a good route to go if you need to just show the material and don't want to spend much time on it.
* [Confluence Command Line Interface](https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?hosting=cloud&tab=overview) is an app that lets you script out a lot of functions that would normally be arduous API calls. I could see someone completing the work you're looking at (essentially creating a lot of pages, probably with a template, using some data you need to pass in) with the CLI app. Out of all the options, this is probably the most involved in terms of setup if you're not already familiar with this app, but it also might provide extra configuration you might need depending on the complexity/extensibility you want to go for.

Hope that's helpful in giving you some pointers!

Cheers,  
Daniel


Tags: cloud

confluence-cloud
I've invited users but the linked jira issues in the page won't authenticate. Ack!
Asked by Erin Murtha:

I've invited people to my Space - one of which is a customer - but the linked jira issues won't authenticate. I don't want to make any of them an admin and can't find the configuration cog which was in the server version.


Answers:
author: Mike Bowen
body: Hi [@Erin Murtha](/t5/user/viewprofilepage/user-id/1649595)

Because your customer is not a licensed user of your Jira Service Desk or Jira Project, the link will not work for them. If your other invitees are colleagues and they are service desk agents or people in the Jira project, then they will have access to the linked Jira.

-Mike


Tags: confluence-cloud
How to retrieve a mentioned user's name from cql ?
Asked by sabzx:

I would like to retrieve the mentioned user's name (mentionee) from the CQL REST API.

Currently it only gives me the username of the person who mentioned another user (mentioner).

Eg query:

http://localhost:8090/rest/api/content/search?cql=(mention != 'anonymous' and type='comment' and created\>now("-1w") )\&expand=metadata.properties

Eg response:

Here the "version" key contains the user who mentioned another user's name

{  
"id": "65629",  
"type": "comment",  
"status": "current",  
"title": "Re: Product",  
"version": {  
"by": {  
"type": "known",  
"username": "ken",  
"userKey": "ff8080817011ca7d017011d7591e0002",  
"profilePicture": {  
"path": "/images/icons/profilepics/default.svg",  
"width": 48,  
"height": 48,  
"isDefault": true  
},  
"displayName": "Kenneth",  
"_links": {  
"self": "http://localhost:8090/rest/api/user?key=ff8080817011ca7d017011d7591e0002"  
},  
"_expandable": {  
"status": ""  
}  
},  
"when": "2020-02-07T10:08:16.165-05:00",  
"message": "",  
"number": 1,  
"minorEdit": false,  
"hidden": false,  
"_links": {  
"self": "http://localhost:8090/rest/experimental/content/65629/version/1"  
},  
"_expandable": {  
"content": "/rest/api/content/65629"  
}  
},  
"extensions": {  
"location": "footer",  
"_expandable": {  
"resolution": ""  
}  
},  
"_links": {  
"webui": "/display/PROD/Product?focusedCommentId=65629#comment-65629",  
"self": "http://localhost:8090/rest/api/content/65629"  
},  
"_expandable": {  
"container": "/rest/api/content/65591",  
"metadata": "",  
"operations": "",  
"children": "/rest/api/content/65629/child",  
"restrictions": "/rest/api/content/65629/restriction/byOperation",  
"history": "/rest/api/content/65629/history",  
"ancestors": "",  
"body": "",  
"descendants": "/rest/api/content/65629/descendant",  
"space": "/rest/api/space/PROD"  
}


Answers:
author: sabzx
body: Any thoughts on this guys?


author: sabzx
body: Is there any other alternative solution ?


Tags: confluence-server

server
Is there a way to restore a deleted set of Confluence pages?
Asked by shirley.s.bonicoro:

Have deleted a set of pages and need to restore...is there a way to do that?


Answers:
author: Max Foerster - K15t
body: Hi [@shirley.s.bonicoro](/t5/user/viewprofilepage/user-id/3750455)welcome to the community!

Deleted pages can be found in the space trash and can also be restored (or purged) from there. You have to be a space administrator to access it.

Best, Max
How to do test Export PDF/word using rest api in confluence
Asked by PASUPULA REDDY:

Hi Team,

can you please let us know how we can perform the performance test for export pdf/page using rest api.

Regards,

kulasekhar


Answers:
author: Dario B
body: Hello [@PASUPULA REDDY](/t5/user/viewprofilepage/user-id/3018152) ,

I am not sure I have a correct understanding of what you are trying to do. Can you kindly try to reformulate, providing more details?

Cheers,  
Dario


Tags: confluence-server

rest-api

server
Cannot delete spaces in confluence cloud free
Asked by Shawn Bradley:

Any thoughts?


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Shawn Bradley](/t5/user/viewprofilepage/user-id/3750401) ,

Welcome to community !

It seems like your instance is affected bug <https://jira.atlassian.com/browse/CONFCLOUD-69052>if you created instance before 8th Jan 2020.

Please watch or vote the bug for further updates.

Thanks,

Avinash


Tags: cloud

confluence-cloud
Create new page with template: Name already taken, always
Asked by Borjapombo:

I've a fresh Confluence instalation with demo data.  

Now im strat to fill my confluence with a knowledge base linked with Jira Service Desk.   

The page wizard creator says all time about the name is already taken.  

What i did wrong to get this error?


Answers:
author: Mike Bowen
body: Hi [@Borjapombo](/t5/user/viewprofilepage/user-id/3740602)

When you create with a template, you are meant to name the page with a unique name, e.g. the name of the error or something description. If you do that and then Publish you should never get that error again.

-Mike


Tags: confluence-server

server
Is there a macro for Adding Tasks?
Asked by Michael Stuart:

I want to be able to add tasks on the fly from the home page of my personal Confluence page. I seem to only be able to add tasks from the Meeting Notes Template. Is there a macro that would allow me to create tasks directly from my homepage?


Answers:
author: Mike Bowen
body: Hi [@Michael Stuart](/t5/user/viewprofilepage/user-id/26671)

Yes, it is /task in the new editor in Confluence.

![Macro for creating tasks.png](https://community.atlassian.com/t5/image/serverpage/image-id/82593i4EBE4922BCE83323/image-size/large?v=v2&px=999 "Macro for creating tasks.png")

-Mike


Tags: cloud

confluence-cloud

task
What are the recommended best practices to make content as searchable as possible on Confluence?
Asked by Chelsea Waxenberg:

It is sometimes challenging to find the content I'm looking for in our instance of Confluence by using the Search function. Ideally, I'd like our teams to be able to type in keywords and find the articles, pages, and resources they're looking for. Are there any tips or best practices to make this more accurate? Labels? What do you recommend?

Note: I have already read this article: <https://confluence.atlassian.com/doc/search-139528.html>


Answers:
author: Mike Bowen
body: Hi [@Chelsea Waxenberg](/t5/user/viewprofilepage/user-id/3750029)

There are a number of best practices:

* The Live search macro is pretty good.
* [Filter search](https://semantic-evolution.atlassian.net/wiki/dosearchsite.action?) is very good giving one loads of options to search documentation.
* You could create a menu system and add related content to a sub-menu.   
  ![Menu for Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/82579i80526AB2EAAD508F/image-size/large?v=v2&px=999 "Menu for Confluence.png")
* You could create landing pages for key topics and include a **Content by Label**macro on each of the landing pages and then on the related pages have a defined label.
* Another good macro is **Recently Updated,**it shows recently updated pages, useful if you are wanting to keep up with changes. A good location to put this macro is on our front page or on a landing page.
* Encouraging the use of the Share button and or user mentions, is one helpful way to keep everyone informed.

-Mike

comments: author: Chelsea Waxenberg
body: Thanks for all this! Is there such a concept as "tagging"? What I am trying to solve for is adding tags for commonly searched terms that may not actually appear on the page or content piece, but that users might use when looking for those pages/content pieces.


author: Mike Bowen
body: Hi [@Chelsea Waxenberg](/t5/user/viewprofilepage/user-id/3750029)

I am not aware of tagging, but labels must come close.

I forgot to mention you could also have a labels list that one can pick to find a related page(s).

-Mike