youngmon/atlassian-qna huggingface dataset:
Training Paths - training page per user
Asked by Derek Felderhoff:

I have created a training path for two types of users. The main page contains instructions, and a macro that is supposed to allow users to spin up their own page to complete the training, which is a copy of the template created for the respective path. I do not want to give general users the ability to create content in the space, but the macro doesn't seem to work otherwise. How do I give users the permission to create what would turn into a personal subpage without granting permission to create content in the entire space?


Answers:
author: Dave Liao
body: [@Derek Felderhoff](/t5/user/viewprofilepage/user-id/4163061) - try locking down the entire page tree so only privileged users/groups can edit.

On the page where users are creating template pages, set a page restriction to allow those users (or whatever group that makes sense) to do this.

Hope you've made progress with this!


Tags: access

cloud

confluence-cloud

page
How can I add a button to a Confluence page to create a Jira Service Desk issue?
Asked by Greg Bobby:

I understand Confluence offers two ways to create a new Jira Service Desk issue from within a page: 1) through the Editor and Jira Issue/Filter Macro, and 2) by highlighting text on a page and clicking the "Create Jira Issue" button that appears. The Jira Issue/Filter Macro is not viable for us because users won't have the ability to "edit" pages. We also don't want users to have to highlight text before being able to access the "Create Jira Issue" button.

Is there a way to place a button on a page that when clicked displays the create issue form?

We are using the Server version, not cloud.


Answers:
author: Artem Fomin - DevOps Action
body: You could create a Jira Issue Collector and use HTML Embed macro. Note that HTML Embed macro is disabled by default due to security considerations (e.g. potential XSS attacks)

comments: author: Greg Bobby
body: Thanks for answering, and that indeed works just fine. I ended up embedding the script into the Custom HTML configuration versus enabling the HTML macro.


Tags: confluence-server

server
Task Report macro shows duplicate tasks that cannot be completed
Asked by Wubing Ye:

I have a page with a Task Report macro showing all open tasks for a project. Recently, some tasks listed are duplicates and have an incorrect page under the "Task appears on" column. I've tried deleting and creating a new macro on the page, but it still shows the duplicate tasks. I also get an error that the "task change couldn't be saved" when I try to mark it as completed from the macro. Since the page listed under "Task appears on" is incorrect, then there's no way to find the task otherwise. Is there a fix for this?


Answers:
author: Ollie Guan
body: Hi [@Wubing Ye](/t5/user/viewprofilepage/user-id/4163145) ,

The following posts describe solutions to similar problems, but most of them are based on Server/DC.

<https://confluence.atlassian.com/confkb/duplicate-tasks-appearing-in-my-tasks-or-task-reports-624525428.html>

<https://jira.atlassian.com/browse/CONFCLOUD-33886>

<https://jira.atlassian.com/browse/CONFCLOUD-70047>

Hope it helps.

comments: author: Wubing Ye
body: I didn't try the solution in the first and 2nd link since I'm not quite sure how to implement it. The workarounds in the last link did not work, so I guess there's no real fix for my case right now. Thanks for the links though!


author: Sebastian
body: I do not understand why this Answer is "accepted"

We have the same issues in Confluence Cloud (new editor) and i only find closed bugs.  
Somebody else has an answer / suggestion?


author: Sebastian
body: And beside that - because this Question is answered - better to open another question?


Tags: cloud

confluence-cloud
[Request] See path of pages that appear in search
Asked by Carl:

When searching for an item, some pages have very similar names and just being able to see the root/parents of the page that is appearing would improve the teams productivity immensely and avoiding clicking and back pedaling frequently.

![Screenshot 2020-11-17 093209.png](/t5/image/serverpage/image-id/118518iC7CB7E331475373D/image-dimensions/517x260?v=v2 "Screenshot 2020-11-17 093209.png")


Answers:
author: Carl
body: If anyone knows a better place to send feedback like this, please let me know!

comments: author: Dave Liao
body: [@Carl](/t5/user/viewprofilepage/user-id/3989434) - have you opened a Suggestion on Atlassian's public Jira?

They have a Confluence Cloud project there: <https://jira.atlassian.com/browse/CONFCLOUD>

That being said, looks like someone a related Suggestion awhile ago: <https://jira.atlassian.com/browse/CONFCLOUD-11750>


Tags: cloud

confluence-cloud

feedback

request
Error Message When Updating Page Regarding Security Token
Asked by Jeffrey Huff:

In our confluence environment version 7.4.5 there is one page then when a user tries to submit updates to the page and publish it spins for a bit then throws the error message in a red box "Your request could not be processed because a required security token was not present in the request. You may need to resubmit the form or reload the page. " and the updates do not take.

This is also logged in on the servers log file with the URL redacted

WARNING \[https-jsse-nio-8443-exec-13\] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URIXXX contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

Any ideas on what can be done to fix this? I can supply additional info if needed.


Answers:
author: Fabian Lim
body: Hi [@Jeffrey Huff](/t5/user/viewprofilepage/user-id/4160125)

I found this KB article that has a workaround to the same error message: <https://jira.atlassian.com/browse/CONFSERVER-36112>

Check if it fixes your issue.

Regards


Tags: confluence-server

security

server

token
How do I return a board to a team?
Asked by Jonesy:

I opened up the board settings, and out of curiosity, clicked the team the board is connected to under the Change Team... option. This removed the team association to the board and turned the board into a private board. I want to return the board to visible to a team. How do I do that? When I went back to settings there's no option to associate the board to a team. And looking at the Private button on the board, the option to choose visibility to a team is greyed out.


Answers:
author: Thierry
body: same for me but conversely :

read this question

Add a personal board without adding it to a team? {#toc-hId--1299054287}
------------------------------------------------------------------------

... !


Tags: board

cloud

confluence-cloud

team

trello
"Placeholder" macro text doesn't show up when using "Create from template"
Asked by David Cantrell:

I have a template that uses the "placeholder" macro copiously. And I have a "create from template" macro configured so that when users hit it they get to use that template to create a new page.  

However, when they hit "create from template" what they see has none of the placeholder text visible, which makes it very hard to know what to fill in to the various "variable" macros. If the user saves the page they just created, and then edits it, all the placeholder text shows up.  

What am I doing wrong that is preventing placeholder text from showing up under "create from template"?


Answers:
author: Diego
body: Hello [@David Cantrell](/t5/user/viewprofilepage/user-id/4162771)!

As I understand, the contents of our "Placeholder" macro does not show up as soon as the page is created using the "Create From Template" macro.

To test this, I created a new template in my Confluence site. Here is what it looks like:
> ![Screen Shot 2020-11-19 at 11.37.22.png](https://community.atlassian.com/t5/image/serverpage/image-id/118996i50B686C3B951006B/image-dimensions/341x336?v=v2 "Screen Shot 2020-11-19 at 11.37.22.png")

After that, I created a new page and placed the "Create From Template" macro in it. Here is what it looks like:
> ![Screen Shot 2020-11-19 at 12.10.45.png](https://community.atlassian.com/t5/image/serverpage/image-id/118997i195387671F77EE3B/image-dimensions/444x145?v=v2 "Screen Shot 2020-11-19 at 12.10.45.png")

After that, I tried using the "Create From Template" macro. Here is what I see:
> ![Screen-Recording-2020-11-19-at-1.gif](https://community.atlassian.com/t5/image/serverpage/image-id/118998i41F9EDCEE694E30A/image-dimensions/338x249?v=v2 "Screen-Recording-2020-11-19-at-1.gif")

I also tried to do the same using "Instructional Text" with our Legacy Editor template. Even there, the placeholder text was present. Here it is:
> ![Screen-Recording-2020-11-19-at-1(1).gif](https://community.atlassian.com/t5/image/serverpage/image-id/119000i21635A0E6E3111DC/image-dimensions/349x181?v=v2 "Screen-Recording-2020-11-19-at-1(1).gif")

With these results, I would like to ask you a few questions. Here we go:
> 1. *What browser are your users using when they to use the "Create From Template" macro?*
> 2. *Is this present regardless of the template to which the "Create From Template" macro points to?*
> 3. *Is this happening only with newly created templates or only already existing ones?*

Let us hear from you!

comments: author: David Cantrell
body: The placeholder text is missing in both Chrome and Firefox, and AFAIK we're only using placeholders in one template, which I just created a couple of days ago.  

We have now raised a ticket with Atlassian support, who have access to the template in question, so in case anyone else has the same problem in the future I will report back with their solution.


author: David Cantrell
body: The "solution" is that this is broken as designed and so won't be fixed. \<sigh\>


Tags: cloud

confluence-cloud

template
Migrating Jira from Oracle to SQL Server
Asked by Espen Sandall:

Hi, we're in the process of migrating our Jira 8.5.3 instance from Oracle 12C to SQL Server 2017, using XML export/import - as recommended [here](https://confluence.atlassian.com/adminjiraserver085/migrating-jira-applications-to-another-server-981154737.html).

Our first attempt failed with an easy-to-solve case of duplicate records, as the SQL Server collation type is **case-insensitive**.

On our second attempt, the import process seemed to complete, but errors related to a [ranking field when trying to re-index](https://confluence.atlassian.com/jirakb/reindexing-fails-with-expected-exactly-2-rows-error-in-jira-server-779158916.html) seems to confirm that the creation of one or more **active objects** failed during import.

Have anyone else done, or tried, a similar database migration? If so, I would appreciate very much to hear from you! :-)

And not just regarding Jira - as we plan to migrate our *Confluence* instance next!

Sincerely,  
Espen


Answers:
author: Anna-BigPicture
body: Hi [@Espen Sandall](/t5/user/viewprofilepage/user-id/4098844)

BigGantt connects to databases through Jira. So if Jira works properly, our plugin will work properly as well.  
You can disable BigGantt before migration to ensure that nothing interferes with the process and enables it afterward.

Best,

Anna  
Softwareplant

comments: author: Espen Sandall
body: Thank you Anna, for a reassuring comment! :-)

Removing the biggantt-jar file from the installed-plugins folder before starting Jira against the new database did indeed stop the upgrade tasks from being triggered (and hence no related errors).

Unfortunately, we still have not in starting up with a new SQL Server database without a major error - related to the creation of Active Objects. (There is currently some confusion regarding schema-name.) So we have not yet verified that BigGantt (or anything else) will work properly after the migration.

BR, Espen


author: Anna-BigPicture
body: Hello [@Espen Sandall](/t5/user/viewprofilepage/user-id/4098844)  
You are welcome! Just let me know in this thread if you have any problem with BigGantt after reinstalling it.

Best,  
Anna


author: Espen Sandall
body: The plugin BigGantt caused problems even before the import started.

On startup against the new, empty database, a series of 'BigGantt database upgrade tasks' caused in total 3 sql execution errors.

Then, trying the import, the plugin 'Test Management 4 Jira' caused an error after import reached 90%.

Import seemed to reach 100% anyway, but was not in a usable state, as re-indexing would not start.

Does anyone know if the installed-plugins folder should be deleted before switching to the new database?  
For the next attempt, we will at least remove these to plugins - and hopefully re-install them after a successful import.

ES


Tags: confluence-server

jira

migration

oracle

server

sql
Filtering Jira ticket to Exclude labels In Confluence
Asked by jfuentes:

So currently the method suggested to filter labels is to use the "AND Labels=XYZ". But in reality this not help exclude labels only create a white list of Labels. So what if the task have various labels and you only want to exclude one. Are you saying I have to write a syntax for every label I want included? That would be annoying if I have lets say 30 labels and only wanted to exclude 1 then I would have to write 29 AND Label syntax parameters.   

I would like to know how to exclude label not just include the ones I want


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@jfuentes](/t5/user/viewprofilepage/user-id/3843510) ,

You may try the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app.

Wrap your Jira Issues macro in the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro and set the required filter:

![Mon 2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/118448i156117CC95CE639C/image-size/large?v=v2&px=999 "Mon 2-1.png")Here I use the Resolution field cause we don't use labels, but you may choose the Labels field or whatever field you need.

Then go to the Filtration tab and set the reversed filters to exclude items from your table:

![Mon 2-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/118452i4BBE0F6452A7419E/image-size/large?v=v2&px=999 "Mon 2-2.png")Here is a screenshot for the page view mode:

![Mon 2-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/118454i4DD9FC48CF314EA9/image-size/large?v=v2&px=999 "Mon 2-3.png")It will be intuitive for your colleagues to choose what labels to exclude.

The filter can also be saved for other users if required.


author: Nic Brough -Adaptavist-
body: You could say "and labels != \<unwanted label\>"

comments: author: jfuentes
body: AND labels != "discard"


author: jfuentes
body: It juts filters all but 2 which is odd because none of the one filter are the ones I wanted filtered


Tags: cloud

confluence-cloud
SQL Active Users Last Login
Asked by Mike:

I am working on to provide some metrics, hoping someone has a SQL query for Confluence (JIRA too if possible) that provides active users and the last login date

I see these articles:

<https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html>

<https://community.atlassian.com/t5/Confluence-questions/SQL-Query-to-show-all-users-with-Use-Confluence-permission/qaq-p/332404>

- unfortunately its not showing active and last login

Confluence Server 7.4.0

JIRA Server 8.12.2


Answers:
author: Nic Brough -Adaptavist-
body: The first article actually works for Jira as well - the cwd_ tables are almost identical for both Jira and Confluence.

If you are not getting data from the columns in the cwd_ tables because they are empty, then you're using a user directory system that does not record it in the application, and you'll need to query that instead.

comments: author: Mike
body: Thanks, looks like this should work:

```
SELECT cu.user_name,
cd.directory_name,
li.SUCCESSDATE, cu.active
FROM logininfo li
JOIN user_mapping um ON um.user_key = li.USERNAME
JOIN cwd_user cu ON um.username = cu.user_name
JOIN cwd_directory cd ON cu.directory_id = cd.id
WHERE li.SUCCESSDATE < (getdate() - 30) and cu.active= 'T'
ORDER BY li.SUCCESSDATE;
```


author: Khonski
body: Does anyone have MySQL query for JIRA?


Tags: confluence-server

jira

server

sql
Attachments Macro - Editing
Asked by Sholeh Tareh:

Previous version of Confluence, we were able to upload a file unto the attachments macro then using the arrow to expand, clicking into "edit" which would then open the excel file as a program on your computer, make changes and save back to the Confluence without needing to re-upload and more importantly maintaining the integrity of version history. Has this feature been disabled? we are not able to update our attachments


Answers:
author: Dominic Lagger
body: Hi [@Sholeh Tareh](/t5/user/viewprofilepage/user-id/4162255)

First of all welcome to the community!

Let's talk about confluence version, do you know which type of confluence you are using? Is it Cloud or Server? You can check: Is there a version number on any confluence page at the botton, like this:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/118566i918224756535093E/image-dimensions/419x69?v=v2 "image.png")

If so, you are using confluence server.

For confluence server, there is a new app called "Atlassian Companion". Here's a documentation [how to install and use it](https://confluence.atlassian.com/doc/install-atlassian-companion-992678880.html). With the newer versions of confluence, you have to use this for editing documents.

Let me know if any of this helped.

Regards, Dominic
Inline graphic causing line breaks
Asked by Michael Connolly:

I have many help pages which include icons, such as this:  
![OldIcon.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/118423iFE32868EB9F656E1/image-size/large?v=v2&px=999 "OldIcon.jpg")

On conversion to the new editor this becomes:  
![NewIcon.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/118425i7A02A40156E2D5AC/image-size/large?v=v2&px=999 "NewIcon.jpg")

Can the old format be restored, please?


Answers:
author: Diego
body: Hello [@Michael Connolly](/t5/user/viewprofilepage/user-id/1588280)!

Currently, placing inline images in the New Editor is not currently possible. This has been filed under this report:
> * [++***\[Confluence Cloud\] Allow Images to be inserted inline or in an sentence in the New Editor***++](https://jira.atlassian.com/browse/CONFCLOUD-68501)

If you need to revert this single page, you should be able to revert the page to a previous version where it was still under the Legacy Editor. Here is our documentation on Page History:
> * [++***\[Confluence Cloud\] Create, edit, and publish a page - Page versions and history***++](https://support.atlassian.com/confluence-cloud/docs/create-edit-and-publish-a-page/#Create,edit,andpublish-Pageversionsandhistory)

I could find an older thread here in our Community where their needs were the same as yours:
> * [++***\[Atlassian Community\] Can I revert a page to the old editor?***++](https://community.atlassian.com/t5/Confluence-questions/Can-I-revert-a-page-to-the-old-editor/qaq-p/1419099)

Let us hear from you!


Tags: cloud

confluence-cloud

image

inline
Request access to SPACE?
Asked by Marco Palzkill:

Hello,

I'm looking for a way for users to request access to a \*space\*. Is there any way to do that? Ideally in the same way the restricted page request access is handled: If user opens a spaces page, which is restricted, they can send mail to admins.

Kind regards,

Marco

Confluence Server 7.3.3


Answers:
author: Jack Brickey
body: My question is - how does a person even know that a restricted space exists? Maybe someone sends them a link by email? In any event this solution doesn't exist in-app.


Tags: confluence-server

server
Default file name of the exported .doc file
Asked by Alexey Dorofeev:

Hi there

When exporting page to Word, .doc file is named "Document name-vDate of modification and document export (YYYMMdd_HHmmss)" by default. If I need a different set of fields in filename, I can change them on every export (Export to Word \> Show Details \> File Options). For example: "Content Property_Variant Name-Version Name_Export Date (yyyy-MM-dd)". But how can I change the default set of fields?


Answers:
author: Alexey Dorofeev
body: I was able to find the answer:  
Space Tools \> Apps \> Scroll Word Exporter \> Templates \> Properties


Tags: cloud

confluence-cloud

export
Can I change the view of the page with attachments?
Asked by ????? ?????????:

Hi everyone,

I need to change the way the attachments are displayed on the page with attachments. I have a lot of docs attached to a page, and each of the docs has up to 30 to 40 labels. So, there are only two to three docs displayed on a page - they just don't fit the page. I wonder if there is a way I can hide the labels column or at least expand it to be able to see more docs at once.

Thank you in advance.


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@????? ?????????](/t5/user/viewprofilepage/user-id/4161921) ,

You may try the standard [Attachments](https://confluence.atlassian.com/doc/attachments-macro-97911315.html) macro:

![Mon 1-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/118418iFF5C8C342515A1A0/image-size/large?v=v2&px=999 "Mon 1-1.png")Additional information (for example, labels) is shown only if you click on the arrow and view the details of the required file.

comments: author: ????? ?????????
body: The thing is that I need to do the same thing on the page where attachments are stored, not the one that we can edit.


Tags: confluence-server

server