youngmon/atlassian-qna huggingface dataset:
How to use Confluence as service provider for JWT authentication
Asked by dmitro_podupeiko:

Hi,  
I have an issue. I have REST endpoint that shows some private data and I want get this data from endpoint using JWT authentication(I don't need Basic Auth or other). How can I implement plugin that verifies JWT and if token correct send response from endpoint.  
I've already read <https://developer.atlassian.com/server/confluence/How-to-make-REST-API-endpoints-available-for-JWT-authentication/> article and tried implement, but unfortunately I haven't understand how it works. If you have some ideas, please advise.


Answers:
author: Shweta Vispute
body: Hello [@dmitro_podupeiko](/t5/user/viewprofilepage/user-id/910218) ,

As I understand it, you want to authenticate your private rest API using the JWT token. This can be achieved by using the add-ons available on the market.

I would like to pitch in the [API Token/OAuth Authentication for Confluence](https://marketplace.atlassian.com/apps/1221517/mo-api-token-oauth-authentication-for-confluence?hosting=datacenter&tab=overview)add-on to verify the JWT token and authenticate your REST APIs.

The plugin also provides the functionality to generate a JWT token, if you want to use Confluence credentials to generate a JWT token and use it for APIs.

PS: I am a developer at [miniOrange](https://marketplace.atlassian.com/vendors/1213308/miniorange), a Top Atlassian SSO Vendor!

If you have any questions about it or would like to discuss it further, you can reach out to [info@xecurify.com](mailto:info@xecurify.com).

I hope this helps you!

Thanks,

Shweta.

comments: author: dmitro_podupeiko
body: Hi [@Shweta Vispute](/t5/user/viewprofilepage/user-id/3447023) thank you for your answer.


Tags: confluence-server

server
While uploading an attachment can I set creator /created by user information using an API?
Asked by Vivek:

Hi,

I am working on an integration b/w Confluence and internal tool where I have a provision to upload attachments in the tool.

The use case is to add those attachments in a set confluence page as soon as they are uploaded in the tool by a user but at the same time keeping the creator name of the attachment intact. It should be set to the user name who has uploaded the files in the tool.   

My current understanding is the creator field in confluence is non-editable and no such API is available. Please advise if there is a provision to customize created by/creator field value. Thanks!


Answers:
author: Prince Nyeche
body: Hi [@Vivek](/t5/user/viewprofilepage/user-id/4278391)

Welcome to the community! I don't think those attributes can be changed with the [API](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-group-content---attachments) yet.

comments: author: Vivek
body: Hello Prince,

Thanks for your comments.

Are there any suggestions/alternatives that you might be aware of to achieve this use case?


author: Prince Nyeche
body: None that I know of. I think if the API doesn't exist then you can't basically do it.


Tags: cloud

confluence-cloud
How to fix "Error: Could not open the editor" when trying to add a comment to a document?
Asked by Kelly Moss-Donaldson:

When one user is trying to add a comment to a document, getting the message "Error: Could not load editor". However, some documents they can add comments just fine. Tried clearing cookies and temp files, as well as trying a different browser, even restarting the computer multiple times, but still get the same error. All other users are able to add comments without issues. Mentioned that sometimes on some documents when she can't add a comment, if another user adds a comment, for some reason afterwards she can also add a comment.

![Capture.PNG](/t5/image/serverpage/image-id/131895i10A5F3877AA50599/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Fabian Lim
body: Hi [@Kelly Moss-Donaldson](/t5/user/viewprofilepage/user-id/4278235)

I found a KB article that may help resolve your issue: <https://confluence.atlassian.com/confkb/editor-does-not-work-properly-315326472.html>

Work with your admins and see if they can apply the resolutions listed on the article.

Good Luck.


Tags: confluence-server

server
The Office Excel macro is missing from our default macros list, how do you enable it?
Asked by Ed T:

Trying to use the Office Excel Macro but it is not one of the visible macros to select. How do you enable this? Currently using Conflunance Server 6.15.9.


Answers:
author: Fabian Lim
body: Hi there,

You may have to check with the sys admin to ensure that the app module is enabled.

Link:

Regards [https://confluence.atlassian.com/confkb/how-to-enable-or-disable-access-to-the-confluence-data-center-and-server-mobile-app-945547311.html#:\~:text=Open%20Confluence%20in%20your%20browser,listing%20choose%20Disable%20or%20Enable](https://confluence.atlassian.com/confkb/how-to-enable-or-disable-access-to-the-confluence-data-center-and-server-mobile-app-945547311.html#:~:text=Open%20Confluence%20in%20your%20browser,listing%20choose%20Disable%20or%20Enable).


Tags: confluence-server

ms-excel

server
How to copy / import template from one space to another
Asked by kmurray@digitalguardian.com:

Hi Folks,

I have a person who created a template in their personal space and would like to publish it in another (non-personal) space. As site administrator how do I do this?

Thank you,

Ken


Answers:
author: Clark Everson
body: Hi [kmurray@digitalguardian.com](/t5/user/viewprofilepage/user-id/3580314)

Unless this has changed since I last did it the short answer is you can't.

However, the long answer is you can in a way. You need to put the page you want into edit mode and then copy and paste it's layout into a space or global template. If it's just into a space, any space admin can do this. If you're entire company wants to do it, then you need to be a Confluence Admin.

Best,  
Clark

comments: author: Christal Vandecar
body: We need a way to quickly copy a number of templates from one space (personal) into a shared space. The copy / paste suggestion above isn't a good one. If you provided placeholder text in your template, it doesn't get included. You have to re-apply page labels. The description for the template has to be retyped, so basically there is a lot of rework that would have to be done.


author: Clark Everson
body: [@Christal Vandecar](/t5/user/viewprofilepage/user-id/4556984)

Welcome to community. Yes as mentioned there's no way to move them you need to recreate them.

best,

clark


author: Amod Augustin
body: I used the Copy feature on the template, it would then ask for the space to copy.

![Screen Shot 2022-11-08 at 2.16.39 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/224747i29530BAB7A73FA60/image-size/large?v=v2&px=999 "Screen Shot 2022-11-08 at 2.16.39 PM.png")

comments: author: Darren Shinkins
body: Could we have a full list of steps for this please? This looks like you're copying a page rather than a template.

Thanks


author: Vasco
body: there's a workaround this page (for server version)  
[How to migrate a space template to a global template \| Confluence \| Atlassian Documentation.](https://confluence.atlassian.com/confkb/how-to-migrate-a-space-template-to-a-global-template-966038022.html)  

You can vote in this feature here: [\[CONFSERVER-59999\] As an Admin I'd like to be able to move move a Space Template to the Global Template list - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/CONFSERVER-59999)


Tags: atl-gruland

cloud

confluence-cloud
Is it possible to show logs from scripts in Scriptrunner console without collecting them ?
Asked by ABoerio:

Hi,

I sometimes generate long lists of log statements, while debugging scripts used to extract data from spaces, pages, etc...

These are all collected in the atlassian.confluence.log, as I see.

I'm starting to define a specific logger, for later easier reading, but in some cases I'd like to not have those logs recorded at all.

Is there a way to keep seeing them in the console, without writing them in the log file?

The idea is to avoid this log file getting bigger and bigger.

Below an example code, which I'd like to modify obtaining only console viewing

```
import org.apache.log4j.Logger
import org.apache.log4j.Level

def myLog = Logger.getLogger("Testing Logger")
myLog.setLevel(Level.DEBUG)

myLog.debug("Starting ...")

//Do something

myLog.debug ("Finished.")
```

Another idea I had in mind was to actually append the log lines as strings in a simple text file to be placed where I want, instead of using the real logger, but I'd like to keep the console visualizazion.

Thanks in advance for any hint.

Ciao, Andrea


Answers:
author: WW
body: Instead of logging, you could put the "log" messages into a variable, then use "return" at the end to display the contents of the variable. They will appear in the Console's Result tab instead of the Log tab.

This would allow you to keep your "console visualization."

Each time you run the script in the Console, though, the Result tab will reset with the new results. So, be sure you really don't want to keep the results.

You can use HTML tags to format your output, too.

For example:

```
String results = "<p>Starting ...</p>"

//Do something

results += "<p>Finished.</p>"

return results
```

However, if you've got a TON of data that you're logging with one run of the script, you probably do want to somehow put the results in another format. The Console Result screen does have a limit as to how many lines it can handle before it misbehaves.


Tags: confluence-server

scriptrunner

server
How can I create tabs in Confluence Cloud?
Asked by Chris Hodgens:

I read in your documentation that your product allows tabs but I cannot see how to add these to pages.


Answers:
author: Mykenna Cepek
body: Would be helpful if you could share a link to the documentation you mentioned.

I could be wrong, but I'm pretty sure Confluence doesn't support "tabs on pages" without using an add-on app. Knowing which app you might be using would help a lot.


Tags: cloud

confluence-cloud
Adequate tree structure for documentation
Asked by flibolt:

Hello,

We have recently introduced a greater use of confluence in our organization, and I would like to know if there are any resources to organize knowledge around a SaaS software.

More specifically, I would like to find an adequate tree structure in order to facilitate the search for technical elements. For information, the purpose of this confluence is to act as an internal "Wikipedia" regarding tech issues.

Thanks  


Answers:
author: James Dellow
body: The tree structure is only one part of your information architecture in Confluence.

There isn't anything unique to Confluence about developing your tree structure, except to remember that each page title in a space must be unique.

But you should also think about how you can use labels, spaces, and content layout in your information architecture to improve the effectiveness of your knowledgebase.

You should also consider techniques like card sorting to develop your tree structure with your users, rather than making up or copying a tree structure from someone else.

See <https://www.nngroup.com/articles/card-sorting-definition/>


Tags: cloud

content
Custom formatting of Jira issues in Confluence
Asked by Robin Silander:

We currently use the standard Jira macro for displaying selected issue fields for stakeholder and exec reporting but the limitations of the macro really restrict how we present the information.

Is there anything we can do to customise how we present this information beyond the standard 1-issue-per-row table that the macro gives you?

I'm aware of the various options for generating charts from date but we are looking for a solution for textual content such as "Next Steps" or "Path to Green" for issues that are blocking our programs.

Many Thanks


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

Check if you have the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app installed for your instance.

If you use, for example, [Pivot Table](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Pivot+Table+macro) and [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) macros along with the Jira Issues macro, you'll be able to aggregate your Jira data and add manually created columns with different notes and links to the result table.

Please, [check this question](https://community.atlassian.com/t5/Confluence-questions/Can-I-dynamically-populate-the-fields-of-a-table-based-on-values/qaq-p/1505810) (the second part of the thread) - there I show how to add a new column with manually created comments to the Jira Issues macro and adapt everything to different languages.

comments: author: Robin Silander
body: That looks great [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) , thank you.

Getting this installed today and will work through the example to see if it does what we need.


author: Robin Silander
body: Got this working which is great - is there any way to combine multiple fields into the same output column so I could have say "status" and "assignee" within a single column rather than under 2 separate ones?


author: CelesteCS
body: Hi Robin,

You may use the [CelesteCS Reporting](https://marketplace.atlassian.com/apps/1229245/celestecs-reporting-for-confluence) plug-in to create a custom table on Jira issues. Here is an article on how to create the report, similar to the one you've requested: [Example: Creating report on Jira issues](https://celestecs.com/support/documentation/reporting/example-creating-report-on-jira-issues). As this plug-in uses the calculation abilities of CelesteCS Math plug-in, you may create the formulas to combine Jira issue information in the table cells or list lines in any form.

Thanks!


Tags: cloud

confluence-cloud
Archived Spaces do not appear
Asked by Marcelo Domingues:

When archiving spaces the archived spaces do not appear in the Space directory in "archived spaces" even though there should be two.


Answers:
author: Sharon Helms
body: Hi [@Marcelo Domingues](/t5/user/viewprofilepage/user-id/1617489) ,

I'm also using Confluence Cloud Standard, and this feature appears to be working for me, so I have a couple of questions:

1. Are you looking in **Spaces** \> **View all spaces** , then selecting the **Archived** filter?  

2. Do you see the spaces listed in **All spaces** , but not in **Archived** view? (that might suggest they aren't properly archiving) Or do you not see them listed at all?  

3. When you visit one of these spaces, and go to **Space Settings** \> **Overview** \> **Archive Space**, what do you see? (If the space is properly archived, you'd see the option to Restore space.)

Best wishes, Sharon


Tags: archive

cloud

confluence-cloud

space
Table Transformer - Remove Text from a table cell
Asked by Craig Buchanan:

Hi,

I am looking for help to remove text from within a cell to allow for a function to be performed

As an example

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

trying to convert to be:

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

This will allow multiplication by set values to return the sale price in a separate column


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

You may try the following SQL query to split your text cell by the space symbol between the quantity number and the item name:

SELECT T1.'Produce'-\>split(" ")-\>0 AS 'Quantity',  
T1.'Produce'-\>split(" ")-\>1 AS 'Produce'  
FROM T\*

comments: author: Craig Buchanan
body: Brilliant! Thank you so much


Tags: confluence-cloud
Reminders of team calendar not working properly
Asked by Rahul Savaikar:

When I click the three dots in front of the category name, I see the "Turn on reminders" in the context menu. Then I click on it to enable the reminders. The context menu text changes to "Turn off reminders", apparently meaning that the reminders for that event type are now enabled.

However if I refresh the page now and open the context menu for that event type, I see the "Turn on reminders" again. So, I can't figure out if the reminders are actually on or off.


Answers:
author: jason.byers
body: having the same issue, did you find a solution?

comments: author: Rahul Savaikar
body: No, I raised a request with the support, and they informed that this is a bug. Haven't received any response since then.


Tags: confluence-server

server

team-calendars-for-confluence
How do you use Label? Best Practices
Asked by Dominique:

Hi!

I am the admin of our confluence. We are fairly new to confluence (3 month) and I know it will be good to have a concept for labels. I understand that, in the long run, it will be helpful to have labels to all our pages. We will have a meeting to agree on basic things like notation or how to connect labels with two words etc.   
Question is: Have you guys tipps how to do it and to do more than that? Do you have systems? Are you using display sites, where you show content based on labels?

I am having trouble to explain the benefit of having organized labels right now.  

Thanks in advance :)


Answers:
author: Vinod Ramadoss
body: Hi Dominique,

Sharing my experience, I use certain macros to increase Label's usage effectiveness.

One such is "Content by Label macro", This is mainly to display lists of pages, attachments that matches particular label criteria, and group the related pages accordingly.

Below are few more macros for reference:

- Content report table macro: displays information about pages and blog posts with a - specified label in a table.  
- Labels list macro: lists all labels in a space alphabetically.  
- Navigation map macro: renders the list of pages associated with a specified label as a navigation map.  
- Popular labels macro: displays popular labels as a word cloud.  
- Recently used labels macro: lists labels that have been used recently.  
- Related labels macro: lists other labels associated with the label you're viewing.

comments: author: Dominique
body: Thank you for sharing :)


Tags: cloud

confluence-cloud
Using "multiexcerpt include" call via jQuery AJS
Asked by Roland:

Hello,

there is a question from my side. Maybe anybody can give me a hint or a solution.

I've created a standard Confluence page and added a HTML macro. Inside this macro a standard HTML table is generated. Works fine, so far, so good.

Now it's needed to get values from macro "multiexcerpt include" inside this own HTML code.  
Unfortunately I don't know if there is any solution using jQuery AJS or what ever.  
In this complete site it's only the HTML table, nothing else. And there must be nothing else than using own HTML / Javascript.

Is there any solution to "call" (or whatever) this kind of include macro?

Thanks for any hints!


Answers:
author: Leslie Gilbert
body: Hello Roland,

I am with Artemis Atlassian Apps an Appfire Company, who created the MultiExcerpt app which has the MultiExcerpt Include macro. What type of instance do you have, Cloud, Server, or Data Center? If it is Cloud the behavior you are trying to accomplish would not be possible. While it is possible in Server/Data Center it would be a substantial amount of work to do with js code.


Tags: ajs

jql

multi-excerpt-macro
Can you link list items to a main todo page?
Asked by Vic:

I'm looking to have a board for each project I work on. Within that board, I'll have the lists associated with that specific project. For ToDo type list items, is there a way I can link a specific link item in one board (project) to show up as a list item in another project board? The idea is to be able to focus on the specific project for ToDos but have a single board for all ToDo items across all projects.

If there's another way to do something like this with Trello I would be open to suggestions.

Thanks!


Answers:
author: Tony Pham
body: Hi Vic,

Please follow these instructions, it is quite simple and you don't need any 3rd party plugins for this:

1. Create a new board and make sure select the projects that you want to be included. If not, you can edit the filter after the board is created

2. Select Configure Board option, select Edit Filter Query option, and add the following logic:

- Project in (project A, project B, project C) AND status = "To Do" ORDER by RANK ASC

3. Select "Back to Board" to view the updated board. It should only displaying all the issues are in To Do status from those projects specified in the query.

Note: Project A, B, C should be the name of your projects

comments: author: Matthew N
body: Tony

I am not following this. Are you using a power up? What filter? Where's the configure board option?


author: Vic
body: If I'm reading this right, I think you're suggesting to not use multiple boards for projects, but use 1 board and have all of my projects in it, then filter based on project. Right? If so, that would be ok if I was able to nest lists...but seems like it's a little complicated.


author: Matthew N
body: Hi Vic

A similar question was posed by another member of the Trello Commnuity. You can see the question and my response by [clicking here](https://community.atlassian.com/t5/Trello-questions/Many-Boards-Many-To-Do-list-How-to-see-all-To-Do-list-in-one/qaq-p/733163). If you have questions or need further guidance on that, please respond on that thread so there will be a history there.

comments: author: Tony Pham
body: Hi Vic,

Please follow these instructions, it is quite simple and you don't need any 3rd party plugins for this:

1. Create a new board and make sure select the projects that you want to be included. If not, you can edit the filter after the board is created

2. Select Configure Board option, select Edit Filter Query option, and add the following logic:

- Project in (project A, project B, project C) AND status = "To Do" ORDER by RANK ASC

3. Select "Back to Board" to view the updated board. It should only displaying all the issues are in To Do status from those projects specified in the query.

Hope this help!
Has something happened to the Custom Fields Powerup?
Asked by Sarah Gathercole:

The custom fields power-up has gone wrong on my boards! I now can't add the info on each card, it just says it will change the title on all cards. I've check on a number of different boards and it's the same on all of them. Can anyone advise what's happened / how to fix it please?


Answers:
author: Dan Lew
body: We've recently changed how custom fields work - check out this help page for details: <https://help.trello.com/article/1067-using-the-custom-fields-power-up>

comments: author: Hern?n Schmidt
body: Hi,

The new Custom Fields UI is much nicer than before. In the page you linked it says "Custom Field Data is included in both the JSON export", but I cannot find the data in a card's JSON export. It used to be in the \`plugin_data\` before, but not anymore. Only the fields that were changed BEFORE the latest update are still in \`plugin_data\`. If I create a new card and change some custom fields, then \`plugin_data\` is empty.

Where is the custom fields data stored now?

Thanks!


author: Hern?n Schmidt
body: Okay, nevermind, I found the answer :D

<https://developers.trello.com/v1.0/docs/getting-started-custom-fields>


Tags: custom-field