youngmon/atlassian-qna huggingface dataset:
Connecting to Confluence with API key and ConfluencePS
Asked by Brendan:

I am trying to connect to my company's confluence space by using the ConfluencePS but I cannot seem to authenticate my account.

I have created an PAT on both Atlassian.net and directly on the Data Center that Confluence is hosted on. Neither seem to work.

The URI is set up in the format "<https://confl.CompanyName.com>".

The code I am using to attempt to connect is shown below.

*** ** * ** ***

Import-Module ConfluencePS  
$Username = 'first.last@mycompany.com'  
$Password = 'full_token_string' \| ConvertTo-SecureString -AsPlainText -Force

$Credentials = New-Object System.Management.Automation.PsCredential($Username,$Password)

Set-ConfluenceInfo -BaseURI '<https://confl.CompanyName.com>' -Credential $Credentials

Get-ConfluenceSpace -SpaceKey '####'

*** ** * ** ***

When this runs, I receive back a 401: UNAUTHORIZED error

I've also tried for the password, the token name, the Atlassian token, the password to my account, the token on the data center. I can't seem to find what is expecting.

Can ConfluencePS work on Data Center based Confluence pages? How can I go about using this?


Answers:
author: Andrii Maliuta
body: [@Brendan](/t5/user/viewprofilepage/user-id/5150310) ,

You can try first if Authentication works using other method like CURL or HTTPIE or Postman, etc. just to be sure that the user/password and the encoded password work. For authentication you can use headers as { "Authentication": "Basic {base64encodedPassword}"}.

Powershell simple GET to check auth:

    $cred = Get-CredentialInvoke-WebRequest -Uri 'https://confl.companyname.com/' -Credential $cred

```
Invoke-WebRequest -Method Get -Uri 'https://confl.companyname.com/ -Authentication Basic 
```

other clis:

```
https -a user:pass https://confl.CompanyName.com/rest/api/content

curl -X user:pass https://confl.CompanyName.com/rest/api/content

https -a user:pass https://confl.CompanyName.com/rest/api/content
```

comments: author: Brendan
body: Thanks for the answer, it seems like I am able to reach the API when using the Invoke-WebRequest or curl methods but when I try to do anything with the ConfluencePS module, I still am seeing the 401 error. Image attached for reference.

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


author: Andrii Maliuta
body: [@Brendan](/t5/user/viewprofilepage/user-id/5150310) ,

It needs more deep debugging of what is the cause in code. Maybe it would be better to contact the team of ConfuencePS:

<https://atlassianps.org/module/ConfluencePS/>

<https://atlassianps.org/slack>


author: Brendan
body: Thanks for all the help. I have posted within there. If I find an answer I will be sure to post it here.


author: Tom Cappellino
body: Any luck?


Tags: automation

confluence-server

login

powershell

server
Live Status filter to work on Excel macro based Table
Asked by Amaresh pati:

1. on a new confluence page,  
   I have used Excel macro to get the excel file. After using this macro i can see the excel table in confluence. Also one of the column name is Status and have Status values for various rows as Open, Closed,etc
2. Next i wanted to use Live Status drop down filter with different Status option Such as Open, Closed, etc.
3. Now i am stuck and while trying to select the dropdown Option from Live Status drop down filter, it does not work on the Excel table displayed( embedded in Excel Macro)

any suggestions, how could i be successful for Step 3. Appreciate your prompt response.

Thanks!


Answers:
author: Stiltsoft support
body: Hi [@Amaresh pati](/t5/user/viewprofilepage/user-id/4127914) ,

We can suggest searching for some apps that can enhance your experience with Excel files on the Atlassian Marketplace.

For example, our add-on that is [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) provides the [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 xlsx/csv file into Confluence and continue to work with it right on a Confluence page from the page view/edit mode using all the basic Excel functions (cell formulas, data verification (cell dropdowns), filtration, conditional formatting, etc.).


author: Amaresh pati
body: Hi, thanks for your reply.

However my question is very specific about how to connect

"Live Status Macro" with " Excel Macro". So that on changing the Status from Live Status drop down should filter the Excel table derived from Excel Macro which has Status as one of the column.

please let me know if its possible to link the above said macro to work together.


Tags: filter

table

table-filter

table-filter-and-charts

table-spreadsheet
We are at 7.13.18 and looks like the current version is 9.6. Can we and should we upgrade?
Asked by BILL SCHWARTZ:

Our license is good from another 3 months, but not sure if we need to upgrade or even if we can upgrade from 7.13 to current.


Answers:
author: Nic Brough -Adaptavist-
body: I would always recommend going to the latest long-term-support version, 7.19 at the moment.

I am guessing you were looking at Jira when you found 9.6 though, not Confluence?

Also, with a Server licence, you can upgrade to any version released before the end of your licence, so if you were to jump to 7.19 now, and Atlassian made 8.2 the next LTS by the middle of May, you can still go to that.

If they then made 8.5 the LTS in July, you're stuck on 8.2 unless you renew your licence until Feb 2024, when all support ends for Server.


author: Robert Wen_ReleaseTEAM_
body: Hello [@BILL SCHWARTZ](/t5/user/viewprofilepage/user-id/4450457) !

If your license is current, you should upgrade at least to 7.19 (latest version of LTS). I don't know how much longer 7.13 will be supported as a long-term release.


author: Florian Bonniec
body: Hi [@BILL SCHWARTZ](/t5/user/viewprofilepage/user-id/4450457)

Latest version of Confluence is 8.1

<https://confluence.atlassian.com/doc/confluence-release-notes-327.html>

Also have a look to the upgrade path before upgrading, you should also check app compatibility and update path.

<https://confluence.atlassian.com/doc/confluence-upgrade-matrix-960695895.html>

Regards


Tags: confluence-server

server

upgrade
How can I link to a tab from a Table of contents link?
Asked by Greg Woods:

Does anyone have an update to this question originally asked here?

It would make such a difference to my wiki.

Thanks

Greg

PS. Or suggest a workaround???

[https://community.atlassian.com/t5/Confluence-questions/Link-ToC-to-headings-under-different-tabs/qaq-p/1245705?utm_source=dm\&utm_medium=unpaid-social\&utm_campaign=P:online\*O:community\*I:social_share\*](https://community.atlassian.com/t5/Confluence-questions/Link-ToC-to-headings-under-different-tabs/qaq-p/1245705?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*)


Answers:
author: Dominic Lagger
body: Hi

It seems, that there is a third party app involed. So please contact the app creator and ask there for a solution. The ToC macro works without this app perfectly. :)

Regards, Dominic


Tags: cloud

confluence-cloud

table-of-contents
Nested numbering structure for requirements
Asked by Nousheen Khan-Memon:

Hi,

I am new to Confluence and I am trying to add requirements (SysRS/SSS) to a page I created, however I need a nested numbering structure like below.

Also, I do not see where there is a default requirements template in confluence, which automates requirements numbering (REQ-001, REQ-002) as I saw mentioned in another question.

Numbering Structure:

1.0 This a concept

1.1 This a specific requirement about that concept

1.2 This is another specific requirement about that concept

2.0 This is a different concept.

Any help is appreciated!


Answers:
author: Nic Brough -Adaptavist-
body: As [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) - no native function.

There are [three apps in the marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=numbered%20headings) though (and one of them is from Adaptavist, so yes, blatant plug for it!)


author: Brant Schroeder
body: [@Nousheen Khan-Memon](/t5/user/viewprofilepage/user-id/5147867) Welcome to the Atlassian community

There appear to be many 3rd party add-ons that could help with this on Server, but there is not currently an option for Cloud.

I did find the following feature request, however:

* [CONFCLOUD-22704](https://jira.atlassian.com/browse/CONFCLOUD-22704)

I do recommend that you vote on that issue to help show the requirement, as well as comment on it with your use case to help better understand how we can develop it for your needs, should we choose to implement this feature. You may also want to watch the ticket in order to be updated if there is any progress.


Tags: cloud

confluence-cloud

numbered-heading

requirement
How can i find the best knower to a certain keyword in a confluence Project?
Asked by Daniel Neff:

We often have the problem that we don't know who has the best know-how in the team for a certain keyword.  
Is there a way to search for keywords and get the creators or editors of a page?


Answers:
author: Craig Nodwell
body: Hi [@Daniel Neff](/t5/user/viewprofilepage/user-id/5150169) welcome to the community. Yes you can do keyword searches in Confluence. Here's a [page](https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/) for your review.  
Hope this helps.

comments: author: Craig Nodwell
body: Here's another [post](https://community.atlassian.com/t5/Confluence-articles/Useful-CQL-statements-to-search-what-you-need-in-Confluence/ba-p/1769849) about this you might find handy as well.


Tags: confluence-server

server
/variable option is unavailable
Asked by Micha? Kuku?:

Hi, I read <https://confluence.atlassian.com/doc/create-a-template-296093779.html#CreateaTemplate-Templatevariables> and I tried following the instruction but to be honest I can't see how to add a variable to my template.

When I write /variable nothing happens/shows. There is no problem with the placeholder (attachment), but I can't find /variable on the list of possible elements to add.

Do you know why I can't use that option?

![Zrzut ekranu 2023-02-17 o 16.37.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/240992i81B397E0A07A5CCA/image-dimensions/310x231?v=v2 "Zrzut ekranu 2023-02-17 o 16.37.50.png")![Zrzut ekranu 2023-02-17 o 16.37.31.png](https://community.atlassian.com/t5/image/serverpage/image-id/240993i731C0A3AFCD30398/image-dimensions/334x249?v=v2 "Zrzut ekranu 2023-02-17 o 16.37.31.png")![Zrzut ekranu 2023-02-17 o 16.37.21.png](https://community.atlassian.com/t5/image/serverpage/image-id/240994i4EF3395BBD16A4F4/image-dimensions/332x247?v=v2 "Zrzut ekranu 2023-02-17 o 16.37.21.png")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Micha? Kuku?](/t5/user/viewprofilepage/user-id/3724987) ,

When you say template, did you try to create a space or a global template? The variable macro is only available there. If you e.g. try to create a normal page that would act as a template, then yes, you will not find the variable macro there. Read more about space templates herehttps://support.atlassian.com/confluence-cloud/docs/create-a-template/ and about global templates here <https://support.atlassian.com/confluence-cloud/docs/create-a-global-template/>

comments: author: Micha? Kuku?
body: Hi [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) ,

Quite strange - I tried both (more attempts with the space templates). Today, suddenly, in both cases, it's working :)

I believe it could be my mistake with the language. We use polish Jira but I thought that the names of features can be used in English too (like in other places). Especially as in the case of "/placeholder", I did not have to enter "/tekst zast?pczy" to find it. I'm almost sure I also typed "/variable" as "/zmienna", and it didn't find it, but now it works. Maybe Jira fixed it, or maybe Friday afternoon affected my focus :)

Anyway, thanks for the reply, and glad it's working.


Tags: cloud

confluence-cloud

variable
Navigate to Confiform Entry
Asked by Chris Iacovelli:

Is there a way to navigate to a specific issue in a Confiform TableView (sort of like adding an anchor to an entry or treating a data field as a navigable heading)?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

There are multiple options in this area

* <https://wiki.vertuna.com/display/CONFIFORMS/Creating+links+to+filter+views+from+request+parameters+-+url>
* <https://wiki.vertuna.com/display/CONFIFORMS/Creating+links+to+ConfiForms+Entry+Viewer+to+fire+an+action>
* <https://wiki.vertuna.com/display/TEST/Creating+links+to+specific+entry+with+ConfiForms+Entry+Viewer>
* <https://wiki.vertuna.com/display/CONFIFORMS/Creating+links+to+particular+ConfiForms+entry>

Alex


Tags: confiforms

confluence-server

server
Centralized template / page layout
Asked by William SABLE:

Hello,

Is there a way to have a template or page layout which is automatically updated on existing pages after modification of the template ?

The idea is to only have to update the template once to have it changed all over the pages that use it.

If this functionnality doesn't exist, is there a workaround?

Thank you in advance!

Kind regards


Answers:
author: Brant Schroeder
body: [@William SABLE](/t5/user/viewprofilepage/user-id/5150009) Welcome to the Atlassian marketplace

Page templates provide you with a starting point for a document. Once the page is created the template used to initially create the page will have bearing on the page content. I am not aware of any apps in the marketplace that provide this functionality.

comments: author: William SABLE
body: Hi Brant,

Unfortunately, I have quickly looked into the marketplace but didn't find anything close to what I am looking for.

Thanks for the answer anyway!

Best regards


Tags: confluence-server

server
Microsoft SharePoint & OneDrive for Confluence , Where is the App/Server hosted
Asked by Metin Kizilboga:

Hello,

i want to know Where is the App/Server hosted or located?

Warm regards,


Answers:
author: Jack Brickey
body: [Duplicate/Related](https://community.atlassian.com/t5/Confluence-questions/Team-Files-Office-365-amp-Google-Docs-for-Confluence-Where-is/qaq-p/2274001)


Tags: cloud

confluence-cloud
Deleted pages are not in the trash
Asked by Sheila L:

Two pages that I created in my personal space have been deleted and are not in the trash. I might have accidentally deleted them. However, I just looked at my trash for the first time yesterday, so I know that I didn't purge them.

Yep, I'm sure that I created them in the first place. I even linked to one of them from another page and had verified the link.

Why wouldn't a page have gone to the trash?


Answers:
author: Dave Mathijs
body: Hi [@Sheila L](/t5/user/viewprofilepage/user-id/4990833)

Were those pages actually published?

When did you delete them? Is there a policy active (via ScriptRunner for example to automatically deleted trashed pages after a certain period?)

comments: author: Sheila L
body: I would have deleted them within the past two weeks.

The pages were published.

I don't think my company runs a script like that. All of the trash cans I've ever seen never appear to have been purged. Mine hasn't because I still see pages in the trash that I deleted several months ago after I first started working at the company.


Tags: confluence-server

server
removal of pages
Asked by Karolina Baran:

Hi,

I need to do the cleanup of data and remove some pages completely. Unfortunately, I don't have access. Can you please help me to understand how this can be done / how to get permissions for that.

Thanks,

Karolina Baran


Answers:
author: Sushant Verma
body: Hi [@Karolina Baran](/t5/user/viewprofilepage/user-id/5149922)   

Welcome to the community!  

To remove the confluence pages, you need to have space admins rights. You can get in touch with space admins, to get the required access.  

If you are space admin, you can follow this link : <https://confluence.atlassian.com/doc/delete-or-restore-a-page-139429.html>  

Regards,  
Sushant Verma

comments: author: Karolina Baran
body: Thanks Sushant,

how can I learn who's my admin and can give me access?

Thank you,

Karolina


author: Sushant Verma
body: [@Karolina Baran](/t5/user/viewprofilepage/user-id/5149922) You can get in touch with your leads or your IT team will also let you know about the admins.  

Regards,  
Sushant Verma


author: Riley Venable
body: You can request permission to delete the page by selecting the \> Delete option. If you do not have permission to delete the page, you can ask the page creator, the last person who updated the page, or a space admin to grant you permission. Space admins can also view all restricted pages in a space and recover access to a restricted page by removing all view restrictions.
Team Files: Office 365 & Google Docs for Confluence, Where is the App/Server hosted or located?
Asked by Metin Kizilboga:

Hello,

i want to know Where is the App/Server

Team Files: Office 365 \& Google Docs for Confluence {#toc-hId--493749740}
--------------------------------------------------------------------------

hosted or located?

Warm regards,

Metin


Answers:
author: Jack Brickey
body: Hi [@Metin Kizilboga](/t5/user/viewprofilepage/user-id/5149930) , what do you mean by the App/Server? Are you asking where Atlassian hosts their cloud instances? Here is some info - <https://www.atlassian.com/trust/reliability/infrastructure> on that. With premium you get localization I believe.

comments: author: Metin Kizilboga
body: Hey Jack, yes i want to know where the addon

Team Files: Office 365 \& Google Docs for Confluence {#toc-hId--493749709}
--------------------------------------------------------------------------

hosts their cloud instances?


author: Jack Brickey
body: That is an addon app and as such I suggest reaching out to the vendor support - <mailto:support@ikuteam.com>


Tags: cloud

confluence-cloud
How to hide card's thumbnail for Pipedrive Links
Asked by Gaylord Gauvrit:

Hi. When pasting a link to our Pipedrive CRM, Confluence automatically creates a card. This card provides an overview/thumbnail of the pipedrive deal with its amount. This information is confidential for some of our Confluence users so **I'm looking for a solution to hide the card's thumbnail for Pipedrive links.**

I identified two solutions :

1. Use standard links instead of cards, but users could edit the Confluence page and change the type of links to be able to view the card thumbnail. I could limit the editing of those pages to a group of users but this has to be done manually on each page.
2. Do not post any Pipedrive links on Confluence.

A better solution could be to **disable card's thumbnails for Pipedrive links**but I don't know if it's possible.

Can you help me on this? Thanks.


Answers:
author: Gaylord Gauvrit
body: Found the solution. You need to give Confluence access to your pipedrive account to be able to view the thumbnails. Revoking access remove the thumbnails, therefore, users who do not have access to Pipedrive will not see the thumbnails.


Tags: card

cloud

confluence-cloud

pipedrive
How auto-add link confluence in ticket ?
Asked by Alex:

Hi,everyone! Please tell me, how auto-add link confluence in ticket ? Maybe with scriptrunner , have solution?

Thanks.

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


Answers:
author: Craig Nodwell
body: Hi [@Alex](/t5/user/viewprofilepage/user-id/4874550) could you describe your use case a bit better please.


Tags: confluence-server

jira

server
Is it possible to implement a fix in the UI that I found?
Asked by Chacko Chacko:

While clicking on the More icon and the opened dropdown, a scrollable or different menu list should be provided. We can no longer see all of the items in the drop-down list. (Now we are required to change the screen percentage to view all items in the drop-down list.)

![Screenshot 2023-02-17 155153.png](https://community.atlassian.com/t5/image/serverpage/image-id/240907iC93A53C6608382BF/image-size/large?v=v2&px=999 "Screenshot 2023-02-17 155153.png")


Answers:
author: Ajay _view26_
body: Hi [@Chacko Chacko](/t5/user/viewprofilepage/user-id/5149823)

Welcome to the Atlassian Community ... Which page of confluence are you referring to? Can you also mention the browser \& OS versions?

It seems to be fine for me on a Mac OS / Chrome browser..

Assume you are referring to a Confluence cloud instance

Cheers

Ajay

comments: author: Chacko Chacko
body: Hi [@Ajay _view26_](/t5/user/viewprofilepage/user-id/139880) ,   

I'm using an Acer TravelMate with Windows 10 Pro (version 21H2 (OS build 19044.2486)) and Chrome Version 110.0.5481.100 (Official Build) (64-bit).  
and I'm using adlm confluence cloud instance, I think.  

Thanks.


Tags: cloud

confluence-cloud
Not able to edit pages in confluence
Asked by Nidhi Arora:

I am able to create new pages but not able to edit pages already created by other team members.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Nidhi Arora](/t5/user/viewprofilepage/user-id/5143633) and welcome,

please verify if there are some restrictions at page or parent level that limit editing.

<https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/>

Hope this helps,

Fabio


Tags: cloud

confluence-cloud
How to copy a vlaue from one forms into another forms value
Asked by Kev:

Hello

I have a Forms in confluence, which is triggering a JIRA-Item(EPIC). In JIRA we use the Summary and the EPIC-Name as equal. That means in the confluence form i have to fill out: EPIC-Name and EPIC-Summary. So i would like, that my stakeholders only needs to define the Summary and don't have to copy paste the summary into the name field.

Therefore i'm looking for a solution to make a hidden-form for the EPIC-Name and it gets the value from the EPIC-Summary. so that the stakeholder which is using my form in confluence don't have to copy paste the Summary to the Name field --\> to get rid of the Name field and it will be done automatically.

But how to copy the input from one field into the hidden field?   
Anyone? :-) Thx a lot


Answers:
author: Craig Nodwell
body: Hi [@Kev](/t5/user/viewprofilepage/user-id/5149675) welcome to the community. You must also have scriptrunner to perform this action correct? If the answer is yes then simply modify the scriptrunner script that is performing the action in the background to pull the value from EPIC-Summary into Name field.


Tags: forms

jira
??????????????????????????????
Asked by [GREE] Masayuki Kuniyoshi:

??????????????????????????????????????????????????

???????????????????????????????????????????????????????


Answers:
author: Brant Schroeder
body: [@\[GREE\] Masayuki Kuniyoshi](/t5/user/viewprofilepage/user-id/5149642) Welcome to the Atlassian community

We add labels to related content and then use the related labels macro. When we set up our spaces we will incorporate label naming conventions and ensure that these are used when creating new content to help users find it.