youngmon/atlassian-qna huggingface dataset:
How to prevent custom variable to be shown in the logs
Asked by jonathan_ghellere:

Hello Everyone,

Bitbucket pipelines give us the opportunity to create custom pipelines, in these we create some variables that will receive values entered manually by the user.

```
pipelines: 
  custom: 
    create_value: 
      - variables:  
          - name: SECRET_VALUE 
      - step:   
          script:
            - echo ok
```

This is cool. You can create a custom step that will be triggered by the user (via Run Pipeline button)and the value for the var SECRET_VALUE will then be provided by the user.

But there's a catch, the value of the variable will be printed in the logs:

    Pipeline Variables:    
          SECRET_VALUE: my_secret_word

There's any way to avoid this? I mean, to suppress the variable to be printed.

ps. The values will always vary, so the "secured variables" in the "repository variables" is out of topic here.


Answers:
author: Theodora Boudale
body: Hi Jonathan,

I'm afraid that it is not possible to hide the value of custom pipeline variables at the moment.

We have a feature request about this in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-19224>

If you'd be interested in this, I would suggest that you add your vote in the feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-pipelines

bitbucket-cloud

cloud

log
How do I edit a page properties macro in Confluence template page to include a set list?
Asked by Sarah.Harvey:

My team uses a template page in Confluence to write up documentation for completed projects. The template contains a page properties macro. Some of the values in the right column of that page properties macro are set lists. For example, when creating a new page from the template, team members select a product from a list of our product offerings. We have another page that uses the page properties report macro to list high-level details of all completed projects.

Recently the page properties table on our template broke, and team members are no longer able to edit two of the rows in the table.

Here's what the template looks like for team members. Please note, "Product Category" should be another dropdown list, but instead it is an uneditable line of text.

![Screenshot 2023-04-25 at 2.20.05 PM.png](/t5/image/serverpage/image-id/253872iE78EBD3F9AFB1080/image-size/large?v=v2&px=999 "Screenshot 2023-04-25 at 2.20.05 PM.png")

I can't figure out what is broken. The second screen shot is what the table looks like in the editor view. Everything in the page properties macro within the template page appears to be formatted in the same way. The methodology row is selected in the screenshot below, but the product category row has the same formatting when it is selected.

![Screenshot 2023-04-25 at 2.13.03 PM.png](/t5/image/serverpage/image-id/253870i7E6BBDFD6B2F7DA0/image-size/large?v=v2&px=999 "Screenshot 2023-04-25 at 2.13.03 PM.png")

I've also tried to create a new template page from scratch, but I can't figure out how to set up a predetermined list in the page properties macro on our template page.

Does anyone know either,

1) What broke and how to fix it, or

2) The specific page element I need to insert in the cells on the right to set up a new pre-determined list?


Answers:
author: Nicolai Sibler
body: Hi [@Sarah.Harvey](/t5/user/viewprofilepage/user-id/5204637) , welcome to the Community!

That's a strange behaviour you're facing here ... I guess it's probably a bug.

However, this might be worth testing before you open a support ticket:

All three rows with that issue have in common that the names of the variables contain an underline \[ _ \].  
I'd try to create new variables without the underline.

Once you added the variable, select it, choose *List* and enter the parameters, separated by commas. (Just like in your screenshot.)

How to add variables differs from Server/Data Center to Cloud. See the documentation for details:

* [Server](https://confluence.atlassian.com/doc/create-a-template-296093779.html)
* [Cloud](https://support.atlassian.com/confluence-cloud/docs/create-a-template/)

Kind regards,

Nicolai

comments: author: Sarah.Harvey
body: Thank you, Nicolai! I tried renaming the variables (no underscores this time) and it worked! Those had been in place on our template page for years, so I'm still not sure what caused them to break in the first place... but it's fixed now.

Thank you again!


Tags: page-properties-macro
Client error: Unable to contact Jira at url https://<user>.atlassian.net/wiki. Response code: 4
Asked by David Brown:

After new install of ACLI attempts to run a simple command...

--action getServerInfo --outputFormat 2

Client error: Unable to contact Jira at url https://\<user\>.atlassian.net/wiki. Response code: 4


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

is the response code 4 or 403,404 ?

Fabio


Tags: cloud

confluence-cloud
Spotting changes quickly in Page Comparison view
Asked by sridhar vaidyanathan:

I have Confluence pages with tables that have several rows. I would like to be able to spot changes that users make to these entries. When I get an email or do a version diff, I find myself having to scroll through a lot of unchanged text to finally get to the changes. The following link mentions that a lot of unchanged text gets collapsed into '...', but I don't see that happening in my case.

<br />

<https://confluence.atlassian.com/doc/page-history-and-page-comparison-views-139379.html>

Help appreciated.


Answers:
author: Ivan Lima
body: You won't see an expand/collapse feature, but only the dots, meaning the unchanged content was hidden and reduced to (...) the three dots. If it has unchanged content, not even the format highlighted in blue, then it's a bug, and you can report it to Atlassian. Have a look; sometimes the content is part of a panel, macro, etc., and it will get formatted if a small configuration changes, giving you the wrong impression that nothing really changed but did indeed.
Can you add status to a page template the same way we can add status to a page?
Asked by Rajan Kumar Sah:

I want to add status to a page template so everytime a page is created, it is automatically set to rough draft until it is changed. Also, I am not talking about Status macro. Thank you for your help.


Answers:
author: Marjorie
body: This article may help you. [Add a status to your page or blog \| Confluence Cloud \| Atlassian Support](https://support.atlassian.com/confluence-cloud/docs/add-a-status-to-your-page-or-blog/)

comments: author: Marjorie
body: A template will have the ability to add a status when you use it. However, you cannot default the status.![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/253862iE6E84B2683BECF83/image-size/large?v=v2&px=999 "image.png")


author: Rajan Kumar Sah
body: I thought so, thank you for time :)


author: Anastasia Bek _Stiltsoft_
body: Hello [@Rajan Kumar Sah](/t5/user/viewprofilepage/user-id/5204460) ,  
Thank you for your question! Based on your use case, I want to highlight our [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=status_template) app, which can be a good fit if you need to work with statuses and put them in a template. Handy Macros is a bundle with different tools; one of them is [Handy Status,](https://docs.stiltsoft.com/hmfc/cloud/handy-status/how-to-use-handy-status) which can be changed on the fly directly in the view mode on the page, and it can inserted on a page when creating a custom template. To track and indicate page status updates, we also have a [handy page status](https://docs.stiltsoft.com/hmfc/cloud/handy-page-status/how-to-use-handy-page-status) to communicate the status of the whole page to the readers, contributors, etc.   
You can try the [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=status_template) app on the Atlassian Marketplace for free to see if it serves your needs. [Our support](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Handy%20Macros%20for%20Confluence) will assist with any concerns as well.   
Have a lovely day!  
Best,  
Anastasia


Tags: cloud

confluence-cloud
Business Processes Library and Management in Confluence
Asked by Olga Kornejeva:

Hello,

contacting regarding building processes library and manage it in Confluence with/without plug-ins.

Would it be any possibility to suggested solution how business processes can be managed within Confluence with or without plug-ins (spotted 'Gliffy' diagrams solution) ?

If yes, would it be able to share please, how other companies built their processes library and managing processes through Confluence plug-ins or not using any?

Many thanks!

Best,

Olga Kornejeva

E: olga.kornejeva@inseinc.com


Answers:
author: Samie Kaufman - Your Gal at Gliffy
body: Hi Olga!

I'm happy to speak with you about how our customers manage processes with Gliffy and Confluence. I do believe a diagramming tool will greatly enhance this use case within Confluence, but someone else may have feedback or ideas otherwise. :)  

Please look for an email from me and we can set up some time to chat!  

Samie


author: Bastian -drawio Diagrams-
body: Hi Olga. If you are interested in building up a customized process library, you should definitely go with an app, as the out-of-the-box options in Confluence are limited. There are a few solutions out there. I am speaking for draw.io, which offers you the opportunity to fully customize your interface, as well as shape libraries and templates. Thanks for sharing your contact, you will find my contact in your inbox.

Bastian


Tags: addon-bpm

app

confluence-server

server
JIRA Gadget in Confluence the Epic Name displays KEY
Asked by James Gould:

Hello All,

I have a confluence page that uses the JIRA gadget to display a filtered list of tickets and the Epic Name Column displays the JIRA Key of the Epic instead of the Epic Name.

The ticket types being displayed are Stories and Bugs.

Appreciate the help.

\~Jim


Answers:
author: Trudy Claspill
body: Hello [@James Gould](/t5/user/viewprofilepage/user-id/4407296)

To display the Name of the parent epic add the field **Parent** to your columns instead.

comments: author: James Gould
body: Thank you [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

Weird it was only showing the Key of the Epic for Epic Link this morning, when I went back to the confluence page to try your solution it was working displaying the text from the Epic Name field on the Epic.

I did try your solution and it worked showing the ticket type and summary.

Appreciate the help.

\~Jim


Tags: cloud

confluence-cloud
How to use " . " (dot) in confluence label?
Asked by Gohil Jay:

Hello, I'd like to ask that how to use . in labels of confluence? In a label for example, "ab.xyz"  

Thanks and regards,  
Jay


Answers:
author: Peter Van de Voorde
body: Hi [@Gohil Jay](/t5/user/viewprofilepage/user-id/4680452) ,

Unfortunately you can't as mentioned in this ticket: <https://jira.atlassian.com/browse/CONFSERVER-6008>

I would recommend using a hyphen - instead of a . .  
So like this: "ab-xyz" .  

Cheers,  
Peter


author: Aron Gombas _Midori_
body: There are characters that are not allowed in label names, '.' is one of them, surprisingly. There is no other workaround than using a replacement character.


Tags: cloud

confluence-cloud
How can I create a form that has a simple dropdown (not tied to user IDs) using the ConfiForm macro?
Asked by Elli Adams:

When editing the form to add a dropdown, the dropdown options, "labels" have to be paired with a unique ID. I want my form to route answers to one user, not a user per option. However, when i try to repeat the ID with a different Label, it does not work. A user ID can only be used once per dropdown. How can I create a simple dropdown field on my form?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Elli Adams](/t5/user/viewprofilepage/user-id/5204304)

You need to choose own unique IDs for the options in the dropdown.

This way it will work, as it identifies a value and if you define the same IDs then this is actually the "same value". So these need to be unique.

You can pick the IDs that fit your needs the best...

Alex


Tags: confiforms

jira
Confluence Python API & confluence.get_page_as_word
Asked by Gunther Lukat:

Hi,  
I just started with using the python confluence api. However i am stuck exporting to wordfile.  

```
wordFile = confluence.get_page_as_word(page_id)

f2 = open("file.docx", "wb")

f2.write(wordFile)

f2.close()
```

A file is written but it seems like the format is wrong. I can not open it in word or user further processing on it such as using python-docx.

To me it seems like the result is not really a zip file or docx in this case.

How do i save the result from confluence.get_page_as_word as a proper docx?


Answers:
author: Nerf, Christopher
body: Hi Gunther (and other people who might have this issue):

It seems that \`get_page_as_word\` exports in the form of \`doc\` not \`docx\`.

You should be able to have a work around by changing your write line to:

```
f2 = open("file.doc", "wb")?
```


Tags: cloud

confluence-cloud

python
How to loop through multi-select fields
Asked by Ralf Weidauer:

I have two forms where one contains a multi-select field referencing the other.

Say Form1 contains two fields, pkFld (containing unique values) and valFld (some description).

Form2 contains a Smart Multi-select field refFld (with "Reference to records"-option set) which allows to select one or more pkFld-values from Form1.

Now, when creating a new record in Form2 I would like to update the valFld in Form1 for all records referenced in the refFld. (this is just an example could also be creating a new page for all records referenced in the refFld)

How would I loop through the entries in the Multi-select field and perform the desired actions?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Ralf Weidauer](/t5/user/viewprofilepage/user-id/5043462)

You can set up an Update by Filter IFTTT rule that will have a filtering expression as below

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

Alex

comments: author: Ralf Weidauer
body: Thanks a lot. I forgot about the join-function completely. Try to keep that in mind from now on.


author: Alex Medved _ConfiForms_
body: No worries :) Here to help and remind :)


Tags: confiforms

confluence-server

server
Deploying Confluence Data Center in AWS
Asked by Pavan Kumar:

While deploying Confluence to AWS, facing a trouble of getting Synchrony Node into Healthy state.

Apr 25 12:44:41 ip-XXX-XX-XXX-XXX.X-XX.com start-synchrony\[7549\]: ====== : Could not load value for JWT key; will wait for next 20 seconds before reload ======

Can some one suggest how to fix the JWT Key value to the nodes.

Regards

Pavan


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

I would suggest checking your configuration <https://confluence.atlassian.com/doc/configuring-synchrony-for-data-center-858772125.html>


Tags: confluence-server

server
show Space Analytics only for readers, not contributors
Asked by EtienneD:

Hi,

I'd like to see the "real" readers count in the Space Analytics, not the creator nor the las updater. This is just because the last updater may have made a lot of changes on a page and therefore appear as the most active reader of the page!

A workaround could be found if I could the stats only for the 'readers' group and not for the 'writers' or 'space admins' group.

How could I achieve this?

Thanks,

Etienne


Answers:
author: Mattia _bitvoodoo ag_
body: Hello Etienne,

Are you using the built-in Analytics on the Data Center version to view the Space Analytics or a 3rd party app?  
I think in the built-in version there is no possibility to make such a distinction or to exclude users from tracking. I would recommend you submit a feature request to Atlassian.

If you are using our [Viewtracker](https://marketplace.atlassian.com/apps/28637/viewtracker-analytics-for-confluence?hosting=datacenter&tab=overview) app to analyze the activity of the Spaces, I have good news for you. On the Confluence on-premise version of the app, views from the same user who just edited and published the page are not counted. The blocking time, which is responsible for e.g. views from the same user after the page changes or within the same time period can be changed as needed. It also offers the option to exclude certain users from tracking altogether. More information about these settings or other functions you can find in the [documentation.](https://bitvoodoo-apps.atlassian.net/wiki/spaces/BVVIEWTRACKER/overview)

Best regards,  
Mattia

comments: author: EtienneD
body: thanks [@Mattia _bitvoodoo ag_](/t5/user/viewprofilepage/user-id/4053360)

Indeed I access the stats via the built-in Analytics on the Data Center version to view the Space Analytics.

Your app seems to do the job, and more than expected. Thanks for bringing this to my attention.

Brest regards,

Etienne


Tags: confluence-server

server
unwanted content type with Live Search macro
Asked by EtienneD:

Hi,

I'm using the Live Search macro on a space in which some pages have PDF files attached.

When I type a search term in the Live Search search bar, I obviously get the pages with that term but also, and that's unwanted, the pdf files with that term in their filenames.

How can I avoid those files to appear in the search results?  

Thanks,

Etienne


Answers:
author: EtienneD
body: just remarked that if I select 'page' in the custom content type in the search results page, it returns only pages and no attachment.   
But if I select 'page' in the Content type to include in search in the macro definition, I get the behavior described in my first question.

However I'd like that my results would not get polluted by those filenames, right when I click on the magnifying glass.

comments: author: Steffen Burzlaff _K15t_
body: Hey [@EtienneD](/t5/user/viewprofilepage/user-id/1191612)  

Are you PDFs somewhere linked on your pages you try to search through?  
If not I'd say this is a bug in the macro I'd expect that if you select the content type "page" that it would only search through it.  

But if the PDF is linked on that page - it might be a wanted behaviour from how this macro was developed. I still wouldn't expect this to be happen, though.  

In both cases I'd reach out to [Atlassian Support](https://support.atlassian.com/confluence-server/) and report this being an issue.  

Cheers,  
Steffen


author: EtienneD
body: thanks [@Steffen Burzlaff _K15t_](/t5/user/viewprofilepage/user-id/1208678) for your answer.

Well, the PDFs are attached to the pages so they are linked to those pages, indeed.To test a little bit deeper, I found some files referenced in the search results that do not have the searched term in their filename nor in their content.

The searched term is found in the attached file although it does not appear anywhere in the page:

* not in the page's title
* not in the page's content
* not in the filename
* just in file's content.

I understand that in some cases such a behavior can be wanted, but in my case it is not.

Should I consider this a bug ?


Tags: confluence-server

server
Tracking Last Modified in One Page
Asked by AC S:

Hello community,

I have created a page to act as a single point of reference for aspects of other pages - the Excerpt macro and Include Excerpt have been really useful. The part I'm struggling to find an answer on is how I capture the "Last Modified" value of all the other pages to capture in this single point of reference page I'm creating.

Would anyone be able to offer any tips? Appreciate any help you can give!

Example (where the "page custodian" is captured via Include Excerpt macro):

**Page Name - Page Custodian - Last Modified**

Guide to Apples - John Smith - 25-04-2023

Guide to Pears - Jane Smythe - 13-04-2023

Guide to Grapes - Jimmy Jones - 02-02-2023


Answers:
author: Nicolai Sibler
body: I see. This requirement is quite challenging as this is to create an overview that consists of Confluence and non-Confluence data.

To create this overview with on-board means is beyond my imagination. Plugins could do the job though:

* The Table Filter plugin allows tables generated by macros to be merged and filtered with manual (Confluence) tables. For example, the column with the page creator could be hidden from the Content Report Table and instead the column with the page custodian could be maintained manually.
* The ScriptRunner plugin includes the Page Information macro, which can be used to display metadata such as the last modified date of a defined page on other pages.

If one of the two plugins is installed in your instance, I'd be happy to help with the specific implementation.


author: Nicolai Sibler
body: Hi [@AC S](/t5/user/viewprofilepage/user-id/5204142) , welcome to the Community!

There two different macros worth looking at - depending on if "Page Custodian" is the creator of the page or the user that last modified the page.   
Either way you'd add labels to the pages with the Excerpt macros to identify the pages you're referring to:

* [Content report table macro](https://confluence.atlassian.com/doc/content-report-table-macro-317194676.html) creates a nice table displayling the creator.
* [Recently updated macro](https://confluence.atlassian.com/doc/recently-updated-macro-139519.html) presents a list of updates displaying the user that last modified.   
  It's actually a timeline and in this use case works best if the pages in question are updated in approximately the same frequency.

Hope that helps!

Kind regards,

Nicolai

comments: author: AC S
body: Thanks Nicolai, I'll take a look into those, appreciate you taking the time to respond.

The creator of the page will just be a functional account - ultimately the idea is I will have a library of guides on how to do something with a nominated member of a team being the custodian of the page for each guide. The guides will be constantly changing on an almost daily basis.

Subsequently I want one page where I can see for each guide who the custodian is (which will change based on people leaving or joining the team), and when the page was last modified. That way we can keep track of how up to date all of the guides are and the person responsible for maintaining them, all in one place,


Tags: server