youngmon/atlassian-qna huggingface dataset:
How to create a limited API token
Asked by KB:

I want to use the rest api within Jira Automation.

The problem is, that I cannot add a limited local user (to create the api token from) in Jira Cloud but I do not want to add my admin credential API keys in the automation.

Is there any way to get to a limited scope API credentials or have the automation user do this somewhat "locally"?


Answers:
author: David Bakkers
body: Hello [@KB](/t5/user/viewprofilepage/user-id/5066870)

Nope. Tokens are just representations of user accounts. Whatever privileges the user account has, then their token has the same privileges.

comments: author: KB
body: Thanks. Given I cannot create new local users in Jira Cloud, does that mean, best practice is to create a dummy user in the IDP for this?


author: David Bakkers
body: I don't know what an 'IDP' is, but basically, yes, use a dummy / universal account.

Give the user account a really obvious name like 'AutomationAgent' so that people will immediately know it's not a human doing the activities and you can find and differentiate all the activities of that account in the activity logs.


author: Oliver Siebenmarck _Polymetis Apps_
body: Hi [@KB](/t5/user/viewprofilepage/user-id/5066870) ,

As [@David Bakkers](/t5/user/viewprofilepage/user-id/1575730) the API Tokens that you can create for Atlassian's Cloud products always have the same identity and permissions as the user who creates them. Within the base product, there is no other way to do this.

If you are open to using an app from the Marketplace, there is another option. The two apps [API Key Manager for Jira](https://marketplace.atlassian.com/apps/1228630/api-key-manager-for-jira?hosting=cloud&tab=overview&utm_source=cac&utm_medium=answer) and [API Key Manager for Confluence](https://marketplace.atlassian.com/apps/1229836/api-key-manager-for-confluence?hosting=cloud&tab=overview&utm_source=cac&utm_medium=answer) allow you to create time-limited and scoped API keys. For example, the create an API key that is allowed to create issues only in one project, that cannot read anything and that expires after 30 days.

Now, I might be biased as I work for Polymetis Apps, the vendor behind those apps, but the scenario you describe is pretty much the reason we came up with both apps.

Hope that helps and let me know if you have any further questions,  
Oliver


Tags: api

automation

cloud

confluence-cloud

permiss
Expand-by-default for Expand Macro with Stylesheet
Asked by Loo Bo Wen:

Hi friends!

I'm looking for a solution to have all my Expand Macros in a site to be expanded as default. My customer mentioned that their users are missing out key information from not clicking on Expand Macros.

The current space also has too much populated content for me to manually remove all Expand Macros. I had previously created an Expand / Collapse All User Macro that does this on 1 click, but users are still required to click on the User Macro button first. Customer wishes to get rid of the Expand / Collapse All User Macro and change expand to be defaulted.

Understand that this will require some scripting, those anyone have any such solutions to share that I could perhaps put into the Space's Stylesheet? Is there such a solution to begin with?

Thank you so much.


Answers:
author: Matt
body: If this is on server/dc, you can add some JS to the Custom HTML section of Admin General Config.  

Add this to the "At end of the BODY" section.

```
<script>
? ? AJS.toInit(function () {
? ? ? ? AJS.$('.expand-icon').click();
? ? });
</script>
```

comments: author: Loo Bo Wen
body: Sorry for the late reply Matt and thank you!   
I think in the method you suggested, it would apply to all Expand macros in all my spaces since it's using Admin General Config; just to clarify?

I tested your solution on a page using the HTML macro and it worked (Hurray!)

However, I did hope that it could be done on a Space level, I used your HTML on Settings \> Space Stylesheet but it didn't work; only in using HTML macro within a page did.

Do you happen to be also experience the same thing? :)


author: Matt
body: The space stylesheet will only allow for CSS which is why the first solution won't work, that's making use of JS.   

This can be accomplished using the space's stylesheet with this code:

```
.expand-hidden { display:inline-block; opacity:1;} 
```

I'd like to warn that this is basically a hack and will change how the expand/collapse functionality works. In order to then have the section collapse a user will have to click it twice. This is because we're doing the expand with CSS so when a user clicks on the link to collapse the JS will first execute the expand command (which we've already done with the CSS) and then again to actually collapse the section. It's a hack but should accomplish what you want.


Tags: confluence-server

server
Can I do in-app editing of documents I uploaded to confluence ?
Asked by Dash Alvarez:

We are trying to move our files from Sharepoint to Confluence but one of our concern is we can't do in-app editing or live collaboration of files we uploaded in confluence. Is there a way we can do it ? or the only way is for us to download it and reupload it once we're done ?


Answers:
author: Alexandre Mendes _ikuTeam_
body: Hi [@Dash Alvarez](/t5/user/viewprofilepage/user-id/5217748)

Here is Alexandre from ikuTeam, an Atlassian marketplace partner, and I'd like to suggest you try our app: **[Microsoft SharePoint \& OneDrive for](https://marketplace.atlassian.com/apps/1217864/microsoft-sharepoint-onedrive-for-confluence?hosting=cloud&tab=overview)[Confluence](https://marketplace.atlassian.com/apps/1217864/microsoft-sharepoint-onedrive-for-confluence?hosting=cloud&tab=overview)**, which allows to connect files and folders to Confluence pages and one-click editing Office 365 documents.

Hope this helps and if you need any assistance, just let me know.


author: Andrii Maliuta
body: Hello [@Dash Alvarez](/t5/user/viewprofilepage/user-id/5217748) !

Usually, the very idea of COnfluence is to use pages/spaces as the document itself, so you get "virtual" representation of documents where you can use all dynamic stuff ike macros/addons to build real-time documentation system with exports/imports , collaborative editing etc.

Using Confluence as files storage may be not the best solution.

So it can be better to try architecture the migration of documents as converted into Confluence format and use benefits of it :)


Tags: cloud

confluence-cloud
How do you copy and flatten a smart multi-row field into a new form?
Asked by Benjamin Rios:

Hi I am running into an issue where I am trying to flatten a smart multi-row field into another form field using an IFTTT macro.

Within the ifttt macro I am choosing to flatten fields however, when I trigger the event only the last entry of my smart multi row is being copied over.

I am currently using the following syntax:

smartField=\[entry.multiRow.transform(fieldToPass).asList\]

Say the \[fiedToPass\] is a field within the \[multiRow\] Multi-Row, \[fieldToPass\] has 4 entries but only the last entry gets printed.

I was expecting 4 new records to be created when the IFTTT macro was triggered, but at the moment only 1 new record gets copied over.

The newly copied record is the last entry of \[fieldToPass\]

Is there something I am missing or not understanding correctly?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Benjamin Rios](/t5/user/viewprofilepage/user-id/5009703)

I would approach something like this a bit differently

As smart field values are nothing else but the links to other records then it makes sense to work on the "source form"

Basically I would use this IFTTT type <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-CopyConfiFormsData>

And copy data that is filtered by "multi-row values" from the source form to the form where I need them

Nothing to flatten...

So, the filter to apply on dataset before copying would be something like this

```
id:[entry.mymultirow.transform(id).join( OR id:)]
```

Alex


Tags: confiforms
Only frontpage on mobile device
Asked by Kenneth Karlsson:

Maybe I am missing the obvious here, but we created our WIKI on Confluence, and on a computer browsing works as expected, the site shows the page menu on the left and content on the right. However when we visit with a mobile phone web browser, we only see to the frontpage - and no page menu. Is there somekind of settings i need to enable to make it available on mobile devices ?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Kenneth Karlsson](/t5/user/viewprofilepage/user-id/1540432)

The page menu (page tree) can be viewed by clicking on the hyperlink above the page title. On mobile you don't have all the functionalities you do while browsing via the web.


Tags: cloud

confluence-cloud
We are unable to export the PDF in Colour
Asked by Rajat Chopra:

Hi Guys,

We are currently using Confluence and unable to export the PDF in colour. Everytime we export the colour page into PDF it suddenly goes as black and white.

Whats the best way ro sort this out? Any Leads will be helpful.

Thank you all

Rajat


Answers:
author: Kafil Jamadar
body: Hello [@Rajat Chopra](/t5/user/viewprofilepage/user-id/4290996) ,

I understand that you're experiencing difficulties with the export function in Confluence. I may have a solution that can help.

The[miniOrange Page Exporter](https://marketplace.atlassian.com/apps/1229213/pdf-and-word-exporter-for-confluence-cloud?hosting=cloud&tab=overview) has additional features that could be helpful, including exporting Confluence pages into PDF, Word, or HTML format, sharing documents via email or Google Drive, selecting which fields to export, adding custom header/footer and watermark, and more.

We are confident that the miniOrange Page Exporter could meet your needs and offer a free version for up to 10 users. If you're interested, please don't hesitate to contact us at [atlassiansupport@xecurify.com](mailto:atlassiansupport@xecurify.com) to schedule a free demo.

Thank you for considering our solution.

Best regards,  
Kafil


author: Fabio Racobaldo _Herzum_
body: Hi [@Rajat Chopra](/t5/user/viewprofilepage/user-id/4290996) ,

it's weird to hear that. Please could you specify what colored items are not exported in a correct way? I have not this issue on my cloud instance.

Moreover could you check if your space has a specific pdf export css defined (<https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/>)?

Fabio


Tags: cloud

confluence-cloud
How do you change the position of images in a panel and move it to the center?
Asked by RuchiSharma:

I have created a panel and added an image, but i want to move it to the center. Currently left aligned. How do I do this?


Answers:
author: Kishan Sharma
body: Hi [@RuchiSharma](/t5/user/viewprofilepage/user-id/5217340)

Welcome to the Atlassian Community!  

Currently it is not possible to paste an image inside panel macro in Confluence's new editor. Refer - [Images inside info panel macro](https://jira.atlassian.com/browse/CONFCLOUD-70993)   

Could you please confirm which panel are you using or provide a screenshot ? I can try replicating it.


Tags: cloud

confluence-cloud
Is there a way to add or change the thumbnail of entire confluence
Asked by Felipe Alves:

I want to add/change or retrieve the "filestore.thumbnail" or the metadata of thumbnail of a page, is that possible ?  
![image.png](/t5/image/serverpage/image-id/256781i52D0ED19B03D899B/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Brant Schroeder
body: [@Felipe Alves](/t5/user/viewprofilepage/user-id/5214303) Welcome to the Atlassian community

Were you able to get an answer to your question?

comments: author: Felipe Alves
body: Unfortunately no. I tried to add an image to use as a thumbnail in all the ways available directly in the confluence. But I wasn't able to achieve the image through "metadata" attribute.

I would be very grateful if you help me out in any way.


author: Brant Schroeder
body: [@Felipe Alves](/t5/user/viewprofilepage/user-id/5214303) I looked into it but was not able to figure it out so I was hoping you had the answer.


author: Felipe Alves
body: Still haven't been able to find a solution to it. ?


Tags: cloud

confluence-cloud

thumbnail
How can I add a spinner to a page or a macro
Asked by Qi_Zhang:

I have a relatively large confluence page. And it takes about 10-15 seconds to load and display all macros/components.

How can I add spinner to the entire page, or maybe to individual macros so people know the page is still loading?


Answers:
author: Matt
body: One possible solution (only applicable to Server/Data Center) is to add an HTML macro to the page and use JS/CSS/HTML.

CSS to hide the main page body while it loads, then some JS to show a loader and set a timeout of 5 seconds before removing the loader and displaying the page. You can adjust that time depending on how long the page actually takes to load.

```
<style> 
#main-content { display:none } 
#loading { display: flex; flex-direction: column; align-items: center; justify-content: center; } 
#loading aui-spinner { margin: 1em; } 
.custom-card-style { border-radius: 3px; box-shadow: 0 1px 1px rgba(9, 30, 66, 0.25), 0 0 1px 0 rgba(9, 30, 66, 0.31); margin: 0 auto; padding: 10px; width: 20em; } 
</style> 

<script> 
AJS.toInit(function () {
AJS.$('#main-content').before('<div id="loading" class="custom-card-style"><p>Loading page...</p><aui-spinner size="large"></aui-spinner></div>'); 
setTimeout(function(){ AJS.$('#loading').remove(); AJS.$('#main-content').show(); } ,5000) 
}); 
</script> 
```

Place the HTML macro as the 1st macro in the page. Just be aware that it will be displayed in full when editing the page.   

More details regarding spinners \& AUI:  
<https://aui.atlassian.com/aui/latest/docs/spinner.html>

comments: author: Qi_Zhang
body: Thank you so much. This is really helpful! Thank you


Tags: confluence-server

server
Release Date for Confluence DC LTS 7.19.9?
Asked by Matt:

We were planning on upgrading our DC instance to 7.19.9 next week (5/18/23) until we found this bug - [\[CONFSERVER-82741\] Variables in user macro are not resolved - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/CONFSERVER-82741)

Any timeline for the release of the 7.19.9 patch so I can set expectations accordingly?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Matt](/t5/user/viewprofilepage/user-id/2006978) ,

unfrotunately we have not information about Atlassian release plan. My suggestion is to reach the atlassian support <https://support.atlassian.com/contact>

Fabio


author: Matt
body: It's here! Woot Woot!

[Issues resolved in 7.19.9 \| Confluence Data Center and Server 8.2 \| Atlassian Documentation](https://confluence.atlassian.com/doc/issues-resolved-in-7-19-9-1236440851.html)


Tags: confluence-data-center

confluence-server

server
Adding and editing an Excel tables
Asked by Artur:

Hello,  
It is possible to add tables in the Office Excel Macro and edit them or they are added as a picture  

Thanks in advance!  


Answers:
author: Brant Schroeder
body: [@Artur](/t5/user/viewprofilepage/user-id/5140203) Welcome to the Atlassian community

The excel file will be display only and not editable through this macro. There are apps in the marketplace that provide edit access. [https://marketplace.atlassian.com/search?hosting=cloud\&product=confluence\&query=excel](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=excel)


author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Artur](/t5/user/viewprofilepage/user-id/249434),  

You may also try our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app and its [Table Spreadsheet](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-spreadsheet-macro-83100938.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro.  

You'll be able to import your existing file in .xlsx and .csv formats and continue to work with it right in Confluence (using cell formulas, conditional formatting, pivot tables, charts, etc.).  

Maybe you are interested in a [live demo](https://calendly.com/tablefilter/live-demo?month=2023-06)? We'll be happy to organize it for you and your team.


author: Artur
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)Great  

Many thanks!


Tags: cloud

confluence-cloud

filter

table

table-filter

table-filter-and-charts

table-spreadsheet
Add Approval feature does not notify approvers. What am I doing wrong?
Asked by Lauren Pennisi:

From a Confluence page, I click Add Approval. Then Request approval. I completed the required Approvers field yet my approvers are not notified that there is a page they need to approve. What am I missing? I cannot find any documentation about how this app works either, which is super frustrating.

![Add Approval.png](https://community.atlassian.com/t5/image/serverpage/image-id/256665i0761B482BCCD8644/image-size/large?v=v2&px=999 "Add Approval.png")![Send approver msg.png](https://community.atlassian.com/t5/image/serverpage/image-id/256671iD853274273EDFCE4/image-size/large?v=v2&px=999 "Send approver msg.png")


Answers:
author: Lauren Pennisi
body: After a session with Craig and his team, the problem was my approvers did not have their user settings to receive email notifications. From a user's avatar, click it to display the dropdown menu. Click Settings. Click Approvals. Ensure the Receive Email Notifications toggle is active.  


author: Parsa Shiva
body: Hello [@Lauren Pennisi](/t5/user/viewprofilepage/user-id/591381)

If I may suggest, you could give [Approval Path for Confluence](https://marketplace.atlassian.com/apps/1226381/approval-path-for-confluence?tab=overview) a try. We notify users.   

Best,  
Parsa


author: Alex Koxaras _Relational_
body: Hi [@Lauren Pennisi](/t5/user/viewprofilepage/user-id/591381)

Which app do you use for approvals?

comments: author: Lauren Pennisi
body: ![Confluence approval app.png](https://community.atlassian.com/t5/image/serverpage/image-id/257074i92190B3918E1A4E1/image-size/large?v=v2&px=999 "Confluence approval app.png")


author: Lauren Pennisi
body: I am trying to use the Approvals app with Confluence space. Not using the macro.


author: Craig Willson (AppFox)
body: Hi [@Lauren Pennisi](/t5/user/viewprofilepage/user-id/591381)

I'm part of the team behind the Approvals for Confluence app you are using and I'm sorry to hear you are experiencing a few issues.

Based on the screenshot shared above, your approvers should receive email notifications informing them a page is waiting for their review. Since this is not happening, our support team would like to investigate this in more detail so we get the notifications working for you.

Please could you open a support ticket with us here - - <https://appfox.atlassian.net/servicedesk/customer/portal/3> and we'll be able to get to the bottom of the problem.

Kind regards,

Craig


author: Lauren Pennisi
body: Hi Craig,

I was on vacation so there was a delay in submitting a ticket. See SD-2451.


author: Craig Willson (AppFox)
body: Hi Lauren,

I hope you had a great time on vacation, and thanks for raising a ticket with us. A member of our Support team will be in contact today to investigate this further and work towards resolving the problem.


Tags: cloud

confluence-cloud
View File Macro (Excel) - specifying first column or first row
Asked by Claudia Dufour:

I see that there's a way to limit the cells to the last column and row. Is there a similar feature for specifying the first column/row?

If I want to display C5:H10, is there a way to skip A:B \& rows 1-4?

It would also be great to have multiple ranges shown together, such as C5:H10 \& K3:L20.


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Claudia Dufour](/t5/user/viewprofilepage/user-id/5217165),  

If it happens so that you have our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=datacenter&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app installed, you may use our new macro -- [Table Spreadsheet Include](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-spreadsheet-include-129895787.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111).  

The first step is to import your existing Excel file to the [Table Spreadsheet](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-spreadsheet-macro-83100938.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro or insert a new Table Spreadsheet macro and add your data, cells' formulas, etc. from scratch.  

The second step is to use the Table Spreadsheet Include macro to present your data in a neat way. The macro allows you to choose the source page, source spreadsheet, source sheet within this spreadsheet and **to manually choose the cells' range** that you want to reuse/display (even one cell can be reused without any additional empty cells).  

The Table Spreadsheet Include macro can be also wrapped into Table Filter, Chart from Table and other macros for further processing.

comments: author: Claudia Dufour
body: That app is not available for me to download on our current version of confluence server. IT blocked most of the apps for "security" reasons, so I have had to find less convenient work arounds. If you have a wiki markup work around for the viewxls macro, that would be ideal.


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts

table-spreadsheet

table-spreadsheet-include